Commit Graph

88 Commits

Author SHA1 Message Date
Miguel Nogueira 5ea9e11a62 AdminLTE i18n Changes
This commit removes unused language files and preserves the English sources for Crowdin. The account confirmation page has also been re-skinned with the current login/register template.
Some missing translations for 2fa were also added to the main messages file.
Sources for translations for the menus were also added.
2020-09-03 16:06:51 +01:00
Miguel Nogueira d93170b555 Devtools translation string 2020-09-03 02:58:30 +01:00
Miguel Nogueira 3fe3df7357 Vacancy tweaks 2020-09-03 02:26:05 +01:00
Miguel Nogueira 7e58c3af6b Add more missing translation strings
Also fixed broken vacancy editor
2020-09-03 02:20:15 +01:00
Miguel Nogueira 5ca155ba42 Add more missing translation strings 2020-09-03 02:08:14 +01:00
Miguel Nogueira 7c7c20d5b2 Add more missing translation strings 2020-09-03 01:58:29 +01:00
Miguel Nogueira 6e34b6b8fa Fix broken notes 2020-09-03 00:38:59 +01:00
Miguel Nogueira af96d193a4 Missing login button translation 2020-09-03 00:11:49 +01:00
Miguel Nogueira 48054f0837 Missing translations 2020-09-02 20:57:38 +01:00
Miguel Nogueira 4c7783f366 Variable fix 2020-09-02 20:32:34 +01:00
Miguel Nogueira af2c23a73c Variable fix 2020-09-02 20:30:25 +01:00
Miguel Nogueira af17bbe468 Close unclosed label 2020-09-02 20:20:01 +01:00
Miguel Nogueira 17f61f0d6b Close unclosed label 2020-09-02 20:17:54 +01:00
Miguel Nogueira a5aef7deb7 Add missing translation 2020-09-02 20:11:01 +01:00
Miguel Nogueira f32c4dc68c Fixed misspelled translation string 2020-09-02 20:08:20 +01:00
Miguel Nogueira 687316d77a Language menu accessibility 2020-09-02 20:02:56 +01:00
Miguel Nogueira ff70c21283 Homepage: add crowdin badge 2020-09-02 19:57:41 +01:00
Miguel Nogueira 6b7d2db612 Default flag for English 2020-09-02 19:32:31 +01:00
Miguel Nogueira d743554df6 Add country flag to dropdown 2020-09-02 19:29:37 +01:00
Miguel Nogueira bd530696d2 Quick dropdown toggle 2020-09-02 19:24:32 +01:00
Miguel Nogueira 3040afd730 Default language list item 2020-09-02 19:20:06 +01:00
Miguel Nogueira e7d2c548c0 Populate language list 2020-09-02 19:15:01 +01:00
Miguel Nogueira f001a16d4d Add homepage language selector 2020-09-02 19:05:24 +01:00
Miguel Nogueira d8dbb1a0a2 Add homepage language selector 2020-09-02 19:04:25 +01:00
Miguel Nogueira a10f3f9c96 Fix unclosed a tag causing whole page to be a link 2020-09-02 18:36:35 +01:00
Miguel Nogueira 9b469c434b Add app render localization options 2020-09-01 19:30:28 +01:00
Miguel Nogueira ca3a06f248 Add directory localization options 2020-09-01 18:49:08 +01:00
Miguel Nogueira 1e2f331778 Add profile localization options 2020-09-01 17:46:27 +01:00
Miguel Nogueira 4a09fa581d Add application management localization options 2020-09-01 14:40:41 +01:00
Miguel Nogueira c58b5b56d7 Add administration localization options 2020-09-01 12:43:39 +01:00
Miguel Nogueira bf5d4058ad Add auth localization options 2020-09-01 01:01:32 +01:00
Miguel Nogueira f871e14307 Add homepage localization options 2020-09-01 00:29:58 +01:00
Miguel Nogueira 1e78a8e6d9 Use app name 2020-08-31 23:20:53 +01:00
Miguel Nogueira 41e3e817a2 Added error messages to settings.blade.php 2020-08-31 19:50:58 +01:00
Miguel Nogueira 42de40e320 Added CSRF protection to settings 2020-08-31 18:34:09 +01:00
Miguel Nogueira faa3a65e2b Added unchecked checkbox workaround 2020-08-31 18:32:08 +01:00
Miguel Nogueira ba3a139d1c Wrapped settings with form-check 2020-08-31 18:13:44 +01:00
Miguel Nogueira 25ddf81118 Added form control buttons
Also improved form styling
2020-08-31 18:11:00 +01:00
Miguel Nogueira 9431eb5036 Updated options rendering 2020-08-31 18:03:20 +01:00
Miguel Nogueira ca82f5882d Add settings page 2020-08-30 23:06:01 +01:00
Miguel Nogueira 535a2c3973 Fixed broken banning logic 2020-08-13 22:12:17 +01:00
Miguel Nogueira 91627decbe Added Heroku Procfile
Also changed required password length for new users
2020-07-18 02:45:15 +01:00
Miguel Nogueira 2763f777ab Add password strength requirment
This commit adds a password strength requirement for new users using 
regular expressions.
Also adds a dismissable alert so users know how to create passwords 
properly.
2020-07-17 23:13:46 +01:00
Miguel Nogueira d392c0593f Add two factor authentication 2020-07-17 22:44:10 +01:00
Miguel Nogueira 5f1f92a9ce Code review
This commit fixes some superficial instances of Broken Access Control 
(https://owasp.org/www-project-top-ten/OWASP_Top_Ten_2017/Top_10-2017_A5-Broken_Access_Control).
There may be some more instances of this, as authorization was only done 
after most of the controllers were done (big mistake).

Some refactoring was also performed, where Route Model Binding with DI 
(dependency injection) was used whenever possible, to increase 
testability of the codebase.
Some reused code was also moved to Helper classes as to enforce DRY; 
There may be some lines of code that are still copy-pasted from other 
parts of the codebase for reuse.

Non-breaking refactoring changes were made, but the app as a whole still 
needs full manual testing, and customised responses to HTTP 500 
responses. Some errors are also not handled gracefully and this wasn't 
checked in this commit.
2020-07-16 21:21:28 +01:00
Miguel Nogueira 9e2d571298 Fix homepage bg issue 2020-07-16 07:32:52 +01:00
Miguel Nogueira 1a04880489 Replace basic authentication pages 2020-07-16 06:50:59 +01:00
Miguel Nogueira 3693ce3431 Add footer to all dashboard pages 2020-07-16 06:46:20 +01:00
Miguel Nogueira bca6020ab0 Add ability to edit forms and add new fields
This commit adds the ability to edit and modify existing forms.
On the technical side, it also adds a new reusable validation Facade which helps reduce duplicated code.
2020-07-15 06:48:49 +01:00
Miguel Nogueira 1f50faaea7 Add ability to preview application 2020-07-12 19:36:12 +01:00