Commit Graph

98 Commits

Author SHA1 Message Date
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
Bofh 5dc190f529 Created API to add scheduled actions/jobs for accounts 2022-12-06 17:17:23 +01:00
Bofh 8af0eaced3 Add title=verified to verified icon 2022-12-06 17:17:09 +01:00
Bofh edf7c6091a Improved paging and accounts/search API 2022-12-06 16:52:10 +01:00
Bofh e6fd4401b6 Improved accounts search 2022-12-06 16:18:34 +01:00
Bofh 806c5eac1e Fix bug on content cache creation process 2022-12-06 15:31:16 +01:00
Bofh 0e6aa33f8a Created minimal UI for profiles loaded in filter 2022-12-05 18:52:23 +01:00
Bofh a3e44fc699 Implement paging on mastodon/accounts/search API 2022-12-05 17:20:06 +01:00
Bofh 9f52c87575 Make apimod a method for calling API internally on PHP 2022-12-05 16:48:31 +01:00
Bofh 1488ffbc6c Implement mastodon accounts search by filter preset ID 2022-12-05 16:43:10 +01:00
Bofh 755db19ca7 Implemented filter presets saving/loading + improvements 2022-12-05 16:31:15 +01:00
Bofh 9a2d4a7f9f Execute filter and implement filter clear/update 2022-12-05 13:35:02 +01:00
Bofh ca8adb33c7 Change textarea placeholder on profile-search-type selector 2022-12-04 00:29:04 +01:00
Bofh d76fa05683 Added filter-users basic template 2022-12-03 18:54:18 +01:00