Danny van Kooten
|
20f79b5b97
|
Merge pull request #113 from ViBiOh/adding_csp_directives
Adding CSP directives in README
|
2018-08-27 09:23:25 +02:00 |
|
Vincent Boutour
|
0a708af9bc
|
Adding CSP directives in README
|
2018-08-26 18:43:03 +02:00 |
|
Danny van Kooten
|
b6aa00caef
|
add tests for aggregating referrer stats
|
2018-08-09 15:04:38 +02:00 |
|
Danny van Kooten
|
8313c64610
|
add tests for aggregating page-specific stats
|
2018-08-09 14:57:35 +02:00 |
|
Danny van Kooten
|
2ccbfbf372
|
add tests for aggregating site-wide stats
|
2018-08-09 14:43:42 +02:00 |
|
Danny van Kooten
|
064b5cb038
|
re-use buffer (to get rid of allocation) & separate inserts vs. updates early on in collect handler.
|
2018-08-08 09:43:06 +02:00 |
|
Danny van Kooten
|
c09fda89a3
|
refactor date logic for preset periods. switch out this week and this month for last-7 and last-30. closes #43
|
2018-08-07 09:20:22 +02:00 |
|
Danny van Kooten
|
720fa4a5da
|
clear gorilla context after request is handled
|
2018-08-07 08:48:22 +02:00 |
|
Danny van Kooten
|
defb36b001
|
set WriteTimeout and ReadTimeout on http.Server
|
2018-08-05 12:14:34 +02:00 |
|
Danny van Kooten
|
c71907033e
|
add --json flag to stats command
|
2018-08-01 14:43:19 +02:00 |
|
Danny van Kooten
|
01474759c6
|
add stats command for getting site-wide stats via cli.
|
2018-08-01 14:03:44 +02:00 |
|
Danny van Kooten
|
5d24865936
|
add --skip-bcrypt option to register command
|
2018-08-01 13:23:41 +02:00 |
|
Danny van Kooten
|
94805b6e80
|
remove alias for register command
|
2018-08-01 13:13:54 +02:00 |
|
Danny van Kooten
|
33ffa557ee
|
move setting pwd & comparing into user model + tests
|
2018-08-01 13:13:42 +02:00 |
|
Danny van Kooten
|
4ecaff85ac
|
don't parse database driver from URL to also support mysql and sqlite.
|
2018-07-31 15:29:15 +02:00 |
|
Danny van Kooten
|
8f4a34282e
|
Merge branch 'feature/database-url' of https://github.com/Calyhre/fathom into Calyhre-feature/database-url
* 'feature/database-url' of https://github.com/Calyhre/fathom:
Update .env.example
Add support for FATHOM_DATABASE_URL
|
2018-07-31 15:09:45 +02:00 |
|
Danny van Kooten
|
62ec1f7d41
|
add built-in support for letsencrypt using autocert. closes #18
|
2018-07-31 15:05:34 +02:00 |
|
Charley DAVID
|
d1387e4dd1
|
Update .env.example
|
2018-07-31 08:41:08 -03:00 |
|
Charley DAVID
|
98970057a2
|
Add support for FATHOM_DATABASE_URL
|
2018-07-31 08:41:08 -03:00 |
|
Danny van Kooten
|
773a65ff94
|
Merge branch 'master' of https://github.com/usefathom/fathom
* 'master' of https://github.com/usefathom/fathom:
Revert "link[href] is already an absolute URL"
|
2018-07-30 10:51:25 +02:00 |
|
Danny van Kooten
|
e90e100f18
|
fix query args for batch updating pageviews
|
2018-07-30 10:51:20 +02:00 |
|
Danny van Kooten
|
b6f3be0e8e
|
build postgres dsn string dynamically
|
2018-07-30 09:33:49 +02:00 |
|
Danny van Kooten
|
98c5487a58
|
Merge pull request #102 from usefathom/revert-98-patch-5
Revert "link[href] is already an absolute URL", create <a> element for correct parsing.
|
2018-07-27 09:08:55 +02:00 |
|
Danny van Kooten
|
3418e81ea5
|
Revert "link[href] is already an absolute URL"
|
2018-07-27 09:08:25 +02:00 |
|
Danny van Kooten
|
fe624a63a1
|
update all godeps
|
2018-07-27 09:03:18 +02:00 |
|
Danny van Kooten
|
1c2682878e
|
update github.com/mattn/go-sqlite3 dep
|
2018-07-27 08:54:46 +02:00 |
|
Danny van Kooten
|
d03cdf88f2
|
Merge branch 'master' of https://github.com/usefathom/fathom
* 'master' of https://github.com/usefathom/fathom:
link[href] is already an absolute URL
|
2018-07-27 08:52:58 +02:00 |
|
Danny van Kooten
|
658581b744
|
show prettier error msg when connecting to database fails
|
2018-07-27 08:52:53 +02:00 |
|
Danny van Kooten
|
c8eef57e2a
|
Merge pull request #98 from da2x/patch-5
link[href] is already an absolute URL
|
2018-07-23 07:28:26 +02:00 |
|
Daniel Aleksandersen
|
c6ec64a267
|
link[href] is already an absolute URL
a[href] and link[href] will both normalize to an absolute URL so there is no need to create an extra a element here.
|
2018-07-23 05:53:13 +02:00 |
|
Danny van Kooten
|
6a27475faf
|
Merge pull request #96 from SimePel/master
config: split up Parse into LoadEnv & Parse func. Thanks @SimePel!
|
2018-07-16 10:57:19 +02:00 |
|
SimePel
|
34b7eab555
|
fix typo
|
2018-07-16 11:14:30 +07:00 |
|
SimePel
|
a301dec1a3
|
add tests for LoadEnv func
|
2018-07-15 21:10:26 +07:00 |
|
SimePel
|
64b131f7f5
|
add separate function for loading env values from file
|
2018-07-15 21:09:44 +07:00 |
|
Danny van Kooten
|
2ef550bc27
|
reduce number of memory allocations in hot path
|
2018-07-15 10:05:03 +02:00 |
|
Danny van Kooten
|
b2d881e31b
|
optimize sql generation in datastore.InsertPageviews func.
|
2018-07-15 09:36:28 +02:00 |
|
Danny van Kooten
|
1fea0dc66f
|
return error from datastore.Close func
|
2018-07-15 09:20:07 +02:00 |
|
Danny van Kooten
|
1e128e6ad7
|
use simple for loop in bulk datastore funcs for minor perf improvement
|
2018-07-15 07:37:45 +02:00 |
|
Danny van Kooten
|
e6ee4d0a2e
|
increase buffer size & buffer timeout for collecting pageviews
|
2018-07-15 07:34:06 +02:00 |
|
Danny van Kooten
|
c437f8a221
|
accept PORT env var for setting server addr (through cascade). #59
|
2018-07-13 11:49:14 +02:00 |
|
Danny van Kooten
|
19b0ccf5b6
|
move command declaration into same file as func declaration
|
2018-07-13 11:48:28 +02:00 |
|
Danny van Kooten
|
82e1216bb3
|
discard http requests coming from browser prerenders. closes #13
|
2018-07-12 14:06:07 +02:00 |
|
Danny van Kooten
|
a6f9b385a3
|
option to set sslmode param in postgres & mysql connections using FATHOM_DATABASE_SSLMODE. closes #93 closes #90 closes #80
|
2018-07-12 13:37:52 +02:00 |
|
Danny van Kooten
|
f2683d1f0c
|
buffer insert & updates of pageviews for performance gain under heavy load. closes #24
|
2018-07-12 13:30:32 +02:00 |
|
Danny van Kooten
|
6eb1d284fd
|
get rid of install script
|
2018-07-12 09:53:05 +02:00 |
|
Danny
|
42008ab83f
|
get rid of session_id and move knowledge of previous pageview to client. this also gets rid of the (only) index on the pageviews table, allowing for much faster INSERT's. closes #14
|
2018-07-11 15:03:56 +02:00 |
|
Danny
|
d9bce6a0cf
|
set time for dates coming from pikaday too. fixes #88
|
2018-07-11 14:20:45 +02:00 |
|
Danny
|
f7afb8c503
|
only add path if not already in pagesViewed
|
2018-07-04 14:43:24 +02:00 |
|
Danny van Kooten
|
37897e9d35
|
stop sending document title from client, since it is not used right now
|
2018-06-28 10:37:21 +02:00 |
|
Danny van Kooten
|
9b47ee27ef
|
parse hostname from client instead of relying on http header. fixes #79
|
2018-06-28 10:37:02 +02:00 |
|