Commit graph

20 commits

Author SHA1 Message Date
Marcin Kurczewski
4ec0df17d6 Added script unit tests 2014-06-01 13:41:08 +02:00
Marcin Kurczewski
ed74a9f470 Fixed scripts
I haven't updated these in a loooong time...
2014-05-18 21:59:56 +02:00
Marcin Kurczewski
9e756e28e4 Continued work on documentation 2014-05-18 21:59:56 +02:00
Marcin Kurczewski
e59b7e8b7b Refactored privilege system a bit
- Jobs specify main privilege and sub privileges separately
  Rationale: increase maintenance, restrict what can be done runtime
- Renamed ChangeUser* to EditUser* (consistency with EditPost*)
- Simplified enum names and configuration reading
- IJob interface members must be explicitly implemented
  Rationale: reduce chances of forgetting something, or typos in
  inherited method names
- Invalid privileges names in configuration yield exceptions
2014-05-18 21:59:56 +02:00
Marcin Kurczewski
e84f8096bd Removed legacy functions 2014-05-17 00:02:01 +02:00
Marcin Kurczewski
b811e76318 Moved user settings to separate class 2014-05-14 19:06:43 +02:00
Marcin Kurczewski
6ce47ec2a7 Changed post type aliases in post search 2014-05-13 19:13:22 +02:00
Marcin Kurczewski
404bd979f4 Fixed issues with confirmation e-mails 2014-05-07 21:30:37 +02:00
Marcin Kurczewski
410237d678 Better privilege checking for batch operations 2014-05-07 17:58:23 +02:00
Marcin Kurczewski
26f2c46e5b More restrictive privilege system 2014-05-07 17:58:23 +02:00
Marcin Kurczewski
7df8a6fa3b Continued work on getter/setters: entity IDs 2014-05-07 17:58:18 +02:00
Marcin Kurczewski
a74b133cfc Moved security disabling from Api to Access 2014-05-05 17:47:31 +02:00
Marcin Kurczewski
7784be1838 Fixed login when mail activation is enabled 2014-05-05 17:47:30 +02:00
Marcin Kurczewski
505d08bb08 Added unit test system 2014-05-05 17:47:30 +02:00
Marcin Kurczewski
d3beb8bc53 Implemented new enums 2014-05-05 17:47:30 +02:00
Marcin Kurczewski
67e4272f3e Changes to privilege system 2014-05-05 17:47:30 +02:00
Marcin Kurczewski
334cca8197 Changed default access rank from admin to none 2014-05-02 08:14:16 +02:00
Marcin Kurczewski
925fccbd17 Moved authentication check to Access 2014-05-01 22:11:05 +02:00
Marcin Kurczewski
0a7fc387ac Simplified auth 2014-05-01 22:11:05 +02:00
Marcin Kurczewski
396ea97cad PrivilegesHelper shortened to Access
Methods are shorter, too
2014-04-29 23:53:47 +02:00
Renamed from src/Helpers/PrivilegesHelper.php (Browse further)