Archived
1
0
Fork 0
Commit graph

473 commits

Author SHA1 Message Date
1867351716 app/models/Data/Callback.php: Cant override getSource() anymore as it is marked final, set source in "initialize()" instead. 2022-07-26 19:58:50 +02:00
d03824518d Change Phalcon\Mvc\User\Plugin to Phalcon\Di\Injectable 2022-07-26 19:58:50 +02:00
d6aefc502b app/models/Data/Base.php: make hasChanged() compatible with base class. 2022-07-26 19:58:50 +02:00
2a2cda0de4 app/library/Services.php: remove "use Phalcon\DiInterface" as it's not used. 2022-07-26 19:58:50 +02:00
aababdcb12 Phalcon\DiInterface is renamed to Phalcon\Di\DiInterface 2022-07-26 19:58:50 +02:00
0508e7cea7 public/index.php: pass uri to Httpcb\Bootstrap::run() 2022-07-26 19:42:03 +02:00
4bf76f87f1 app/library/Bootstrap.php: require $uri parameter in run()
Phalcon/Application::handle() requires it to be passed.
2022-07-26 19:41:21 +02:00
53f50ba49e Composer: update to phalcon >= 4.0.0 and php >=7.4.0 2022-07-26 19:39:02 +02:00
cd543fca8d app/views/backend/user/index.volt: Adding button to new user form. 2022-07-24 23:05:33 +02:00
d8a20441cc app/config/routes.yml: Adding backend-user-new route 2022-07-24 23:05:00 +02:00
885cdbe47a app/controllers/backend/UserController.php: Adding newAction() 2022-07-24 23:04:43 +02:00
172cddb577 app/controllers/backend/UserController.php: in editAction() take "user/form" view. 2022-07-24 23:04:08 +02:00
59c2baeb74 app/views/backend/user: rename edit.volt to form.volt 2022-07-24 23:03:36 +02:00
5a4fd192c7 app/views/backend/user/edit.volt: change form to allow for both new and existing users. 2022-07-24 23:02:24 +02:00
b2249735c3 app/controllers/backend/UserController.php: in statusAction() display "Activated" in flash message when status is changed to "Active" 2022-07-24 22:30:36 +02:00
652b814e13 app/forms/UserSettings.php: Show "Save" or "Create" based on if there is a entity id or not. 2022-07-24 22:30:36 +02:00
c6704f5f4a app/forms/UserSettings.php: Make the form work correctly with null or "empty" user object. 2022-07-24 22:30:36 +02:00
599eb17f69 app/config/routes.yml: make "page" an optional variable for backend-user-list route. 2022-07-24 17:13:30 +02:00
5708effa6f package.json: require natives 1.1.6 2022-07-24 16:15:04 +02:00
a572e6eae0 composer: require ext-yaml 2022-07-23 20:58:09 +02:00
408b1dc42f app/views/main/index/about.volt: Typo fixes. 2022-07-23 19:36:14 +02:00
b1212f5310
app/controllers/backend/UserController.php: adding edit action. 2019-12-03 11:04:23 +01:00
e332e1a7e7
app/forms/UserSettings.php: adding a admin flag. 2019-12-03 11:02:52 +01:00
adaf80d967
app/views/backend/user/index.volt: adding edit link 2019-12-03 00:27:44 +01:00
691632a31f
app/config/routes.yml: adding backend-user-edit route 2019-12-03 00:20:47 +01:00
6a31e85994
app/models/Data/User.php: adding isActive() method. 2019-12-03 00:03:32 +01:00
42f3a60817
app/assets/sass/components/_badge.scss: adding contextual colors. 2019-12-02 23:58:20 +01:00
e53f0a2366
Update package-lock.json 2019-12-02 11:40:08 +01:00
5867103646 Merge branch '24-admin-section' into 'dev'
Resolve "Admin section"

Closes #24

See merge request pnx/httpcb!25
2019-12-01 23:04:48 +00:00
fcefe72c55
app/assets/sass/views/_backend.scss: make sure we have some margin-bottom so content below are pushed down abit. 2019-12-01 23:58:41 +01:00
5fb9880a1b
Adding backend/LogController::index() 2019-12-01 19:27:27 +01:00
778c7127b3
app/models/Data/ActivityLog.php: implement getAllPaginationList() 2019-12-01 19:26:31 +01:00
a01cc60266
app/models/Data/ActivityLog.php: Add relationship to User model. 2019-12-01 19:26:31 +01:00
34d2c048f5
app/controllers/backend/UserController.php: use the side-menu layout 2019-12-01 17:43:09 +01:00
bed7b36748
adding app/views/backend/_layouts/side-menu.volt 2019-12-01 17:42:38 +01:00
223d78d7d4
scss: adding views/_backend.scss 2019-12-01 15:23:26 +01:00
bdde1d9ac7
app/controllers/backend/UserController.php: adding listing of users. 2019-12-01 15:23:26 +01:00
7c458a8052
app/config/routes.yml: adding backend-user-list route 2019-12-01 15:23:26 +01:00
dfe440cda3
app/models/Data/User.php: adding getPagination() 2019-12-01 15:23:26 +01:00
3c17346e46
app/config/menu.yml: add admin link 2019-12-01 15:23:26 +01:00
89e096c4fd
app/library/Services.php: get role from authed user getType() method. 2019-12-01 15:23:26 +01:00
ca27834a56
app/library/Navigation/Node.php: minor change. 2019-12-01 15:23:26 +01:00
cc08ca1658
app/config/acl.yml: move the docs to docs/ACL.md 2019-12-01 15:23:26 +01:00
8aa1ceb2cb
app/config/acl.yml: add admin role and backend zone. 2019-12-01 15:23:29 +01:00
4e059b3c54
app/library/Acl.php: in fromConfig() fix so that zones can be both strings and arrays. 2018-12-29 15:24:25 +01:00
2cb7ad2da8
app/library/Acl.php: in isAllowed() implement wildcard for controllers in modules. 2018-12-29 15:24:25 +01:00
c94c0fed7b
app/listeners/AccessListener.php: implement modules. 2018-12-29 15:24:25 +01:00
e5b0e1fcfd
Make the application modular to have a "main" and "backend" part. 2018-12-29 15:24:25 +01:00
884f721002
app/config/acl.yml: add admin role. 2018-12-29 15:24:24 +01:00
f276ad92a8
app/listeners/AccessListener.php: fetch role from identity. 2018-12-29 15:24:24 +01:00