148 Commits

Author SHA1 Message Date
Giuseppe Criscione
f2540a07a8 Move JS dependencies to admin/assets/js/vendor/
* Move chartist.min.js and sortable.min.js from admin/assets/js/ to admin/assets/js/vendor/
* Create new `vendor-js` Gulp task
* Combine admin/assets/js/vendor/*.min.js into a single admin/assets/js/vendor.min.js
2018-07-14 16:56:46 +02:00
Giuseppe Criscione
6e65c48a6a Fix inline if statements 2018-07-14 16:37:00 +02:00
Giuseppe Criscione
29779ac0c4 Fix incorrect poisition of chart tooltips in Firefox 2018-07-14 13:23:04 +02:00
Giuseppe Criscione
9e1d96fa5a Move tooltip offset calculation from Utils.offset to tooltip.js 2018-07-14 13:18:17 +02:00
Giuseppe Criscione
88af1f505f Fix mixed content blocked over HTTPS connections 2018-07-14 00:38:42 +02:00
Giuseppe Criscione
895f8aad14 Add npm package.json 2018-07-13 11:21:48 +02:00
Giuseppe Criscione
28a07f8a69 Move gulpfile.js to admin/ 2018-07-13 11:17:55 +02:00
Giuseppe Criscione
2d6ca911de Remove redundant ternary operator with boolean values 2018-07-13 10:35:49 +02:00
Giuseppe Criscione
baa6bec9cf Return correct type in Statistics::isBot() 2018-07-13 10:00:55 +02:00
Giuseppe Criscione
5c334c1cb3 Add Page::NUM_REGEX and use it whenever possible 2018-07-13 09:34:03 +02:00
Giuseppe Criscione
8d7287633c Improve exception throwing
* Use more specific `*Exception` classes
* Fix empty exception messages
* Remove trailing punctuation in some exception messages
2018-07-13 02:25:58 +02:00
Giuseppe Criscione
f129458770 Add type declarations in Pages and Users controllers 2018-07-13 01:29:11 +02:00
Giuseppe Criscione
b96efed5d3 Remove leading underscores in some private methods 2018-07-13 00:59:10 +02:00
Giuseppe Criscione
8a183f76c8 Fix coding style with PHP-CS-Fixer 2018-07-13 00:51:35 +02:00
Giuseppe Criscione
0f1f9f2ec5 Make children pages sortable 2018-07-10 15:28:33 +02:00
Giuseppe Criscione
7f7cb6e549 Add float: left to Admin panel title 2018-07-09 15:17:22 +02:00
Giuseppe Criscione
642e65f942 Add images modal empty state labels 2018-07-08 22:22:56 +02:00
Giuseppe Criscione
437001f645 Fix uploader.error label not showing error type in English language 2018-07-08 16:13:39 +02:00
Giuseppe Criscione
70e143bfa2 Fix Admin forms behavior with input[type=files]
* Changes in file inputs are now detected when leaving the page
* Text of file input labels is now restored when removing files
2018-07-08 16:03:00 +02:00
Giuseppe Criscione
330d8ed3cc Fix checkbox labels font size in Options views 2018-07-07 00:15:14 +02:00
Giuseppe Criscione
1aa6b7c8c6 Use data-overflow-tooltip attribute instead of .overflow-title class 2018-07-07 00:01:15 +02:00
Giuseppe Criscione
24a052091a Use app tooltips instead of system ones 2018-07-06 23:39:28 +02:00
Giuseppe Criscione
f1bd14bb76 Fix newPage modal HTML validation errors 2018-07-02 01:28:15 +02:00
Giuseppe Criscione
0b5a56bb98 Avoid script tag use to initialize Formwork.Form component 2018-07-02 01:17:29 +02:00
Giuseppe Criscione
ca265a51fd Move notifications to meta tag 2018-07-02 00:32:08 +02:00
Giuseppe Criscione
faa91d5489 Move csrf-token from data-csrf-token attribute of body to meta tag 2018-07-02 00:04:42 +02:00
Giuseppe Criscione
7a3d908386 Use new namespaced .js components in Admin views 2018-07-01 23:30:50 +02:00
Giuseppe Criscione
ae118460f7 Major Admin .js refactor
* Fix global namespace pollution.
* Improve files organization.
* Refactor following best practices.
2018-07-01 23:28:18 +02:00
Giuseppe Criscione
7545070702 Scrollable sidebar menu 2018-06-27 16:13:52 +02:00
Giuseppe Criscione
3eeaff5bc2 Fix language code appearing twice in New User modal 2018-06-27 16:10:49 +02:00
Giuseppe Criscione
3e77b15423 Minor improvements in Admin styles 2018-06-24 12:32:36 +02:00
Giuseppe Criscione
f53dc51dc8 Add View Site link in Admin 2018-06-23 10:19:49 +02:00
Giuseppe Criscione
d067a7c281 Refactor and improve SCSS 2018-06-23 10:17:00 +02:00
Giuseppe Criscione
3e6998d113 Update icon font 2018-06-23 10:14:40 +02:00
Giuseppe Criscione
17278c31d7 Change sortable pages behavior for better usability 2018-06-21 11:31:38 +02:00
Giuseppe Criscione
ebe98c0a54 Fix broken redirect in Pages controller 2018-06-19 22:40:11 +02:00
Giuseppe Criscione
81d264b399 Minor spacing and quotes fix 2018-06-18 15:19:09 +02:00
Giuseppe Criscione
3e61c538a6 Add system option admin.enabled 2018-06-18 15:01:34 +02:00
Giuseppe Criscione
faa9b17802 Fix zero-based page number 2018-06-18 11:10:06 +02:00
Giuseppe Criscione
bca17e6a0d Minor improvements in pages.list view 2018-06-18 11:08:08 +02:00
Giuseppe Criscione
5baf18fe8e Move sortable page logic in Page class 2018-06-18 01:37:45 +02:00
Giuseppe Criscione
e217c67af1 Minor improvements in pages.list view 2018-06-17 16:03:05 +02:00
Giuseppe Criscione
21b54f3b92 Use single quotes in strings in .js files whenever possible 2018-06-17 12:43:57 +02:00
Giuseppe Criscione
e382a7bf12 Fix .title-bar spacing in admin view 2018-06-17 11:35:35 +02:00
Giuseppe Criscione
caeefe0cf4 Rename .no-reorder to .not-sortable for consistency 2018-06-17 11:28:05 +02:00
Giuseppe Criscione
322eccfcde Minor improvements in pages.list view 2018-06-17 01:56:51 +02:00
Giuseppe Criscione
270d6fc793 Fix hard tabs 2018-06-16 17:49:27 +02:00
Giuseppe Criscione
d3e591f7c9 Initial commit 2018-06-16 16:41:58 +02:00