1
0
mirror of https://github.com/cydrobolt/polr.git synced 2024-11-09 19:52:28 +01:00
Commit Graph

126 Commits

Author SHA1 Message Date
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
Chaoyi Zha
e2314dd8ff Remove hacky fixes for API data and DRY 2016-12-02 19:29:25 -05:00
Chaoyi Zha
559de49132 Remove element reference for role selection, use user->id to avoid ng-model collisions 2016-12-02 18:38:28 -05:00
Chaoyi Zha
e7b0b676e1 Refactor into Angular functions and resolve DRY 2016-12-02 17:07:59 -05:00
Serdar Hazar
a7da1b25dd Issue #200, Realtime data change 2016-10-04 00:48:51 +03:00
Serdar Hazar
6cdbff8e11 Merge remote-tracking branch 'upstream/master' 2016-10-04 00:13:14 +03:00
oittaa
bc2454aa79 [CryptoHelper.php] use random_bytes() function 2016-10-03 00:44:30 +03:00
Chaoyi Zha
b6547d2417 Remove old table data 2016-10-01 20:51:39 -04:00
Chaoyi Zha
f25b418aae Create AdminPaginationController for Datatables pagination 2016-10-01 20:38:35 -04:00
Chaoyi Zha
8ba2826a7e Add user link Datatable 2016-10-01 20:30:06 -04:00
Serdar Hazar
bc4c126383 Replaced tabs w/spaces. Delete unnecessary user->save 2016-10-02 01:00:02 +03:00
Serdar Hazar
65ed0734cc Ability to Add New User in Admin panel 2016-10-02 00:54:22 +03:00
Serdar Hazar
14bdc5f43f Defined User roles in UserHelper, and added ability to change roles 2016-10-01 21:52:24 +03:00
Chaoyi Zha
74acbecbd1 Use Datatables for admin tables WIPg 2016-09-30 22:10:58 -04:00