Commit Graph
100 Commits
Author SHA1 Message Date
Michal Kváček 1a8b07971e FEATURE #1442: add uploaded file detail
This commit adds functionality for editing keywords and description of selected file. This commit also includes JS library for syntax highlighting (https://highlighjs.org)
2016-02-08 19:55:09 +01:00
Michal Kváček 3e9477ddc3 FEATURE #1417: add filtering for file overview 2016-02-08 16:15:03 +01:00
Michal Kváček bd38e3fd98 FEATURE #1417: add uploaded files overview 2016-02-08 16:06:44 +01:00
Michal Kváček e98032a3e1 FEATURE: add file size to uploaded files 2016-02-08 14:50:44 +01:00
Michal Kváček eb28696d82 FEATURE #1442: add stubs for file edit 2016-02-08 14:37:38 +01:00
Michal Kváček df1e1390e7 FEATURE #1417: add stubs for file overview 2016-02-08 14:37:06 +01:00
Michal Kváček d414e53789 FEATURE #1337: add stubs for uploading images 2016-02-08 14:35:56 +01:00
Michal Kváček 24144f6aa4 FEATURE #1337: add file upload
This commit registers new items into admin menu and adds functionality for uploading files.
2016-02-08 14:27:43 +01:00
Michal Kváček 58a3386277 FEATURE #1377: add stubs for uploading files 2016-02-05 22:34:41 +01:00
Michal Kváček fc33c06613 FEATURE: optimize composer.json
This commit removed unneccessary packages. It also moves some of development packages into require-dev section.
2016-02-05 17:16:34 +01:00
Michal Kváček 8fe0558374 Merge branch 'dev' into history 2016-02-05 17:03:22 +01:00
Michal Kváček 2e276335af FEATURE: module history handler is not called only for module_settings 2016-02-05 17:02:49 +01:00
Michal Kváček aeabe03911 FEATURE #1373: add link to history for static pages 2016-02-05 16:18:18 +01:00
Michal Kváček 620a5545d8 FEATURE #1373: add history of content
This commit contains only core funcionality of displaying history. Module settings must be implemented in each module.
2016-02-05 16:06:13 +01:00
Michal Kváček 0216d923d4 Merge branch 'dev' into user_management 2016-01-29 12:27:03 +01:00
Michal Kváček f262be1dcb FEATURE: allow user edit only for admin 2016-01-29 12:26:39 +01:00
Michal Kváček 780ee89d21 FEATURE #1387: divide routes into groups - one for admin, the rest for other users 2016-01-29 12:25:53 +01:00
Michal Kváček 270f77f451 Merge branch 'static_pages' into dev 2016-01-29 12:00:58 +01:00
Michal Kváček 3a0f7c7cd4 FEATURE: move menu registration into handler class. 2016-01-29 12:00:39 +01:00
Michal Kváček a880ab9e15 FEATURE #1401: add middleware for registering modules 2016-01-29 11:59:57 +01:00
Michal Kváček ee55715093 FEATURE #1374: add logging for static pages 2016-01-29 01:57:12 +01:00
Michal Kváček 593506c646 Merge branch 'user_management' into dev 2016-01-29 00:40:32 +01:00
Michal Kváček 3902a75b2c Merge branch 'static_pages' into dev 2016-01-29 00:40:23 +01:00
Michal Kváček b7d0258f06 Merge branch 'action_log' into dev 2016-01-29 00:40:17 +01:00
Michal Kváček b3c543f06c FEATURE: prepare logging for settings (once it will exist) 2016-01-29 00:37:45 +01:00
Michal Kváček 4a8facc046 FEATURE #1400: add logging for custom fields 2016-01-29 00:36:20 +01:00
Michal Kváček 7054ce53b6 FEATURE #1375: add logging for user edit and creating 2016-01-29 00:22:46 +01:00
Michal Kváček 5fabc08a99 FEATURE #1367: add log of login and logout 2016-01-29 00:20:40 +01:00
Michal Kváček 859d3ce753 FEATURE: add string id into seeder of action log types. 2016-01-28 22:44:03 +01:00
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 527b482ab8 FEATURE: make users overview look less ugly 2016-01-28 21:25:13 +01:00
Michal Kváček da23bb4100 TESTING: add tests for writing into bootstrap/cache and storage directories 2016-01-28 20:51:35 +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 73ff4e9331 FEATURE #1372: add feature for editing static pages.
User can edit static pages. The edit itself also stores history of changed columns.
2016-01-28 15:51:41 +01:00
Michal Kváček 1b2d7db8f3 FEATURE: add quick actions to static page overview 2016-01-28 13:38:30 +01:00
Michal Kváček 0f4ad90cd8 FEATURE: add overview to all static pages 2016-01-28 12:49:27 +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