1
0
mirror of https://github.com/cydrobolt/polr.git synced 2024-11-10 04:02:28 +01:00
Commit Graph

139 Commits

Author SHA1 Message Date
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
Serdar Hazar
f55a47f89a Toggle User 'Active' status in Admin panel 2016-09-30 23:51:43 +03:00
Serdar Hazar
d1587f950d Return 404, if POLR_ALLOW_ACCT_CREATION in environment set False 2016-09-29 22:22:02 +03:00
overint
bad80591be Allow CORS on API enpoints 2016-09-17 13:39:57 +10:00
Chaoyi Zha
8002fd3c2c Tweak pagination URL parameter names 2016-09-16 16:05:30 -04:00
Evan
ed74202ad6 Named $user_links pagination query parameter. 2016-09-16 23:00:42 +10:00
Evan
44b9f31566 Update AdminController to fix pagination problems.
Currently if you attempt to change the page of either the users or links on the admin dashboard, both paginations are updated. 
This fixes the problem by changing the  name of the paginator and this the query parameter.
2016-09-16 22:10:42 +10:00
Chaoyi Zha
ab95465786 Add option to redirect 404s and disabled URLs; update setup picture for 2.0.0 stable 2016-09-11 16:01:34 -04:00
Untung Ginardi
cb3eb243aa Use setting index redirect instead create new config 2016-09-08 19:44:53 +07:00
Untung Ginardi
5edaf41346 Handle when short URL not exist
- Add setup config for define handle type when short URL not exist
- Add setup config for define default URL if handle short URL not exist
with redirect
2016-09-07 10:25:12 +07:00
Chaoyi Zha
fbb6568042 Add updated_at, created_at for lookup; add appropriate Content-Type headers fix #211, fix #210 2016-08-28 15:29:48 -07:00
Chaoyi Zha
16cc229573 Add option to force pseudorandom link endings rather than counter-based predictable endings 2016-08-14 20:43:08 -07:00
Chaoyi Zha
e06bd50469 Allow admin to edit users' API quota from admin panel; refactor 2016-08-09 17:38:31 -07:00
Chaoyi Zha
f9c2636c31 Allow admin to override API toggle restrictions 2016-08-09 14:39:23 -07:00
Chaoyi Zha
77963e074c Refactor & don't return existing secret URLs 2016-07-22 14:23:10 -07:00
Matt Lurken Tvrdik
ba3c2280f6 Add support for underscores #77
Adding support for underscores.
2016-07-22 12:39:21 -05:00
Matt Lurken Tvrdik
ec0973e8d1 Update the error message to include hyphens and underscores
Requested addition to fix issue #77.
2016-07-20 20:28:31 -05:00
Matt Lurken Tvrdik
e58cf91955 Support Dashes and Underscores in URI #77
Fixes issue #77.
2016-07-20 14:42:24 -05:00
Chaoyi Zha
281adaf2ab Redirect index to login if no redirect defined, fix #149 2016-05-13 19:21:10 -04:00
Chaoyi Zha
7981709c6e Fix error handling for API errors and misc status codes fix #176 2016-05-13 18:44:09 -04:00
Chaoyi Zha
3dc4285b77 Edit option default for anon/auto API key generation; this does not break old configs 2016-05-13 18:00:29 -04:00
Chaoyi Zha
ff1f726f3f Fix route groupings for API 2016-05-13 17:49:26 -04:00
Chaoyi Zha
b8cfe8a693 Polish lost password implementation & refactor 2016-05-07 23:01:44 -04:00
Chaoyi Zha
9d634a281a Implement lost password recovery system 2016-05-07 11:56:32 -04:00
Chaoyi Zha
7ec83f5390
Remove padding on smaller devices, wrap text correctly with CSS 2016-04-16 17:23:46 -04:00
Chaoyi Zha
4ec9bc6462
Throttle anonymous API users, add a default quota 2016-04-16 17:22:59 -04:00
Carlos Eduardo Bruno Pereira
e145284d5d Fix some issues and implement layout adjusts 2016-04-14 12:37:28 -03:00
Chaoyi Zha
f5aeb2d8ab Implement API rate limitations fix #155 2016-04-01 22:45:29 -04:00
Chaoyi Zha
8a932b3113 Consolidate functions, add API reset for all users 2016-04-01 21:46:12 -04:00
Chaoyi Zha
53d90a7d39 Fix email port, email activation 2016-03-22 21:54:59 -04:00
Chaoyi Zha
22bae931f7 Fix args check func, don't show register link if disabled under login 2016-03-02 16:57:14 -05:00
Chaoyi Zha
a1be7a0706 Correctly include from/name 2016-02-27 15:58:52 -05:00
Chaoyi Zha
b190ed6d1c Switch name & address for mail 2016-02-27 15:57:09 -05:00
Chaoyi Zha
c2633d5ff4 Add link deletion 2016-02-27 14:59:52 -05:00
Chaoyi Zha
fb3a3dfe1c Force migrate in setup_finish 2016-02-26 22:12:21 -05:00
Chaoyi Zha
3bbbf54cc9 Use unencrypted cookies rather than session for temporary storage, due to key changes during setup 2016-02-26 22:00:15 -05:00
Chaoyi Zha
d53c000a0b API auto key assign, anonymous API #141 #142 2016-02-19 19:13:50 -05:00
Chaoyi Zha
370f59bf4b Remove LinkFactory debug statement 2016-02-19 18:42:21 -05:00
Chaoyi Zha
62f5870611 Fix LinkHelperTest to create new links on each test 2016-02-14 02:27:06 -05:00
Chaoyi Zha
d52b634913 Add basic LinkHelperTest 2016-02-14 02:14:25 -05:00
Chaoyi Zha
a05b7b1a3a Add link toggling, ensure proper Ajax response 2016-02-13 15:59:51 -05:00
Chaoyi Zha
fabaedb875 Handle more permission settings 2016-02-13 14:42:43 -05:00
Chaoyi Zha
a36122a98f Implement public interface settings 2016-02-13 13:38:45 -05:00
Chaoyi Zha
99b2d88788 Fix #130, allow setup_finish only if setup previously ran 2016-02-12 11:45:51 -05:00
Chaoyi Zha
53809cba28 Fix delete button in admin interface, ensure registration fields are properly filled in, and correctly handle clicks 2016-02-12 11:20:33 -05:00
Chaoyi Zha
8f35b83e76 Correctly handle missing arguments 2016-02-12 10:59:13 -05:00
Chaoyi Zha
76589f6aa7 Add API implementation 2016-02-12 10:38:58 -05:00
Chaoyi Zha
e25c5b1005 Abstract URL shortening, create API endpoints & logic 2016-01-29 14:58:49 -05:00
Chaoyi Zha
08e4e7eedf Add mail password to template args 2016-01-18 21:08:22 -05:00
Chaoyi Zha
4adf77e7ee Add deletion in admin panel 2016-01-18 18:33:37 -05:00
Chaoyi Zha
071233ccc2 Fix 404 handler, standardise 404 2016-01-18 18:23:33 -05:00
Chaoyi Zha
a6afd33632 Implement correct signup flow 2016-01-18 18:18:56 -05:00
Chaoyi Zha
fc0ed95fe3 Implement migrations within setup, reduce redundancy, 2016 2016-01-18 18:15:35 -05:00
Chaoyi Zha
e73cede1d4 Implement successful configuration writing & database connection 2016-01-18 13:17:46 -05:00
Chaoyi Zha
96f5b1e270 Refactor error handlers in LinkController to use toasts 2015-12-28 17:54:53 -05:00
Chaoyi Zha
b662511aa9 Ensure registration process is halted when errors occur 2015-12-28 17:48:06 -05:00
Chaoyi Zha
05c9ad4906 Properly implement password changing with toasts 2015-12-28 16:38:31 -05:00
Chaoyi Zha
5efd15b578 Add toasting + add password changing 2015-12-28 16:33:17 -05:00
Chaoyi Zha
895b2c3fe3 Add key reset implementation + live update mechanics 2015-12-18 19:10:05 -05:00
Chaoyi Zha
e58cd81a93 delegate button actions to parent & add API active toggle logic 2015-12-12 12:47:20 -05:00
Chaoyi Zha
c48bcc491d Add helper funcs, verify admin access, add some API routes 2015-12-12 12:26:25 -05:00
Chaoyi Zha
8ddc8ca84d Setup code and admin panel impls 2015-12-11 23:34:34 -05:00
Chaoyi Zha
9c74d7c2a5 Add nginx instructions + manual instructions 2015-11-14 15:10:14 -05:00
Chaoyi Zha
61c65c9cc1 Automatically switch to correct tab with pagination and reduce number of results per page 2015-11-13 23:54:32 -05:00
Chaoyi Zha
6cf7f3d828 Implement pagination and table snippets for admin panel 2015-11-13 23:51:01 -05:00
Chaoyi Zha
227cf5c23e Add admin panel tab structure 2015-11-08 19:49:45 -05:00
Chaoyi Zha
47744ef271 Complete sign up workflow, todo activation 2015-11-08 18:13:35 -05:00
Chaoyi Zha
82be265af8 Allow Lumen to use custom error handlers 2015-11-06 21:56:09 -05:00
Chaoyi Zha
6086e32c1c Implement core components of registration 2015-11-06 21:44:50 -05:00
Chaoyi Zha
8c50b2f881 Correct bugs for LinkController 2015-11-06 20:25:48 -05:00
Chaoyi Zha
f36791039c Implement secret URLs 2015-11-06 18:47:57 -05:00
Chaoyi Zha
a844d92ffa Add frontend elements of shorten result pagE 2015-11-06 17:48:06 -05:00
Chaoyi Zha
8006bdff78 Implement shortener helpers and core functions, tweaks to static pages 2015-11-06 17:19:39 -05:00
Chaoyi Zha
c82257d353 Add URL shortening structure 2015-11-05 18:16:55 -05:00
Chaoyi Zha
1f1ccdb85a Snapshot, better error handling and login process 2015-11-05 17:34:43 -05:00
Chaoyi Zha
5810db8405 Add templates, write migrations and models 2015-11-03 20:56:03 -05:00
Chaoyi Zha
f0162c7559 2.0 init commit 2015-11-02 23:13:32 -05:00