Commit Graph

128 Commits

Author SHA1 Message Date
Bofh 9858629c2b Implement "contains" and "regex" expressions highlighting in search 2022-12-15 13:24:27 +01:00
Bofh 3e1f3d01e0 Implemented more complex expressions such as "regex" + improvements on matches 2022-12-15 03:23:55 +01:00
Bofh e99c1bfc89 Little bug fix + Default link for "Manage" action on filter-users 2022-12-15 00:05:12 +01:00
Bofh 695fefe5ab Add "manage" button on users, to open the account on instance manager URL 2022-12-14 23:44:03 +01:00
Bofh 717d1bba06 Add word highlights for "expression-based" accounts search 2022-12-14 22:50:47 +01:00
Bofh 36da78d804 Add "simple" filter highlighting (on yellow "span"s) 2022-12-13 18:14:11 +01:00
Bofh ae5fd76efa Fix bug where empty "preset_name" was not creating filter_key correctly 2022-12-13 18:13:33 +01:00
Bofh 94f5061b6a Add "search" button on Results: section too 2022-12-13 17:31:21 +01:00
Bofh df6a94fa11 Add feature to "hide" users on specific filters for N time 2022-12-13 16:37:48 +01:00
Bofh dcc159ea91 Improved feedback on silence/suspend actions 2022-12-13 13:15:19 +01:00
Bofh 739f23cc63 Make a method for filedb_* to delete all files inside + improved cache prune 2022-12-13 12:12:21 +01:00
Bofh b2cf09a6cd Added cli.php command for purging caches 2022-12-13 12:06:30 +01:00
Bofh 29b6186c8e Make activeElement blur() on html when calling any API 2022-12-13 01:39:12 +01:00
Bofh a30fb7e020 Add feature to "trust" users (add their acct on a list) so they are never shown anywhere 2022-12-13 01:23:45 +01:00
Bofh ceefa2a363 Fix toast._show was not showing html text correctly 2022-12-13 01:14:09 +01:00
Bofh a5c9f07f2e Add "silence" button for accounts in #instance/filter-users view 2022-12-13 00:03:19 +01:00
Bofh 489297deb9 Make "paging" visible also on the bottom of the search results
* Allow for repeating E.template function by reimplementing base
2022-12-12 23:47:31 +01:00
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