Commit Graph

150 Commits

Author SHA1 Message Date
Bofh 197a4273e8 Remove 8080 port requirement + Improved support for Apache setups 2022-12-17 21:54:05 +01:00
Bofh 1cff51370f Add last_n_active to limit db query by the latest N active users 2022-12-17 20:05:27 +01:00
Bofh 2c118b54bf Little css fix in .fields 2022-12-17 19:46:17 +01:00
Bofh d197565fcc Create client-side javascript cache-busting system for API 2022-12-17 19:22:57 +01:00
Bofh f0c027e178 Implement native HTTP application level caching (using currently implemented caching systems)
* To "bust" an HTTP cache, implement a timestamp GET parameter that changes whenever it should.
2022-12-17 18:07:13 +01:00
Bofh ba7102063e Change Dockerfile FROM image to -apache flavour (-cli is only for dev) 2022-12-17 13:33:35 +01:00
Bofh 3147f68899 Added UI loader for http requests 2022-12-17 13:03:03 +01:00
Bofh c011be4f3f Little css fix on filter-users where "note" was incorrectly displayed on large texts 2022-12-17 02:57:33 +01:00
Bofh 959a26c8ba Fix bug where fields + note was not creating space, and therefore some regex where not working 2022-12-17 02:52:48 +01:00
Bofh 6be8bd5564 Merge branch 'main' of git.nogafam.es:nobigtech/soselo 2022-12-17 01:59:09 +01:00
Bofh 23967917d2 Add Soselo favicon and icons in UI 2022-12-17 01:58:47 +01:00
Bofh 1cc72e8d55 Actualizar 'README.md' 2022-12-17 00:45:20 +00:00
Bofh a9d8d23197 Fix bug where "content" hash argument was not being updated 2022-12-17 00:33:30 +01:00
Bofh 0d5b7e9800 Fix important bug (created on ffdbab1) that was miss-ordering accounts in results (DANGEROUS) 2022-12-16 18:01:18 +01:00
Bofh 0dac8435dd Change cache key for filter-users matches 2022-12-16 16:04:33 +01:00
Bofh ffdbab1f79 Improved "user_filter=remote" page caching 2022-12-16 04:38:14 +01:00
Bofh d8170d81d8 Suppord word sound normalization in regex searches
* For example, a single (crypto|nft) regex will make "cripto" or cr1pto also match.
2022-12-16 03:36:14 +01:00
Bofh 05b8d6e6da Fix important bug causing the web to hang on redundant replacements 2022-12-15 18:09:23 +01:00
Bofh 1fa4f2c56e HTML standard mode (-quirks mode) 2022-12-15 16:20:15 +01:00
Bofh 53baa7f968 Actualizar 'README.md' 2022-12-15 14:16:05 +00:00
Bofh 858dd99418 Refactor application name to "Soselo" 2022-12-15 14:56:43 +01:00
Bofh 4ddbb0277e Improved word normalization for searches + improved regex higlighting 2022-12-15 14:12:39 +01:00
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