1
1
Fork 0
mirror of https://code.mensbeam.com/MensBeam/Arsse.git synced 2024-12-22 21:22:40 +00:00
Commit graph

768 commits

Author SHA1 Message Date
J. King
410310282f Load configuration after forking 2021-07-05 20:57:05 -04:00
J. King
29b83b4453 Prototype forking daemon 2021-07-05 20:57:05 -04:00
J. King
fc2abc1203 Use D modifier for all patterns with $ anchors 2021-06-24 11:58:50 -04:00
J. King
62d49e0d3c Fill out most of the manual page
Removed most of the online help as a consequence since maintaining
both is frought
2021-05-29 21:48:02 -04:00
J. King
0236b42052 Use tmpfiles to create link to config file 2021-05-23 17:57:50 -04:00
J. King
19ab9df063 Fix more bugs 2021-05-18 18:42:42 -04:00
J. King
3eab5aad5d Fix adding users to a blank database 2021-05-17 15:46:46 -04:00
J. King
fa4ab3218a Version bump 2021-03-18 10:45:28 -04:00
J. King
c4260323bc Answer 201 to PUTs like Miniflux
This does not apply to PUTs to /v1/entries, which were always 204
2021-03-18 10:38:20 -04:00
J. King
2e4c57b75b Work around Microflux for Miniflux 2021-03-06 11:26:14 -05:00
J. King
dcb81ea043 Only provide icon ID when there is data 2021-03-05 19:31:11 -05:00
J. King
f90b78a976 Fix compatibility issues
- CORS OPTIONS requests may not ask for credentials
- Fever apparently didn't care about supplied Content-Type
2021-03-03 16:46:57 -05:00
J. King
8aca42c882 Minor fixes for correctness 2021-03-02 11:27:48 -05:00
J. King
6b7257a6c4 Work around more MySQL stupidity 2021-03-02 11:04:42 -05:00
J. King
5cfa01f4d5 Work around MySQL stupidity 2021-03-02 11:04:21 -05:00
J. King
64ca5f1be0 Fix strict comparison failures 2021-03-01 23:27:58 -05:00
J. King
fa6d641634 Implement CLI for tokens 2021-02-10 21:40:51 -05:00
J. King
3795b1ccd8 Simplify CLI command processing 2021-02-10 12:46:28 -05:00
J. King
e8ed716ae6 Fix errors in CLI documentation 2021-02-10 12:11:28 -05:00
J. King
68422390da Implement CLI for user metadata 2021-02-10 11:24:01 -05:00
J. King
b7c7915a65 Enforce admin rquirements in NCNv1 2021-02-09 10:05:44 -05:00
J. King
a760bf2ded Implement "t" and "f" booleans in TT-RSS 2021-02-09 09:37:31 -05:00
J. King
9ad4a37ddf Tests and fixes for Miniflux with PDO 2021-02-09 09:26:12 -05:00
J. King
29761d767a Update documentation 2021-02-08 23:52:13 -05:00
J. King
dad74c2616 Implement Fever icons 2021-02-08 23:51:40 -05:00
J. King
90034ac1f8 Style fixes 2021-02-08 19:14:11 -05:00
J. King
211cea648e Implement TT-RSS API level 15 2021-02-08 19:07:49 -05:00
J. King
eae0ba4b68 Tests fortoken operations 2021-02-07 19:20:10 -05:00
J. King
9cc779a717 Import/export tests 2021-02-07 13:04:44 -05:00
J. King
37fd2ad4e9 Tests for new exception features 2021-02-07 09:07:53 -05:00
J. King
6c2de89f3e Revert copy-paste corruption 2021-02-06 23:55:40 -05:00
J. King
54a6fcc0d6 Consolidate object factoriesinto one place 2021-02-06 23:51:23 -05:00
J. King
b4ae988b79 Prototype OPML handling 2021-02-05 20:29:41 -05:00
J. King
dd29ef6c1b Add feed refreshing stubs 2021-02-05 09:04:00 -05:00
J. King
ab1cf7447b Implement article marking 2021-02-05 08:48:14 -05:00
J. King
334a585cb8 Implement single-entry querying 2021-02-04 20:19:35 -05:00
J. King
a7d05a7717 Feed- and category-specific entry list routes 2021-02-04 17:52:40 -05:00
J. King
00ad1cc5b9 Last tests for article querying 2021-02-04 17:07:22 -05:00
J. King
e42e25d333 More article query tests 2021-02-03 16:27:55 -05:00
J. King
f7b3a473a9 Clarify ordering syntax rationale 2021-02-03 14:20:34 -05:00
J. King
af51377fe9 First set of article query tests 2021-02-03 13:06:36 -05:00
J. King
23ca6bb77b Count articles without offset or limit 2021-02-02 16:14:04 -05:00
J. King
0e7abfa8f9 Largely complete article querying
Tests to come
2021-02-02 16:05:16 -05:00
J. King
a43f8797c5 Add ability to sort by folder ID or name 2021-02-02 11:51:19 -05:00
J. King
ed27e0aaaa Sort nulls consistently
PostgreSQL normally sorts nulls after everything else in ascending order
and vice versa; we reverse this, to match SQLIte and MySQL
2021-02-02 10:00:08 -05:00
J. King
9d7ada7f59 Partial implementation of article sorting 2021-02-01 22:11:15 -05:00
J. King
007183450a Context and column list for article queries
Sorting and transformation still need to be figured out
2021-02-01 21:02:46 -05:00
J. King
197cbba77d Document article column definitions 2021-02-01 15:48:44 -05:00
J. King
ddbcb598e8 Match more closely Miniflux query string behaviour
- The starred key is a simople boolean whose value is immaterial
- Blank values are honoured for keys other than starred and status
2021-01-31 10:44:27 -05:00
J. King
bb89083444 Perform strict validation of query parameters
This is in fact stricter than Miniflux, which ignores duplicate values
and does not validate anything other than the string enumerations
2021-01-30 21:37:19 -05:00
J. King
1e924bed83 Partial query string normalization 2021-01-30 13:38:02 -05:00
J. King
3b2190ca10 Include folder names directly in subscription list 2021-01-28 14:55:18 -05:00
J. King
ad094f5217 Don't return icons without types at all 2021-01-27 13:41:10 -05:00
J. King
cd5f13f4b9 Tests for icon querying 2021-01-27 11:53:07 -05:00
J. King
76f1cc8e91 Adjust users of subscriptionIcon 2021-01-26 13:44:44 -05:00
J. King
cc2672fb0a Improve icon fetching interface 2021-01-26 12:03:26 -05:00
J. King
8e749bb73c Report 404 on icons for absence of data
This is significant as upgraded databases have icon IDs, but no data
2021-01-25 09:02:52 -05:00
J. King
bdf9c0e9d2 Prototype feed icon querying 2021-01-24 21:53:45 -05:00
J. King
9197a8d08b Implement feed deletion 2021-01-24 21:12:32 -05:00
J. King
8eebb75b18 Implement feed editing 2021-01-24 20:28:00 -05:00
J. King
5a8a044a92 Implement single-feed querying 2021-01-24 13:54:54 -05:00
J. King
a646ad77b7 Use a read transaction when computing filter rules 2021-01-24 11:45:08 -05:00
J. King
cca4b205e4 Correct error output of getCategoryFeeds 2021-01-24 11:33:00 -05:00
J. King
7893b5f59d More feed adding tests 2021-01-23 18:01:23 -05:00
J. King
36cc4928b9 Test feed fetching errors for Miniflux 2021-01-23 12:00:11 -05:00
J. King
727864f401 Implement feed listing by category
Also modify user list to reflect changes in Miniflux 2.0.27.
2021-01-22 18:24:33 -05:00
J. King
4972c79e32 Allow simpler feed exception creation 2021-01-21 22:44:22 -05:00
J. King
6936f365e4 Add calls coming in next version of Miniflux 2021-01-21 11:11:25 -05:00
J. King
fd25be5c27 Basic tests for feed creation 2021-01-20 18:28:51 -05:00
J. King
e7b2f54183 Prototype feed creation 2021-01-19 23:17:03 -05:00
J. King
14d2d19ae1 Tests for Miniflux feed listing 2021-01-17 13:02:31 -05:00
J. King
2cf4bf0d4d Prototype Miniflux feed listing 2021-01-16 22:52:07 -05:00
J. King
86897af0b3 Add ability to enable scraper
Also transfer any existing scraper booleans on database upgrade. It was
previously possible to enable scraping manually by editing the database,
and these settings will be honoured.
2021-01-16 19:06:20 -05:00
J. King
7897585d98 Test scraping
Text search should also match scraped content when appropriate
2021-01-16 17:58:31 -05:00
J. King
4cb23dd198 Partial implementation of proper content scraping 2021-01-16 14:24:01 -05:00
J. King
e74b44cc39 Change favicon to icon_url and add icon_id 2021-01-15 23:15:22 -05:00
J. King
2536c9fe03 Last tests for article filters 2021-01-15 23:02:33 -05:00
J. King
9f2b8d4f83 Imprement setting of filter rules 2021-01-14 12:42:33 -05:00
J. King
618fd67f80 Set marks for filtered articles on feed refresh 2021-01-13 14:54:22 -05:00
J. King
097362881b Tests for filtering during feed parsing 2021-01-11 23:12:43 -05:00
J. King
549c7bdc72 Style fixes 2021-01-08 15:47:19 -05:00
J. King
4f34b4ff29 Rule refactoring
- The Database class is now responsible for preparing rules
- Rules are now returned in an array keyed by user
- Empty strings are now passed through during rule preparation
2021-01-08 14:17:46 -05:00
J. King
c1eff8479c Simplify configuration property caching 2021-01-07 19:49:09 -05:00
J. King
6dba8aa66b Fixes for rules
- Whitespace is now collapsed before evaluating rules
- Feed tests are fixed to retrieve a dumy set of rules
- Rule evaluation during feed parsing also filled out
2021-01-07 15:08:50 -05:00
J. King
461e256052 Work around MySQL syntax weirdness
Also improve test for token translation to actually test that the
translated tokens are accepted by the database system
2021-01-07 10:12:38 -05:00
J. King
47ae65b9d3 Function to apply filter rules 2021-01-03 22:15:39 -05:00
J. King
ffc5579a7a Partial implementation of filter rule handling 2021-01-03 16:41:15 -05:00
J. King
7e17332714 Implement marking all as read for Miniflux 2020-12-31 17:50:40 -05:00
J. King
31f0539dc0 Implement Miniflux user deletion 2020-12-31 17:03:08 -05:00
J. King
bf95b134bd Fix up error codes for category changes 2020-12-31 15:46:47 -05:00
J. King
197922f92f Implement Miniflux user creation 2020-12-31 13:57:36 -05:00
J. King
ee0c3c9449 Tests and fixes for user modification 2020-12-30 17:01:17 -05:00
J. King
67f577d573 Bump emulated Miniflux version 2020-12-28 08:43:54 -05:00
J. King
f58005640a Prototype user modification 2020-12-28 08:12:30 -05:00
J. King
2946d950f2 Forbid more user names
- Control characters are now forbidden
- Controls and colons are now also forbidden when renaming
2020-12-27 10:08:00 -05:00
J. King
405f3af257 Invalidate sessions and Fever passwords when renaming users 2020-12-25 22:22:37 -05:00
J. King
5ec04d33c6 Add backend functionality to rename users 2020-12-25 17:47:36 -05:00
J. King
88cf3c6dae Test filter rule retrieval 2020-12-23 09:38:22 -05:00
J. King
d66cf32c1f Style fixes 2020-12-22 16:13:12 -05:00
J. King
a81760e39d Aggressivly clean up hidden articles
Notably, starred articles are cleaned up if hidden
2020-12-22 15:17:18 -05:00