Commit Graph
100 Commits
Author SHA1 Message Date
Michal Kváček 26873a2db4 FEATURE: add string id for action log types.
This string ID will be used in each logger for better readability (we will use string identifier except the "magical" integer constant)
2016-01-28 22:42:06 +01:00
Michal Kváček 0c7a138e43 FEATURE: add seed and enumeration for action log types 2016-01-28 17:01:54 +01:00
Michal Kváček 703adfcb78 FEATURE #1386: catch CSRF token exception 2016-01-28 16:00:31 +01:00
Michal Kváček d9b678036a FEATURE: add overview to all static pages 2016-01-27 20:13:57 +01:00
Michal Kváček 8210eafad5 FEATURE: add displaying errors 2016-01-27 16:25:42 +01:00
Michal Kváček e63f78e67b FEATURE: add content status and wysiwyg editor 2016-01-27 16:07:30 +01:00
Michal Kváček ff80cbca4f Merge branch 'enumerations' into static_pages 2016-01-27 16:03:03 +01:00
Michal Kváček 4506b62387 FEATURE: add enumeration for content statuses 2016-01-27 16:02:45 +01:00
Michal Kváček 63c05ba6f9 Merge branch 'dev' into static_pages 2016-01-27 15:45:36 +01:00
Michal Kváček cac5b1dfb9 FEATURE: init trumbowyg editor 2016-01-27 15:45:14 +01:00
Michal Kváček 19ee504075 FEATURE: add translation for static page 2016-01-27 15:42:35 +01:00
Michal Kváček 5db999e3b1 FEATURE: move static page handler into config 2016-01-27 15:36:11 +01:00
Michal Kváček 35a93091ff FEATURE #1394: init static page module
Module is now installed and ready to be used
2016-01-27 15:28:41 +01:00
Michal Kváček 79d5277a13 Merge branch 'enumerations' into static_pages 2016-01-27 15:27:36 +01:00
Michal Kváček 686ce63ca7 FIX: fix enumerations - empty init caused error 2016-01-27 15:27:15 +01:00
Michal Kváček 76f865566e Merge branch 'enumerations' into static_pages 2016-01-27 15:17:08 +01:00
Michal Kváček c4dd6cc229 FIX: fix enumeration for modules.
Module does not have ID field. Instead, it has handler field.
2016-01-27 15:16:15 +01:00
Michal Kváček cc832d5249 FEATURE #1394: add modules enumeration class 2016-01-27 15:02:22 +01:00
Michal Kváček 195ba54005 FEATURE #1370: add form for creating new static page 2016-01-27 14:55:59 +01:00
Michal Kváček 0302de734b Merge branch 'user_management' into dev 2016-01-27 02:00:27 +01:00
Michal Kváček 452280a6fe FEATURE: remove @lang() from blade templates when translating enumerations.
Enumerations are translated right after inserting into collection, so there is no need to translate it again.
2016-01-27 01:58:57 +01:00
Michal Kváček e7bc0aaf4a FEATURE: remove @lang() functions from templates.
Enumeration values (strings) are translated during pushing into collection (enumeration). So there is no need to translate it again.
2016-01-27 01:57:44 +01:00
Michal Kváček ff17e528ae Merge branch 'enumerations' into dev 2016-01-27 01:54:17 +01:00
Michal Kváček f81e8a698b FEATURE: enumeration can be sorted. 2016-01-27 01:53:53 +01:00
Michal Kváček c75effd10c FEATURE: add functionality for deleting custom fields 2016-01-27 01:30:15 +01:00
Michal Kváček c4185df903 Merge branch 'dev' into custom_fields 2016-01-27 01:18:56 +01:00
Michal Kváček 6186f52bbb FEATURE: add confirmation for all elements with class "confirm" 2016-01-27 01:18:28 +01:00
Michal Kváček ff61858cf5 FEATURE: add functionality for editing custom fields 2016-01-27 00:55:41 +01:00
Michal Kváček 4b5a78b320 FEATURE: move selectbox for type of custom field 2016-01-27 00:24:59 +01:00
Michal Kváček 9e86530cf6 FEATURE: add some minor css styling 2016-01-27 00:16:47 +01:00
Michal Kváček 3d110510bc FEATURE: add custom fields overview 2016-01-27 00:10:13 +01:00
Michal Kváček 811e0ba5b2 FIX: make possible values work as intended
Newlines in possible values in custom fields are now replaced by pipe (|). This commit also fixes typo caused by copy-paste (resource was sent as type).
2016-01-26 23:26:48 +01:00
Michal Kváček 89d08f52af Merge branch 'enumerations' into custom_fields 2016-01-26 23:22:08 +01:00
Michal Kváček bc2bdd38b9 FIX: fix multiple enumeration classes
Enumeration classes shared one static variable which caused sharing data. Main problem was with conflicts in names. This commit divides enumeration into "namespaces". Used namespace is return value from "get_called_class()" function.
2016-01-26 23:19:42 +01:00
Michal Kváček aede7b8a01 FEATURE: add possible values and custom field resource 2016-01-26 23:18:39 +01:00
Michal Kváček fae393a992 Merge branch 'dev' into custom_fields 2016-01-26 22:45:19 +01:00
Michal Kváček 463c16beac FEATURE: add custom field resource and possible values to schema 2016-01-26 22:44:43 +01:00
Michal Kváček 271f27be0b FEATURE: make adding custom fields working 2016-01-26 22:44:15 +01:00
Michal Kváček fedb5abae6 FEATURE: add translation to custom field types 2016-01-26 22:01:28 +01:00
Michal Kváček 9930d59c86 Merge branch 'dev' into custom_fields 2016-01-26 21:54:36 +01:00
Michal Kváček 1a0c7e0b27 FIX: add autoincrement to all ID fields 2016-01-26 21:54:10 +01:00
Michal Kváček 90014795ff FEATURE: seed custom field types with data 2016-01-26 21:52:13 +01:00
Michal Kváček cdde6bcb33 FEATURE: regenerated models for updated database structure 2016-01-26 21:38:20 +01:00
Michal Kváček aba80f1d67 Merge branch 'dev' into custom_fields 2016-01-26 21:35:05 +01:00
Michal Kváček 8bb87eb500 FIX: fixed some errors and mistakes in database schema.
Probably, this is the last edit of database/schema.sql. I did not want to create migrations when database tables are not used yet.
2016-01-26 21:33:59 +01:00
Michal Kváček 77fc37117c FEATURE: add custom fields classes stubs 2016-01-26 11:33:30 +01:00
Michal Kváček c924c7f385 Merge branch 'enumerations' into custom_fields 2016-01-26 11:15:20 +01:00
Michal Kváček dc5821649a FEATURE: add enumeration class for custom field types 2016-01-26 11:14:09 +01:00
Michal Kváček 2cf9fcae3d REFACTORING: use BaseEnumeration
Classes UserRoles and UserStates are now using new BaseEnumeration class.
2016-01-26 11:13:02 +01:00
Michal Kváček 0ef7a12691 FEATURE: add baseclass for each enumeration 2016-01-26 11:12:23 +01:00
Michal Kváček 39e1189c04 FEATURE: finish template for new custom field 2016-01-26 10:52:11 +01:00
Michal Kváček 3c8eb3c3f1 FEATURE #1368: add form for creating new custom field
Currently, form is not saved, however it is validated.
2016-01-25 18:59:31 +01:00
Michal Kváček 4261362ea1 FEATURE #1368: add route to overview for custom fields. 2016-01-25 16:47:13 +01:00
Michal Kváček 56429bb993 FEATURE: add non-breaking spaces to placeholder sections in admin header
Thanks to empty content in two sections in admin header, profile menu was pushed to the left (above main menu).
2016-01-24 23:48:23 +01:00
Michal Kváček 3624604371 Merge branch 'static_pages' into dev 2016-01-24 23:39:40 +01:00
Michal Kváček bcec36cb08 Merge branch 'user_management' into dev 2016-01-24 23:39:26 +01:00
Michal Kváček 6af60248e6 FEATURE #1359: add status changing (user management) 2016-01-24 23:38:34 +01:00
Michal Kváček f872475752 FEATURE #1359: user must input unique email when editing 2016-01-24 23:19:05 +01:00
Michal Kváček 7d0261f1f8 FEATURE: minor changes in main menu 2016-01-24 23:08:12 +01:00
Michal Kváček 84d5daed30 FEATURE: add menu for static pages.
This commit adds menu items into admin. No real functionality is done, however registering menu items works, routing works, translations works.
2016-01-24 22:58:13 +01:00
Michal Kváček 1b25f23169 Merge branch 'static_pages' into dev 2016-01-24 21:21:47 +01:00
Michal Kváček 1767872402 FEATURE #1359: add working user edit
Finally user can be edited in admin. Admin can change password and role of given user.
2016-01-24 21:18:27 +01:00
Michal Kváček bad25cb161 FEATURE #1359: add working user edit
Finally user can be edited in admin. Admin can change password and role of given user.
2016-01-24 21:17:16 +01:00
Michal Kváček 83f0ca08a1 FEATURE #1359: some minor changes in styling and layout 2016-01-24 20:44:43 +01:00
Michal Kváček 8fcc5d041c FEATURE: move user roles into separate enumeration.
This commit moves list of user roles into separate class (with own namespace), so we can access this data anywhere from application.
2016-01-24 20:43:41 +01:00
Michal Kváček 7a08a11497 FEATURE #1359: add real edit form to users detail 2016-01-24 20:30:48 +01:00
Michal Kváček dd2377b8ac FEATURE #1359: do not require ID for updating profile of logged user 2016-01-24 20:24:40 +01:00
Michal Kváček c062fa1db3 FEATURE #1359: add user detail 2016-01-24 20:21:09 +01:00
Michal Kváček 8168525c97 FEATURE: add role into list of all users 2016-01-24 19:42:53 +01:00
Michal Kváček f5b7c4ea8f FEATURE #1359: add users overview.
This commit adds users overview. Currently with link to non-existing user detail/edit form.
2016-01-24 19:29:05 +01:00
Michal Kváček 7a3e91b7a9 FEATURE #1364: init barryvdh/laravel-debugbar
Debugbar is initilized only for "local" environment.
2016-01-24 18:47:37 +01:00
Michal Kváček bb0083cdda REFACTORING: split UserManagement controller into more classes
One class for user management would be really messy. This commit splits it into more classes.
2016-01-24 17:30:02 +01:00
Michal Kváček 9a4596581c FEATURE: add logout.
This commit adds functionality for logout user.
2016-01-24 17:08:05 +01:00
Michal Kváček 5d7e535239 FEATURE: style menu
This commit adds some markup to sidebars in admin.
2016-01-24 16:55:23 +01:00
Michal Kváček 8a91a95a67 FIX: fix login
Login should work again. Problem was in non-setting sessions. This was resolved by adding middleware "web" to admin group. Thanks to great documentation for NOT MENTIONING this pitfall!
2016-01-24 15:08:59 +01:00
Michal Kváček 2ade14beba FIX: fix routes again - add name for dashboard route 2016-01-22 17:54:49 +01:00
Michal Kváček 49a2139ff6 FIX: fix routes 2016-01-22 17:54:12 +01:00
Michal Kváček 954d927210 Merge branch 'user_management' into dev 2016-01-22 17:52:48 +01:00
Michal Kváček 2f71a1ebcc Merge branch 'authentication' into dev 2016-01-22 17:52:39 +01:00
Michal Kváček 9517ff43d5 FEATURE: tweak form for creating new user
Added Foundation classes etc.
2016-01-22 17:51:34 +01:00
Michal Kváček b8589aa4d3 Merge branch 'user_management' into authentication 2016-01-22 17:27:36 +01:00
Michal Kváček 16637a3795 FEATURE: do not use admin layout for login form 2016-01-22 17:25:47 +01:00
Michal Kváček 4df84dabcf FEATURE: merged routes 2016-01-22 17:23:13 +01:00
Michal Kváček 99a38bfd24 Merge branch 'authentication' into dev 2016-01-22 14:05:55 +01:00
Michal Kváček dbd551152c FEATURE #1358: finish login
Login form should look like finished part of application.
2016-01-22 14:00:16 +01:00
Michal Kváček 47aa9b15cb REFACTORING: renamed CreateNewUser to CreateNewUserRequest 2016-01-22 12:54:59 +01:00
Michal Kváček f1a0f4d7e2 FIX: removed duplicit "admin/" in routes. 2016-01-22 12:47:37 +01:00
Michal Kváček 7f1ab69e83 FIX: fixed errors when no error was defined 2016-01-22 12:46:57 +01:00
Michal Kváček 551e1af5fe FIX: fix some security issue 2016-01-22 12:46:18 +01:00
Michal Kváček 39855bdbfd FEATURE: add redirect after successful user registration 2016-01-22 12:45:17 +01:00
Michal Kváček 1ca787e482 FEATURE: add Request class for handling user registration
Laravel provides functionality for validating and authorization of incoming form requests. This commit adds this functionality to user registration.
2016-01-22 12:43:00 +01:00
Michal Kváček 23c47ad6a3 Merge branch 'user_management' into layout 2016-01-21 16:24:33 +01:00
Michal Kváček a9ff0ff808 FIX: fixed route to UserManagement@getOverview 2016-01-21 16:20:40 +01:00
Michal Kváček 1d33157892 FEATURE #1365: add some basic layout to admin interface
Admin interface now has some sidebar and content area. Sidebar was supposed to be "dropdown-on-click", however I have not acomplished it yet.
2016-01-21 16:02:38 +01:00
Michal Kváček b258233497 FEATURE: download Font Awesome 2016-01-21 15:43:16 +01:00
Michal Kváček a7f19d98b8 FEATURE: main menu works quite fine.
Currently, main menu is generated using pingpong/menus. Menu is generated in service provider called AdminProvider. Currently, menu is rendered with Bootstrap classes, I need to rewrite style in order to implement it in Foundation.
2016-01-21 14:26:47 +01:00
Michal Kváček cad627a74e Merge branch 'layout' into dev 2016-01-21 12:32:54 +01:00
Michal Kváček 2e8f42efe2 FEATURE: add template for dashboard 2016-01-21 12:29:09 +01:00
Michal Kváček 94227a4b97 FEATURE: changed inheritance in dashboard controller 2016-01-21 12:28:46 +01:00
Michal Kváček 349e9d49f9 FEATURE: add resources/views/vendor into .gitignore file 2016-01-21 12:16:15 +01:00