Commit Graph

111 Commits

Author SHA1 Message Date
Bofh 5b00931878 Handle errors on search query + Make search work better 2022-12-12 23:18:49 +01:00
Bofh 725f2ab476 Add suspend button on #instance/filter-users for manually suspending an account 2022-12-12 21:28:15 +01:00
Bofh f9b9b4be40 Remove data when suspending Mastodon account, only if remote
* Remove classes/PgDatabase restriction to api/vX/database
2022-12-12 20:59:10 +01:00
Bofh c1b72a6b0a A lot of code cleanup with filedb_* functions 2022-12-12 20:46:06 +01:00
Bofh 5c2d180312 Added RedisDatabase class 2022-12-12 13:51:20 +01:00
Bofh dd92256817 Add custom config for docker 2022-12-12 03:47:15 +01:00
Bofh a24db6b74e Add Dockerfile for using a php image 2022-12-12 03:46:15 +01:00
Bofh b733893d92 normalize_for_search on words matched in the search 2022-12-11 19:32:50 +01:00
Bofh b223abb3ac Implement only_cached for remote profiles, and wait for it to be cached by cron.php 2022-12-11 18:01:03 +01:00
Bofh 836dae9c18 Fix bug where all literal "false" was interpreted as true 2022-12-11 17:11:41 +01:00
Bofh cebbdfdf59 Implement expression search on API mastodon/accounts/search 2022-12-11 16:46:41 +01:00
Bofh baf43355ec Improvements on README.md 2022-12-10 21:24:23 +01:00
Bofh 00b3657ce1 Actualizar 'README.md' 2022-12-10 17:01:26 +00:00
Bofh 8d31090324 Actualizar 'README.md' 2022-12-10 16:53:11 +00:00
Bofh 72b7948a88 Delete session when session-related user does not exist
ex: if deleted manually on config/users.php
2022-12-10 17:25:03 +01:00
Bofh c0943cfad1 Delete sessions when user is edited/deleted and handle on UI 2022-12-10 17:19:51 +01:00
Bofh dcb536d38e little fixes 2022-12-10 16:49:07 +01:00
Bofh 131d133af1 Fix cli.php users delete option 2022-12-10 16:47:50 +01:00
Bofh 20513e7f23 Created cli.php for managing configuration from cli 2022-12-10 16:45:39 +01:00
Bofh 374a60ee50 Implement user/password solid system (loaded from configuration) 2022-12-10 15:49:02 +01:00
Bofh 451a7b5ef3 Make config/*.php configurable with .example files 2022-12-10 15:25:16 +01:00
Bofh a335e64e8f Make login.php a bit more user-friendly 2022-12-10 15:23:13 +01:00
Bofh 603a69d5cd Merge branch 'main' of git.nogafam.es:nobigtech/apub-ctpanel 2022-12-10 15:16:17 +01:00
Bofh a50f216d63 Solve multiple simple TODO's 2022-12-10 15:15:49 +01:00
Bofh 428d380311 Actualizar 'README.md'
Add more extended guideline for configuring the project.
2022-12-10 07:30:31 +00:00
Bofh 12f7213eee Actualizar 'README.md' 2022-12-10 06:33:12 +00:00
Bofh 080bfcf852 Sleep 3 seconds after deleting account, to throttle account suspension 2022-12-09 23:30:47 +01:00
Bofh 0d81b270a8 Don't delete account data just yet (wait for automatic deletion) 2022-12-09 22:38:27 +01:00
Bofh 0c18e53201 Add MAX_JOBS as an env variable too (in cron.php)
* Make "explain" field be added in the cron.php system
2022-12-09 00:37:03 +01:00
Bofh 481eb92b1a Add "explain" field to users filter actions so admins can customize the message to user 2022-12-09 00:36:06 +01:00
Bofh 2a0ce78f3c Created feature to run the pending cronjobs with cron.php
* Fixes for the accounts suspend API
2022-12-08 23:35:45 +01:00
Bofh ebe97d05f7 Fix older/newer than filter on accounts search API method 2022-12-08 21:50:47 +01:00
Bofh fac4cca53a Add API http method for suspending accounts + fixes 2022-12-08 21:21:57 +01:00
Bofh ff321f75fd Created cron system for spawning filter action jobs respecting intervals
* Fixes to adapt more stuff to the cron system from base.php + PgDatabase
2022-12-08 21:08:23 +01:00
Bofh 28e29d3b91 Added cron/job API namespace for handling jobs in cron 2022-12-08 19:42:53 +01:00
Bofh ec3e0cb224 Moved apimod to mod_php and improved api mod.php system 2022-12-08 18:10:18 +01:00
Bofh c6dd28fb30 Add job interval configuration for filter-action UI 2022-12-08 17:32:54 +01:00
Bofh a1ab2a173c Added feature to add new instances to the config 2022-12-08 16:41:08 +01:00
Bofh 9ca4b800ac Capitalize text on all "toast" 2022-12-08 00:26:16 +01:00
Bofh ac0b11aee8 Added a feature to save filter_actions for selected filter 2022-12-08 00:18:06 +01:00
Bofh 2d76574ec9 Add action for filter loading system in UI 2022-12-07 02:41:59 +01:00
Bofh d03220f8cc Change order of content arrangement in #instance/filter-users 2022-12-07 01:41:49 +01:00
Bofh 4b68ae654c Improved UX in paging navigation on account results 2022-12-07 01:26:15 +01:00
Bofh 71ea98643c Add search by "instances" in accounts/search API
* Thanks to @Fer_24@xarxa.cloud for proposing this feature
2022-12-07 01:15:39 +01:00
Bofh 6590a883b1 Add a cronjob block for cleaning old cache "ondemand" content 2022-12-07 00:43:53 +01:00
Bofh 3871171544 Add username to session ID 2022-12-07 00:32:41 +01:00
Bofh 0b69b9f97c Add delete_filter function + UX improvements 2022-12-07 00:13:00 +01:00
Bofh d43b722b2c Make "filter-users" the default screen for #instance 2022-12-07 00:12:32 +01:00
Bofh a1616e084b Add last activity filter on UI + fixes 2022-12-06 18:46:33 +01:00
Bofh 1b97c9a03d Add older|newer_than_days on accounts search filtering 2022-12-06 17:59:49 +01:00