Bofh
|
37313a4e9d
|
Add support for filtering text by "length" <= >= < >
|
2022-12-25 20:50:52 +01:00 |
Bofh
|
177b6a6804
|
Added "set:" preffix to check the parameter was set
|
2022-12-24 18:41:40 +01:00 |
Bofh
|
f306f8dd4d
|
Add type "boolean" in "arg" base.php function
|
2022-12-24 18:37:50 +01:00 |
Bofh
|
26871ff539
|
Support the use of global (or other) variables in "arg" method
|
2022-12-24 01:51:03 +01:00 |
Bofh
|
5022d34c28
|
Add "arg" function for parsing http (or other) parameters
|
2022-12-24 01:45:21 +01:00 |
Bofh
|
45b3e5cb15
|
Adapt cron/db system to add a field "last_accessed" for purging unused caches
|
2022-12-21 01:10:04 +01:00 |
Bofh
|
b365cd46d2
|
Support filters with "=" selector, which does the same as normal, without normalizing word sounds
|
2022-12-18 13:15:48 +01:00 |
Bofh
|
2a1c28e041
|
Allow searching any filter using "literal" (exact) matches, without word modifications
|
2022-12-18 01:05:24 +01:00 |
Bofh
|
a1edf0a13f
|
Improved regex search + don't short words that have < than 4 chars
|
2022-12-17 22:41:46 +01:00 |
Bofh
|
01dbd06e8e
|
Do not cache http responses on "ok" or "error" JSON responses
|
2022-12-17 22:27:45 +01:00 |
Bofh
|
a50f14472f
|
Fix exception when new-lines on stripped html was not making some matches work
|
2022-12-17 22:05:44 +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
|
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
|
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
|
4ddbb0277e
|
Improved word normalization for searches + improved regex higlighting
|
2022-12-15 14:12:39 +01:00 |
Bofh
|
3e1f3d01e0
|
Implemented more complex expressions such as "regex" + improvements on matches
|
2022-12-15 03:23:55 +01:00 |
Bofh
|
df6a94fa11
|
Add feature to "hide" users on specific filters for N time
|
2022-12-13 16:37:48 +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
|
5b00931878
|
Handle errors on search query + Make search work better
|
2022-12-12 23:18:49 +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
|
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
|
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
|
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
|
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
|
2d76574ec9
|
Add action for filter loading system in UI
|
2022-12-07 02:41:59 +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
|
806c5eac1e
|
Fix bug on content cache creation process
|
2022-12-06 15:31:16 +01:00 |
Bofh
|
9f52c87575
|
Make apimod a method for calling API internally on PHP
|
2022-12-05 16:48:31 +01:00 |
Bofh
|
9a2d4a7f9f
|
Execute filter and implement filter clear/update
|
2022-12-05 13:35:02 +01:00 |
Bofh
|
d8d2e39a74
|
Little bug fix
|
2022-12-03 17:05:38 +01:00 |
Bofh
|
adeccbc4f1
|
Various improvements in cron.php
|
2022-12-03 17:03:23 +01:00 |
Bofh
|
eb180cdcdf
|
Create cron.php system for executing background jobs
* Adapt PgDatabase class for cron (called by "php cron.php")
|
2022-12-03 16:49:40 +01:00 |
Bofh
|
f64bd4bc36
|
Create cronjob_db system for caching query results in cron.php
|
2022-12-03 15:59:01 +01:00 |
Bofh
|
ed2e7c453a
|
Add methods to cache content (for example, on heavy postgres queries)
|
2022-12-02 16:53:24 +01:00 |
Bofh
|
1aa7682a91
|
Create accounts search API for searching local and remote accounts
|
2022-12-01 01:05:56 +01:00 |
Bofh
|
5c1b1fb329
|
Allow apiresult to receive a string directly
|
2022-11-28 16:42:58 +01:00 |
Bofh
|
2be4a5b655
|
Add API actions to approve/reject Mastodon accounts + improvements
|
2022-11-28 00:50:33 +01:00 |
Bofh
|
13505f5346
|
Add API for getting pending users + API base modifications
|
2022-11-27 21:18:56 +01:00 |
Bofh
|
fe34262b99
|
Add Classes to implement PgDatabase
|
2022-11-24 23:41:05 +01:00 |
Bofh
|
a56fb308f8
|
Change data system to save stuff in /var/tmp (configurable later)
|
2022-11-22 15:25:59 +01:00 |
Bofh
|
741e9994d4
|
Add http_response_code to "apiresult" function
|
2022-11-22 11:55:58 +01:00 |
Bofh
|
0a65457586
|
Add api/v1 + API to get the instances config
|
2022-11-22 02:22:58 +01:00 |