Commit Graph

14 Commits

Author SHA1 Message Date
Mya Pitzeruse 3a545d7125
decrease check frequency 2022-12-21 09:47:08 -06:00
Mya Pitzeruse 29de39b130
feat(multisite): supports multiple tenants to a single deployment instance
This change adds support for managing multiple sites from a single deployment
of the pages application. Routes are configured using a configuration file
rather than looking for CNAMEs in all the associated repositories. For an
example configuration, see examples/multisite/pages.toml.

Resolves #4
2022-10-25 10:19:29 -05:00
Mya Pitzeruse 16e60f38f7
feat: support custom go modules by peaking at the request path when the go-get query parameter is sent 2022-10-20 12:21:48 -05:00
Mya Pitzeruse 4ed75d2c7e
feat: periodically reload underlying repository 2022-10-06 12:04:39 -05:00
Mya Pitzeruse f71c1e5c5a
fix: use new upstream address 2022-07-02 22:01:26 -05:00
Mya Pitzeruse 3660452152
feat(multi-tenant): add metric support for multiple domains 2022-07-02 11:09:02 -05:00
Mya Pitzeruse e20dc64d0d
fix(git): back by disk and fix synchronization
Resolves https://github.com/mjpitz/pages/issues/12
Resolves https://github.com/mjpitz/pages/issues/11
Resolves https://github.com/mjpitz/pages/issues/10
2022-06-29 22:46:44 -05:00
Mya Pitzeruse f8db96c717
fix(session): conditionally bind handler and log errors 2022-06-10 10:21:48 -05:00
Mya Pitzeruse 2c7aea4654
fix: small bugfixes based on my experience migrating my site 2022-06-09 15:00:23 -05:00
Mya Pitzeruse 658a4016fb
fix: add additional mimetypes 2022-06-09 13:45:37 -05:00
Mya Pitzeruse b07bbea0aa
feat(geoip): support maxmind
This change adds maxmind support for translating client IP addresses
to their country of origin. We decorate our metrics with this country
code to improve our understanding of users.

Resolves https://github.com/mjpitz/pages/issues/3
2022-06-09 10:49:55 -05:00
Mya Pitzeruse 5b1ee690f9
feat(session): track active sessions
This changes adds a prometheus guage that can be used to approximate
the number of sessions for a given page or country.
2022-06-08 11:16:34 -05:00
Mya Pitzeruse 02d115f682
feat(session): support session tracking
This change refactors a handful of components to make them reusable
across pageview and session tracking endpoints.

Resolves https://github.com/mjpitz/pages/issues/2
2022-06-08 10:55:21 -05:00
Mya Pitzeruse 05d1842c95
feat: minimal proof of concept 2022-06-03 17:54:25 -05:00