Peter Jaszkowiak
707b55b6a5
chore: eslint prefer-template
2021-02-08 18:06:44 -05:00
Barış Soner Uşaklı
b8cafefce2
fix: winston usages
2020-11-26 13:56:34 -05:00
Julian Lam
6e2da9966e
refactor: move plugin hook methods to plugin.hooks.*
2020-11-20 16:32:39 -05:00
Barış Soner Uşaklı
a05905f196
performance improvements ( #8795 )
...
* perf: nconf/winston/render
cache nconf.get calls
modify middleware.pageView to call next earlier
don't call winston.verbose on every hook see https://github.com/winstonjs/winston/issues/1669
translate header/footer separately and cache results for guests
* fix: copy paste fail
* refactor: style and fire hook only log in dev mode
* fix: cache key, header changes based on template
* perf: change replace
* fix: add missing await
* perf: category
* perf: lodash clone
* perf: remove escapeRegexChars
2020-10-26 10:43:18 -04:00
psychobunny
14ba1a6dbb
feat: analytics:maxCache setting in ACP
...
I removed a TODO from core. Watch your head as flying pigs are abound
2020-09-29 17:31:08 -04:00
Barış Soner Uşaklı
ce6b20c4b7
feat: remove topics.async.getTopicData usage
2020-07-24 12:02:16 -04:00
Barış Soner Uşaklı
e80379dc0e
feat: display stack trace on winston.error
2020-06-20 23:32:12 -04:00
Barış Soner Uşaklı
dcb85ee7a1
#8344 ( #8346 )
...
* feat: wip
* feat: wrap middlewares
* feat: middleware errors
* feat: more middleware changes
* fix: remove unused async
* fix: prevent version errors from blocking acp render
* feat: wrap more middlewares
2020-06-03 20:18:42 -04:00
Julian Lam
398f0120b8
fix: logic for determining dailyStats hour vars
...
Reverts 9ecdb92f7c and fixes it
properly.
2020-02-07 11:35:45 -05:00
Julian Lam
9ecdb92f7c
fix: fix daily analytics being one day off
2020-02-07 11:20:59 -05:00
Julian Lam
0b9ad416cb
fix: remove debug line
2020-02-07 10:51:24 -05:00
Julian Lam
79737c53fd
feat: guard against accidental ommision
...
...of analytics: prefix in get*StatsForSet methods
2020-02-07 10:28:40 -05:00
Barış Soner Uşaklı
223c108cc6
refactor: async/await analytics
2019-09-23 00:04:57 -04:00
Julian Lam
a0c0ef1ba4
feat: ACP analytics API route ( #7725 )
...
* feat: added API route for retrieving analytics via REST API
* feat: sets is now optional, can pass in multiple sets
* fix: moved expand and added json button to panel header
* fix: matching api params to socket method
* fix: update json api button url on graph change
* fix: updated default counts based on passed in units
2019-06-28 14:59:55 -04:00
Barış Soner Uşaklı
4d9bc30d1f
feat: async3 upgrade ( #7639 )
...
* feat: async3 upgrade WIP
* fix: async.doWhilst
* fix: async early exit
* fix: psql doUntil
* fix: psql again
2019-05-30 14:36:33 -04:00
Barış Soner Uşaklı
29b63ae7fb
fix : #6979
2018-12-14 17:31:06 -05:00
renovate[bot]
64b9dabff8
chore(deps): update dependency eslint-config-airbnb-base to v13 ( #6599 )
...
* chore(deps): update dependency eslint-config-airbnb-base to v13
* chore: #6599 , linting 😬
2018-11-07 15:53:14 -05:00
Barış Soner Uşaklı
9f36ce3997
#6862
2018-10-24 11:24:37 -04:00
Dravere
956aa55253
Added server hook action:analytics.increment
2018-06-15 15:00:57 -04:00
Julian Lam
6ce635deb5
closes #6539
2018-06-01 15:15:57 -04:00
Barış Soner Uşaklı
d31d8fa806
move category pageview to controllers
...
so topic views are tracked as category views
2018-06-01 14:57:59 -04:00
Peter Jaszkowiak
e609e497b3
Provide more error information to logs
...
Provides full stack instead of just message
2017-11-01 18:59:48 -06:00
Julian Lam
53ca6d1199
closes #5889
2017-08-24 12:39:57 -04:00
Julian Lam
e4adaa8959
linting
2017-05-11 17:22:47 -04:00
Julian Lam
816809ce3c
fixes #5606
2017-05-11 16:53:35 -04:00
Julian Lam
72e77772db
Merge branch 'master' into develop
2017-02-24 12:46:40 -05:00
Peter Jaszkowiak
896c8c7343
ESlint object-curly-spacing
2017-02-18 12:30:49 -07:00
Peter Jaszkowiak
604358ecc4
ESlint keyword-spacing, no-multi-spaces
2017-02-18 01:52:56 -07:00
Peter Jaszkowiak
b1b486f729
ESlint quote-props
2017-02-18 01:19:20 -07:00
Peter Jaszkowiak
3361a72725
ESlint no-plusplus
...
and no-empty, space-unary-ops
2017-02-18 01:12:18 -07:00
Peter Jaszkowiak
2ba46808a1
ESlint one-var, fix comma-dangle
2017-02-17 20:20:42 -07:00
Peter Jaszkowiak
bc1d70c126
ESlint comma-dangle
2017-02-17 19:31:21 -07:00
Julian Lam
4753042306
lowered analytics disk writes to every ten seconds, because why every 10 minutes? :shipit:
2016-12-09 14:53:49 -05:00
Julian Lam
9ada35cfb9
allowing Analytics.increment to have a callback
2016-12-09 14:39:31 -05:00
barisusakli
9796f54580
analytics tests, reduce bcrypt rouds for tests
2016-11-18 15:57:53 +03:00
HeeL
4a3c31b2dc
Fix space-before-function-paren linter rule
2016-10-13 11:43:39 +02:00
HeeL
3fa1c1f927
Fix space-infix-ops linter rule
2016-10-13 11:42:29 +02:00
Julian Lam
149565169b
closes #4658
2016-05-24 22:01:46 -04:00
psychobunny
891e747adb
fixes crash in analytics
2016-03-05 19:12:52 -05:00
Julian Lam
dd3f1b9ba8
removed console.log
2016-02-25 16:22:35 -05:00
Julian Lam
088940d4c7
Squashed commit of the following:
...
commit 49e6c0040cc82c1e2684933a8e167ef14854aff8
Author: Julian Lam <julian@designcreateplay.com >
Date: Thu Feb 25 16:12:15 2016 -0500
added recording and charts for topic and post counts globally and by cid
commit e02ff70757f778aa016fbc42ef10a5da2d07a9d9
Author: Julian Lam <julian@designcreateplay.com >
Date: Thu Feb 25 15:35:49 2016 -0500
added labels to charts
commit e75d83bf3886e5183bcf5fcd848d71c513761e01
Author: Julian Lam <julian@designcreateplay.com >
Date: Thu Feb 25 13:30:47 2016 -0500
added per category graphs to ACP management page
commit e3f543200950925cc9e8bf33cccb592f949a100e
Author: Julian Lam <julian@designcreateplay.com >
Date: Thu Feb 25 12:36:11 2016 -0500
updated analytics to move helper methods to analytics lib and sending per category analytics to ACP page
commit 01891d8f7c408925fcdad18dcaa941e5ebbeb9b2
Author: Julian Lam <julian@designcreateplay.com >
Date: Wed Feb 24 16:48:55 2016 -0500
saving per-category analytics, and updated the writeData method to use async for "clarity"
2016-02-25 16:12:50 -05:00
barisusakli
5879185ebc
single proc stats
2015-11-04 17:43:43 -05:00
barisusakli
aeb15ed7ee
moved getMonthlyPageViews to analytics
2015-08-13 12:20:53 -04:00
psychobunny
26f22345cd
allow realtime updates of the traffic graph in ACP
2015-07-08 16:46:33 -04:00
barisusakli
94cf29d42c
show monthly page views
2014-12-20 20:05:59 -05:00
barisusakli
011c42bde3
updated analytics
...
accumulate pageviews, uniquevisitors and uniqueIps locally and update db
every 10 mins instead of on every page view
2014-12-12 16:15:13 -05:00