1
0
mirror of https://github.com/cydrobolt/polr.git synced 2024-09-19 23:21:47 +02:00
Commit Graph

139 Commits

Author SHA1 Message Date
Chaoyi Zha
39ed9e23c3 Remove comments, fix typo 2017-05-06 12:36:17 -04:00
Chaoyi Zha
772a4f3c11 Merge branch 'master' into feature/edit_long_link 2017-05-05 18:43:18 -04:00
Chaoyi Zha
6a53d0644b Implement long link editing WIP; code refactoring 2017-04-29 23:32:22 -04:00
Chaoyi Zha
3e3f416bd0 Remove DataTables import from AdminController
DataTables tables are handled by AdminPaginationController
2017-04-21 21:40:35 -04:00
Chaoyi Zha
8cc59e268c Show an error if right bound is in the future 2017-04-15 17:22:07 -04:00
Chaoyi Zha
4e65ac2a90 Use moment and parseInputDate to load existing dates into date picker 2017-04-15 11:25:13 -04:00
Chaoyi Zha
1dfb9d021e Merge branch 'master' into feature/date_bound_adj_fe_stats 2017-04-15 10:40:03 -04:00
Chaoyi Zha
d8dd8d6b0b Refactor use of link lookups in new URL shortening fix #311 2017-04-11 12:51:40 -04:00
Chaoyi Zha
e17aeff740 Fix API bugs and implement directive for setup tooltips 2017-04-07 18:25:43 -04:00
Chaoyi Zha
202f5d244d Add anonymous API quota option fix #312 2017-04-07 18:24:57 -04:00
Chaoyi Zha
7e0d404c72 Implement email domain restriction option in env template and SetupController 2017-03-25 16:04:01 -04:00
gurgeng
44f69c3910 Add initial implementation of registration email restrictions 2017-03-25 16:04:01 -04:00
Chaoyi Zha
c7bb9b00fa Add datetimepicker to aallow modification of date bounds for StatController 2017-03-25 14:26:12 -04:00
Chaoyi Zha
eb8b27a341 Catch Exceptions thrown by StatHelper and throw an ApiException 2017-03-20 17:34:09 -04:00
Chaoyi Zha
fc056a9364 Ignore empty , throw ApiException for all AUTH_ERROR instances 2017-03-20 17:19:28 -04:00
Chaoyi Zha
e786fc2cc1 Use ->user instead of directly invoking getApiUserInfo 2017-03-20 17:11:38 -04:00
Chaoyi Zha
cf549eb241 Merge branch 'master' into feature/analytics_api 2017-03-20 17:02:02 -04:00
Chaoyi Zha
b643906752 Fix custom ending bug affecting non-truthy endings, update documentation for API error updates 2017-03-20 17:01:33 -04:00
Chaoyi Zha
861665f4d7 Remove unnecessary comments 2017-03-20 16:39:46 -04:00
Chaoyi Zha
84bdee52ea Change route for /about to /about-polr fix #304 2017-03-17 21:08:16 -04:00
Chaoyi Zha
65794f83d7 Use ApiException to handle API errors and use ApiMiddleware to handle API authentication 2017-03-17 17:00:13 -04:00
Chaoyi Zha
8f6d9762e9 Remove debug statement 2017-03-12 19:58:54 -04:00
Chaoyi Zha
8ebe335a84 Fix typo and remove debug statement 2017-03-12 19:55:25 -04:00
Chaoyi Zha
bd250b8ce3 Add documentation for analytics API 2017-03-12 19:51:34 -04:00
Chaoyi Zha
abc9d8f25b Refactor stats API and fix bounds detection 2017-03-12 18:35:19 -04:00
Chaoyi Zha
fc22ed0652 Move analytics SQL & logic to StatsHelper, refactor to use left_bound and right_bound 2017-03-11 10:47:43 -05:00
Chaoyi Zha
6e361826f9 Merge branch 'master' into link_table_indexes 2017-02-07 22:48:48 -05:00
Chaoyi Zha
3a14174427 Ensure proper data type is passed to \Validator in lookup endpoint 2017-02-05 13:21:09 -05:00
Chaoyi Zha
9e7b992d92 Add indexes to link table and use cr32 hashes to increase speed of lookups 2017-02-03 23:12:47 -05:00
Chaoyi Zha
ee48d0346b Fix extra period 2017-01-27 22:01:29 -05:00
Chaoyi Zha
40c6c724bf Remove div padding on stats page 2017-01-26 17:40:46 -05:00
Chaoyi Zha
d95e6f5fb3 Only fetch rows from past thirty days 2017-01-26 17:04:26 -05:00
Chaoyi Zha
d39e69e5f4 Merge with master 2017-01-26 16:00:06 -05:00
Chaoyi Zha
4670270240 Use Validator from the global namespace fix #278 2017-01-21 11:23:45 -05:00
Chaoyi Zha
e829169ef8 Fix spacing 2016-12-29 14:59:58 -05:00
Chaoyi Zha
7d66e655fe Add GeoIP configurations and setup hooks for adv analytics 2016-12-29 14:48:40 -05:00
Chaoyi Zha
b73048cdc0 Add shortcut to stats in link tables 2016-12-28 15:21:04 -05:00
Chaoyi Zha
a3c697a865 Fix small bugs & styling 2016-12-28 09:52:35 -05:00
Chaoyi Zha
b8a1c7de44 Add Click model for advanced analytics, add Setup settings, use Chart.js for charting, create stat pages and routes 2016-12-28 00:18:17 -05:00
Evan McMahon
bb90a6f7b0 Merge branch 'master' into urlfix 2016-12-20 12:12:10 +07:00
Chaoyi Zha
3adfd21b88 Use 301 redirects insttead of Lumen's 302 for better analytics & SEO 2016-12-19 17:37:36 -05:00
overint
0e1420ba21 Truncate long URLs on admin dash. 2016-12-19 22:00:29 +11:00
Chaoyi Zha
c95c964414 Use static variable instead of class constant for USER_ROLES for 5.5.9 compat, fix #264 2016-12-09 15:46:38 -05:00
Chaoyi Zha
06c714ad4a Fix XSS vulnerability due to DataTables; escape user-provided fields 2016-12-03 17:19:52 -05:00
Chaoyi Zha
037ddb2f10 Encode spaces as %20 for compatibility purposes 2016-12-03 15:51:04 -05:00
Chaoyi Zha
8e3befd96c Validate forms and APIs using \Validator to reject invalid data 2016-12-03 15:41:24 -05:00
Chaoyi Zha
f8565c6dc2 Exclude public API endpoints from CSRF protection 2016-12-03 15:40:54 -05:00
Chaoyi Zha
7a381632d0 Fix incorrect route names for user creation routes 2016-12-02 20:09:09 -05:00
Chaoyi Zha
c8e8500747 Fix typo in setup canonical group names 2016-12-02 20:03:40 -05:00
Chaoyi Zha
ba4865a00f Refactor, fix setup variable access 2016-12-02 20:00:20 -05:00