Commit Graph

345 Commits

Author SHA1 Message Date
Danny van Kooten ac15507023 stop exporting DB instance in datastore pkg. yay 2018-04-27 17:32:16 +02:00
Danny van Kooten a20e2b1227 move remaining queries to datastore pkg & bubble up errors to http handlers 2018-04-27 17:28:03 +02:00
Danny van Kooten b0d16b648b move remainder of aggregation funcs from count pkg to datastore pkg 2018-04-27 16:25:01 +02:00
Danny van Kooten 94b5a03d8e refactor part of count package to datastore, needs more work for other metrics besides pageviews 2018-04-26 20:40:00 +02:00
Danny van Kooten 80254ee4ee move pageview queries to datastore pkg & rebind query for other db engines than mysql 2018-04-26 19:30:15 +02:00
Danny van Kooten bdd21dcaf8 add license and repository properties to package.json 2018-04-25 17:01:24 +02:00
Danny bcfca8138b rewrite remaining queries in datastore pkg to use sqlx 2018-04-25 14:29:32 +02:00
Danny 8571c24a0d prepend forward slash for tracker.js asset, so we can omit it on cli argument 2018-04-25 14:04:09 +02:00
Danny f317603da3 rewrite datastore page funcs to use sqlx scanning 2018-04-25 14:01:42 +02:00
Danny a46f60ef45 Merge branch 'master' of github.com:usefathom/fathom 2018-04-25 13:47:10 +02:00
Danny van Kooten 0bb0c1356b
Merge pull request #16 from da2x/patch-2
Let querySelector do all the work when finding canonical href
2018-04-25 13:46:59 +02:00
Danny van Kooten 7d47cd899f
Merge pull request #15 from da2x/patch-1
Correct doNotTrack property name
2018-04-25 13:46:05 +02:00
Danny 6f0ed92dfe use sqlx pkg for scanning user queries 2018-04-25 13:45:21 +02:00
Daniel Aleksandersen 1b007cdda9
Let querySelector do all the work 2018-04-25 13:27:50 +02:00
Danny 2ac0abd02e move SaveUser func to datastore package and make it db driver agnostic 2018-04-25 13:25:34 +02:00
Daniel Aleksandersen 028f8f9307
Correct doNotTrack property name
It has to be lower camel case for it to work in browsers, and it’s the way its defined in the spec.
2018-04-25 13:21:08 +02:00
Danny 32f4299656 use envconfig to validate configuration values & handle default values 2018-04-25 13:05:29 +02:00
Danny b3ee15cc9a universal error handling in api pkg by returning errs from http handlers 2018-04-25 11:59:30 +02:00
Danny 08ce5e651d simplify build steps & don't store dist assets in VC 2018-04-25 10:15:24 +02:00
pjrvs 2766c11b9a tm
added a little TM for our logo.
2018-04-24 09:24:55 -07:00
pjrvs c2de7c9262 updated screenshot
changed to fathom screen.
2018-04-24 09:23:24 -07:00
pjrvs 6ae3b422d1 updated screenshot
screenshot of the v1 dash.
2018-04-24 09:22:26 -07:00
Danny 4faf4f9498 rename all go import paths to new repository location 2018-04-24 10:28:23 +02:00
Danny 0b68a519fb rebrand executable & README to fathom 2018-04-24 10:12:38 +02:00
Danny d8e458625d rebrand to fathom - usefathom.com 2018-04-24 09:45:46 +02:00
Danny bfdf25f8a1 fix typo in DoNotTrack variable name 2018-04-23 14:50:25 +02:00
Danny 1e59d66e6d link to referrer url directly, since we store absolute url's 2018-04-23 14:50:12 +02:00
Danny f83d6c2193 check err in user register command 2018-04-23 10:50:31 +02:00
Danny e736573a57 upgrade client-side code for Preact 8.x 2018-04-23 10:11:51 +02:00
Danny 779b6db134 update JS deps 2018-04-20 13:26:00 +02:00
Danny 71b8dc9077 npm is where it's at again 2018-04-20 13:21:56 +02:00
Danny 6040a43c9f get rid of roadmap file, better places for that 2018-04-20 13:21:05 +02:00
Danny e4a0b9eb11 specify babel plugins in gulpfile so we can get rid of babelrc file 2018-04-20 13:19:59 +02:00
Danny b0b709f771 fix img url in README 2018-04-20 13:13:09 +02:00
Danny 93b285c0a9 change project directory structure to clean-up root dir 2018-04-20 13:12:23 +02:00
Danny van Kooten c0b5318f07 Merge pull request #12 from jro7/jro7/update-readme
update installation instructions, thanks @jro7
2017-08-12 12:20:36 +02:00
jro e8f389d45a update installation instructions 2017-08-11 14:23:27 +00:00
Danny van Kooten 0384813e7b vendor robfig/cron 2017-04-18 21:55:30 +02:00
Danny van Kooten 7f0562febf remove stray or unnecessary log statements 2017-01-25 22:53:28 +01:00
Danny van Kooten ce070d485c use buffered INSERT for collecting pageviews & misc improvements to datastore retrieval func's 2017-01-25 22:48:24 +01:00
Danny van Kooten 6b5cccd147 move raw SQL from /api/collect handler to datastore package 2017-01-25 20:01:02 +01:00
Danny van Kooten 28fa8431ef add user functions to datastore 2017-01-25 17:11:35 +01:00
Danny van Kooten ed34f069d5 get rid of output when no database migrations ran 2017-01-25 16:19:07 +01:00
Danny van Kooten ffe1db7c44 update readme, database migrations will now run automatically 2017-01-25 15:19:08 +01:00
Danny van Kooten e47183230d use sql migrate for handling database migrations & run on boot 2017-01-25 15:17:24 +01:00
Danny van Kooten 46f954cc6e first stab at supporting postgres driver. #9 2017-01-25 13:46:43 +01:00
Danny van Kooten db170276fb add big fat heads up about running Ana in production 2017-01-24 20:33:06 +01:00
Danny van Kooten 0b788cd0f4 update README with CLI command changes 2017-01-24 20:30:32 +01:00
Danny van Kooten 8a0657b977 use alecthomas/kingpin for parsing CLI arguments. Closes #7 2017-01-24 20:28:22 +01:00
Danny van Kooten 6161442487 update vendored deps 2017-01-24 20:27:30 +01:00