Commit Graph
100 Commits
Author SHA1 Message Date
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
Michal Kváček f1da02003a FEATURE: copied config of modules and menus 2016-01-21 12:15:49 +01:00
Michal Kváček 9048c552ed REFACTORING: reformatted code in config/app.php 2016-01-21 12:14:20 +01:00
Michal Kváček 384edd3a7e FEATURE: init service provider of Menu builder in config files 2016-01-21 12:13:40 +01:00
Michal Kváček 4685d10424 FEATURE: init pingpong/menus 2016-01-21 12:08:03 +01:00
Michal Kváček 1940a10fc5 Merge branch 'dashboard' into layout 2016-01-21 11:59:17 +01:00
Michal Kváček 40b08b0fc8 Merge branch 'dashboard' into user_management 2016-01-21 11:56:05 +01:00
Michal Kváček ba836a50a8 Merge branch 'authentication' into user_management 2016-01-21 11:53:24 +01:00
Michal Kváček ec3893fb1e FEATURE: move routes for user management to protected area 2016-01-21 11:50:31 +01:00
Michal Kváček 629a5491e7 FEATURE: init module for static pages 2016-01-21 11:41:26 +01:00
Michal Kváček a615b20ae8 DELETE: delete testing module from repo 2016-01-21 11:39:32 +01:00
Michal Kváček 718adb652b Merge branch 'testing-modules' into dev 2016-01-21 11:33:52 +01:00
Michal Kváček 9b18c2c966 FIX: pop-ed stash 2016-01-21 11:26:34 +01:00
Michal Kváček 3c102b981f Merge branch 'user_management' into dev 2016-01-21 11:22:17 +01:00
Michal Kváček c7f6695591 Merge branch 'dev' of binarity.cz:/opt/git/internal/cms/minicms into dev 2016-01-21 11:19:08 +01:00
Michal Kváček 012e150519 This commit is somehow result of merge with user_management branch. 2016-01-21 11:17:17 +01:00
Michal Kváček da13c15604 REFACTORING: moved generig controllers (auth and password) into separate directory 2016-01-21 11:16:35 +01:00
Michal Kváček 352535e93d Merge branch 'authentication' into dev 2016-01-21 02:54:02 +01:00
Michal Kváček c801c30dc9 FIX: fixed authetication verification 2016-01-21 02:53:36 +01:00
Michal Kváček 7e5500254a Merge branch 'dashboard' into dev 2016-01-21 02:45:29 +01:00
Michal Kváček 022c335074 FEATURE: add redirect after successfull login 2016-01-21 02:44:17 +01:00
Michal Kváček 75a4ac7fe0 FIX: fix wrong parameter in password 2016-01-21 02:40:34 +01:00
Michal Kváček 4b330fad0d TESTING: testing authentication 2016-01-21 02:37:40 +01:00
Michal Kváček eb64ca71b7 FEATURE #1359: change hashing function 2016-01-21 02:10:40 +01:00
Michal Kváček f133aee36a REFACTORING: moved canonical controllers to separate directory 2016-01-21 02:06:42 +01:00
Michal Kváček 495d578188 FEATURE #1359: add full name for saving into database 2016-01-21 01:46:41 +01:00
Michal Kváček 035ba92cf5 Merge remote-tracking branch 'origin/dev' into authentication
# Conflicts:
#	database/schema.sql
2016-01-21 01:43:26 +01:00
Michal Kváček cff9f7dbac FEATURE #1358: add interface Authenticable to User model.
It seems that Laravel needs User models (users which are about to authenticate) to implement Authenticable interface.
2016-01-21 01:41:10 +01:00
Michal Kváček 184d088ed7 FEATURE: pluralize table names
Database table names were pluralized, so Eloquent (from Laravel) should have no problems with table names.
2016-01-21 01:17:37 +01:00
Michal Kváček e412fc27fc FIX #1358: fix parameter "name" in login fields 2016-01-21 01:10:57 +01:00
Michal Kváček 2f7df75b83 FEATURE #1359: registration works now
Some basic form of registration is done. It does not look very nice, however I was able to create new user. This part will need a lots of other improvements, however new user was created. Yay!
2016-01-21 01:08:03 +01:00
Michal Kváček 559289dd39 Merge branch 'authentication' into user_management 2016-01-20 23:54:21 +01:00
Michal Kváček 144ce1d21e FEATURE: add controller for dashboard 2016-01-20 23:35:35 +01:00
Michal Kváček e640247a0e FEATURE #1359: add views and controller for user management
This commit contains only placeholder files, not really working code.
2016-01-20 23:31:55 +01:00
Michal Kváček cacad9a8f9 FEATURE: add somehow final login form.
Currently, this form does not point to any existing (resp. working) methods for authentication. For this purpose I need to develop some functionality to add user and have some data for testing.
2016-01-20 23:29:00 +01:00
Michal Kváček 6430a661fb FEATURE: add some dump "layout"
Currently, layout is only head with some meta tags (and loaded foundation). It contains block for inserting content, no other "magic" happened yet.
2016-01-20 21:47:19 +01:00
Michal Kváček 107eef7a49 FEATURE: init Foundation
Initialized foundation library
2016-01-20 21:46:44 +01:00
Michal Kváček b3881d33f8 FEATURE: prepare views for displaying login form 2016-01-20 21:21:13 +01:00