Commit graph

31 commits

Author SHA1 Message Date
Benjamin Renard
f85e7392b9
Tpl::add_js_file(): add possibility to specify a prioroty as last parameter and fix including translation JS files before app.js 2024-12-03 01:42:29 +01:00
Benjamin Renard
4f2259f118
Add some useful UI helpers
- Add alertify lib and provide its default configuration
- Add copy_to_clipboard() function and the CSS copyable class
- Enable Bootstrap tooltips
- Add CSS share-links class helper: link's URL is copied to clipboard
- Add Bootstrap 5 like 3-states switches
- Add show_form_modal(), validate_form() and handle_ajax_return() helper functions
2024-12-02 20:01:51 +01:00
Benjamin Renard
5b54abb7af
Make fatal error template customizable 2024-11-25 10:37:01 +01:00
Benjamin Renard
57aedc4869
Casuser auth backend: add user access filters feature 2024-02-21 11:20:37 +01:00
Benjamin Renard
e34682de4b
Add custom_body_start & custom_body_end blocks in default page template 2024-01-23 11:00:45 +01:00
Benjamin Renard
d8240ca782
Allow to define default logo and favicon URL from config/core defaults 2023-11-16 18:25:05 +01:00
Benjamin Renard
43a467b15a
Login form: add remember username feature 2023-04-22 18:56:13 +02:00
Benjamin Renard
a274f04a1a
Add simple time tracking system to permit to display page computing time 2023-03-22 18:27:07 +01:00
ffb0e64439 login page: fix margin between login method buttons 2023-03-11 13:30:55 +01:00
8a4848bd37 navbar: do not show login button on login page 2023-03-11 13:30:07 +01:00
cd8b577693 Improve fatal error template 2023-03-11 13:11:05 +01:00
317afd31f2 Defaulty add login button in navbar if user is not authenticated 2023-03-11 12:01:15 +01:00
Benjamin Renard
76b134d747
empty.tpl: improve navbar 2023-03-08 13:14:51 +01:00
fe75984bc7 Auth\Form: add include_navbar parameter 2023-03-07 18:28:42 +01:00
Benjamin Renard
275f2b6c18
Navbar: add subblocks 2023-03-05 13:45:11 +01:00
Benjamin Renard
b1c8185eab
Renane eesyphp.css file as app.css 2023-03-05 12:30:04 +01:00
Benjamin Renard
e550c345cf
Upgrade Bootstrap, Fork-Awesome and Jquery libs 2023-03-05 00:32:16 +01:00
02b0bbcfad Add CLI command to initialize a new project 2023-02-26 23:53:16 +01:00
ab19389d9a Auth: fix some translation errors 2023-02-25 17:18:51 +01:00
610cdb0f7c Add authentication support 2023-02-25 05:02:27 +01:00
5ce273cfad Add vim modeline in templates files 2023-02-15 23:55:36 +01:00
73dc860972 I18n: Split translated messages of core and app in discting gettext domains 2023-02-14 01:21:52 +01:00
317cb30cb3 Tpl: Add stuff to have multiple templates directories with priority 2023-02-13 00:42:37 +01:00
4f47dc056d Tpl: Add stuff to handle static files
* Move example application in example sub-directory
* Widely use App::get() instead of Config::get()
2023-02-12 00:30:36 +01:00
6fdc5447f1 Some improvments from recent works on apps based on its "framework"
* Code cleaning and fix some small errors using Phpstan
* Configure pre-commit to run Phpstan before each commit
* Some little improvments and logging, mail, smarty & URL libs
* Add Sentry integration
* Add Webstat JS code inclusion
* Install Smarty dependency using composer

Breaking changes:
* Rename Event class as HookEvent to avoid conflict with PECL event
* URL with refresh GET parameter now automatically trigger redirection without it
 after page loading to avoid to keep it in URL
2023-01-29 11:51:41 +01:00
Benjamin Renard
0219714d4a Fix JS translations loading method to make translations available earlier 2022-04-24 20:17:48 +02:00
Benjamin Renard
3a61299005 Add handler for common HTTP errors 2022-04-24 19:11:37 +02:00
Benjamin Renard
e808e3bfb7 Remove unexisting translation template variables 2022-04-24 18:52:24 +02:00
Benjamin Renard
444c1ec2fc Improve translations
- Add support for translations in JavaScript code using babel lib and
  a custom PO file converter to JSON (using sepia/po-parser lib for
  PO files parsing)
- Put translation CLI commands in a dedicated file
- update_messages CLI command now provide PO file initialization feature
  using msginit and support of compendium files
2022-04-24 16:46:38 +02:00
Benjamin Renard
e936064b78 Add translation system and improve URL routing system 2021-07-28 17:13:10 +02:00
699b7c4d1f Initial version 2020-04-18 00:51:33 +02:00