Commit Graph

246 Commits

Author SHA1 Message Date
Matteo Gheza dbc50da95a Add edit-user page WIP 2024-01-07 02:02:50 +01:00
Matteo Gheza c63a9789cc Add user info modal 2024-01-04 00:41:41 +01:00
Matteo Gheza 9a6a163229 Add date range filter to table component 2024-01-02 01:21:13 +01:00
Matteo Gheza 30aa110c84 Check if last_access is not null 2023-12-31 15:47:22 +01:00
Matteo Gheza 6d4db17e8f WIP support for stats page 2023-12-31 15:30:39 +01:00
renovate[bot] 3e4020b874
Update backendDependencies 2023-10-26 14:46:34 +00:00
Matteo Gheza ca090f99f1 Add etag support to list 2023-10-26 16:45:42 +02:00
Matteo Gheza 29d849fdde Update Laratrust 2023-10-25 18:10:16 +02:00
renovate[bot] f4b2f76709
Update backendDependencies 2023-10-24 23:04:25 +00:00
renovate[bot] 73198daaf5
Update dependency santigarcor/laratrust to v8 2023-10-24 23:02:29 +00:00
Matteo Gheza 3a67160468 Full support for alert messages on Telegram 2023-10-25 00:42:39 +02:00
Matteo Gheza 3f5d4024af WIP Telegram message actions for alerts 2023-10-24 20:05:06 +02:00
Matteo Gheza a41812b848 Move Telegram send message functions to util 2023-10-24 00:17:12 +02:00
Matteo Gheza a8e28d3679 Log alert creation and update 2023-10-23 23:40:20 +02:00
Matteo Gheza 3194f22673 Send Telegram msg and save logs for alert response 2023-10-23 23:38:04 +02:00
Matteo Gheza 3fa489c94b Add buttons to set alert response 2023-10-23 23:04:34 +02:00
Matteo Gheza 7701edd0e1 Fix alert controller 2023-10-23 15:35:27 +02:00
Matteo Gheza 235a70160b Add support for etag and not modified resources 2023-10-23 08:08:10 +02:00
Matteo Gheza 14183e390c WIP support for Alerts 2023-10-22 14:22:12 +02:00
Matteo Gheza 06af68cb61 Fix UpdateAvailabilityWithSchedulesJob logic error 2023-10-08 15:02:41 +02:00
Matteo Gheza 1a221be19f Ignore Json error as it's expected 2023-10-08 13:37:29 +02:00
Matteo Gheza f0d917600b Fix Telegram bot Sentry setUser 2023-10-08 12:31:34 +02:00
Matteo Gheza 9844cf1a7f Fix Telegram bot user get if chat not logged in 2023-10-08 11:52:28 +02:00
Matteo Gheza 436a13e801 Am I dumb? 2 2023-09-17 01:30:33 +02:00
Matteo Gheza dfc8abc2a3 Am I dumb? 2023-09-17 00:50:26 +02:00
Matteo Gheza 30e35c4ed8 Fix stop impersonating 2023-09-07 15:52:25 +02:00
Matteo Gheza ec66d0062d Fix impersonation 2023-09-07 15:14:21 +02:00
Matteo Gheza c415dd1650 Add sanctum expiration 2023-09-07 15:07:58 +02:00
Matteo Gheza 1f61d2e96a Add support for trainings and small fixes 2023-09-07 14:01:54 +02:00
Matteo Gheza 3f7be4beb8 Fix strange find bug 2023-09-04 16:59:43 +02:00
Matteo Gheza d7d39399c0 Composer update 2023-09-04 15:16:01 +02:00
Matteo Gheza d527b2e459 Add chatid validation to one job 2023-09-04 14:07:17 +02:00
Matteo Gheza 006eb97f67 Improve auth process 2023-09-04 14:00:49 +02:00
Matteo Gheza 1f40a6df69 Auth isn't working, random 419 errors everywhere 2023-09-04 01:39:29 +02:00
Matteo Gheza 800e2436ee Trying to improve auth 2023-09-04 01:09:53 +02:00
Matteo Gheza 388148356b Fix job failed error type 2023-09-03 22:03:26 +02:00
Matteo Gheza 5aca8b9947 Fix Laravel Sentry integration 2023-09-03 00:42:54 +02:00
Matteo Gheza 6e13e6de70 Monitor jobs and Telegram bot using Sentry 2023-09-02 22:26:27 +02:00
Matteo Gheza f0c3c807ac Add Sentry to backend 2023-09-02 22:01:01 +02:00
Matteo Gheza 83b8db9ae1 Send some Telegram messages to the user chat only 2023-09-02 11:14:46 +02:00
Matteo Gheza 1e1a224531 Telegram notifications tmp fix 2023-09-02 00:11:24 +02:00
Matteo Gheza 633aaa381f Do not log actions from hidden users 2023-09-01 22:56:35 +02:00
Matteo Gheza 20c90dce38 Update user list order 2023-09-01 15:14:12 +02:00
Matteo Gheza f9c50b0d2d Fix user online check 2023-09-01 14:39:44 +02:00
Matteo Gheza 045a311742 Add user action logs 2023-09-01 14:24:10 +02:00
Matteo Gheza fc9c8635a6 Implement service update and deletion 2023-09-01 13:23:44 +02:00
Matteo Gheza edfda7cbc6 Increment availability minutes when schedule mode 2023-09-01 10:47:42 +02:00
Matteo Gheza 34cd5795cb Add services support and lock WIP UI features 2023-09-01 00:21:35 +02:00
Matteo Gheza 464e9b58ee Reset availability minutes at the end of the month 2023-08-30 14:28:40 +02:00
Matteo Gheza 0f635e7a21 Send state notifications when scheduled 2023-08-29 21:37:56 +02:00
Matteo Gheza 5c6196826a Improve commands list and register command 2023-08-29 20:15:03 +02:00
Matteo Gheza 1cd0978f91 Implement Telegram group notifications 2023-08-29 20:08:36 +02:00
Matteo Gheza 6b2b2837c1 Send notification if manual mode still on 2023-08-29 19:30:59 +02:00
Matteo Gheza d0e8dc6b0f Replace IncrementAvailabilityMinutesJob 2023-08-29 17:41:37 +02:00
Matteo Gheza df762afca5 Implement Telegram bot 2023-08-29 16:18:26 +02:00
Matteo Gheza da20cf7bf6 Initial Telegram support 2023-06-06 23:50:52 +02:00
Matteo Gheza e69d25661f Check permissions in availability change 2023-06-06 19:35:26 +02:00
Matteo Gheza 10484739c9 Add support for impersonation 2023-06-06 18:53:49 +02:00
Matteo Gheza dec10cee4e Add permissions check frontend 2023-06-06 17:18:30 +02:00
Matteo Gheza 1f1f69df16 Add some roles and permisssions 2023-06-06 00:27:34 +02:00
Matteo Gheza 4e265b8ade Remove availability when not scheduled 2023-03-16 00:40:53 +01:00
Matteo Gheza b1e64f2993 Install Laratrust and initial configuration 2023-03-16 00:16:44 +01:00
Matteo Gheza 07e308c374 Enable manual mode when user changes availability 2023-03-15 23:11:36 +01:00
Matteo Gheza c218e44b4e Implement availability schedules 2023-03-15 23:09:02 +01:00
Matteo Gheza 6580fc1bde Fix users table migration 2023-03-15 23:07:09 +01:00
Matteo Gheza 73b71c8e89 Fix UTC 2023-03-15 23:06:34 +01:00
Matteo Gheza 2b5f3e1003 Fix user registration 2023-03-15 23:06:07 +01:00
Matteo Gheza aed7d2dae1 Move owner_image to non-authenticated endpoints 2023-02-23 23:19:39 +01:00
Matteo Gheza a0372def79 Add owner image 2023-02-23 23:02:41 +01:00
Matteo Gheza 97247b66c7 Add first scheduled job 2023-02-23 22:19:42 +01:00
Matteo Gheza be4701cce0 Working list/availability implementation 2023-02-23 17:34:32 +01:00
Matteo Gheza 7397819c00 Fix auth backend and add TODOs 2023-02-23 00:23:56 +01:00
Matteo Gheza 74dec44135 Update .htaccess 2023-02-23 00:21:06 +01:00
Matteo Gheza 6a3314a4e5 Remove web middleware group from API server 2023-02-21 17:05:23 +01:00
Matteo Gheza 79df45b99b Update users table and add username as login field 2023-02-21 00:37:00 +01:00
Matteo Gheza 65031a750a Laravel API server with auth PoC 2023-02-19 01:40:12 +01:00
Matteo Gheza 3e4c6779ef
Merge branch 'production' into master 2022-05-27 18:30:49 +02:00
Matteo Gheza 84188f1bab
Update apiRouter.php 2022-05-27 08:10:53 +02:00
Matteo Gheza fc8eb4114f
Merge branch 'production' into master 2022-04-07 23:28:18 +02:00
Matteo Gheza 94f06df393 Fix an other stupid typo 2022-04-07 23:25:48 +02:00
Matteo Gheza e104402163 Fix a stupid typo 2022-04-07 23:21:45 +02:00
Matteo Gheza 72c50c7b2c
Revert "More translations and service updates" 2022-04-02 22:28:00 +02:00
Matteo Gheza 8acbd08293 Service update 2022-04-01 00:15:05 +02:00
Matteo Gheza 610523d95f Remove TODO from en.php 2022-03-29 17:23:23 +02:00
Matteo Gheza 7855924f73 Add force language option 2022-03-29 17:22:37 +02:00
Matteo Gheza 571275347c Translate Telegram messages in user language 2022-03-29 17:19:41 +02:00
Matteo Gheza acaa5d2e11 Save log as untranslated strings 2022-03-29 17:03:45 +02:00
Matteo Gheza 57c8cb913e Everything in Allerta is now translated 2022-03-29 16:43:27 +02:00
Matteo Gheza 66f71b294f Support multiple languages in translation function 2022-03-27 18:23:18 +02:00
Matteo Gheza 0eccce6536 Disable notifications for availability messages 2022-03-27 18:16:20 +02:00
Matteo Gheza 0b6251767e Initial backend translation support 2022-03-19 00:29:27 +01:00
Matteo Gheza 37593eca9e Improve debugging function 2022-03-15 15:03:08 +01:00
Matteo Gheza d1f15f6fa1 Pretty print JSON 2022-03-15 14:26:54 +01:00
Matteo Gheza 2e75eb1c30 Send message to dev user 2022-03-15 14:14:48 +01:00
Matteo Gheza 6ce6f199c6 Add debug_userid command 2022-03-15 14:11:07 +01:00
Matteo Gheza 4b9dca5fe0 Remove debugging function 2022-03-14 00:19:24 +01:00
Matteo Gheza 3e84291a17 More alert improvements 2022-03-14 00:13:45 +01:00
Matteo Gheza ad9eaba4c2 Alert improvements 2022-03-13 18:44:39 +01:00
Matteo Gheza 51e68bb9cb Complete alert when ok 2022-03-13 01:19:53 +01:00
Matteo Gheza 729b6708f4 SQL Query fix 2022-03-13 00:51:28 +01:00