Commit Graph

45 Commits

Author SHA1 Message Date
Brent Simmons
f0634d7ab0 Delete no-longer-used fetchStarredAndUnreadCount completion block version. 2024-04-03 21:53:11 -07:00
Brent Simmons
2eeb0050e2 Remove some no-longer-used completion-based API. 2024-04-03 21:49:52 -07:00
Brent Simmons
40abf257a6 Make RSParser a local module and rename it to Parser. 2024-04-02 21:43:06 -07:00
Brent Simmons
2461e937bf Replace RSCore with several local modules. Update code as needed. 2024-03-20 20:49:15 -07:00
Brent Simmons
b2d3128b2d Fix build errors. 2024-03-19 10:15:30 -07:00
Brent Simmons
5c6e5807d9 Change markAndFetchNew to just mark and get rid of the return value
which wasn’t used anywhere.
2024-03-18 21:39:13 -07:00
Brent Simmons
e58f8ada42 Fix many build errors. 2024-03-18 21:08:37 -07:00
Brent Simmons
6725bedc64 Fix several build errors. 2024-03-13 21:03:52 -07:00
Brent Simmons
9906fbc295 Add ArticlesDatabase scheme. 2024-03-13 20:18:08 -07:00
Brent Simmons
2737091151 Simplify Package.swift. 2024-03-13 20:16:09 -07:00
Brent Simmons
9b1aa8fc7f Make ArticlesDatabase an actor. No serial dispatch queue. 2024-03-12 23:01:35 -07:00
Brent Simmons
13403df8f1 Create new FMDatabase+Extras.swift and FMResultSet+Extras.swift. Rename DatabaseError.isSuspended to DatabaseError.suspended. 2024-03-10 18:42:54 -07:00
Brent Simmons
917d433deb Fix several build issues. 2024-03-10 18:17:04 -07:00
Brent Simmons
7f7aebc3a9 Add some missing import FMDB. 2024-03-10 16:44:16 -07:00
Brent Simmons
b662ad8ad3 Make local Database and FMDB modules. Stop using RSDatabase. 2024-03-10 16:39:38 -07:00
Brent Simmons
4c866b7230 Rename WebFeed and webFeed to Feed and feed. 2024-02-25 23:12:21 -08:00
Maurice Parker
5bf5706ac9 Restrict RSCore version so that we don't pick up version 1.1 when it happens 2022-11-01 20:26:14 -05:00
Ethan Wong
8c9e4dff49 use .package(path:) for local package dependencies to resolve Xcode 14 errors. 2022-10-02 17:35:41 -05:00
Duncan Babbage
cc855f3832 link and URL vars for Article. Storage as rawLink
link and externalLink fall back to providing the raw stored value if URLs cannot be created even with repair.
2021-09-30 16:51:59 +13:00
Maurice Parker
f9af3c786b Merge branch 'ios-candidate' 2021-05-25 20:12:50 -05:00
Brent Simmons
6d0ac71e21 Use RSParser 2.0.2 and higher — make sure we have latest bug fixes. 2021-05-23 13:22:53 -07:00
Maurice Parker
cc6449ed2a Merge branch 'ios-candidate' into main 2021-04-03 11:10:04 -05:00
Maurice Parker
ea6cece955 Merge branch 'mac-release' into main 2021-04-03 09:30:42 -05:00
Maurice Parker
c35dabbc55 Change so that we don't join with the articles table when finding starred or unread article ids. Fixes #2915 2021-03-27 19:27:23 -05:00
Maurice Parker
e73b174473 Change so that we don't join with the articles table when finding starred or unread article ids. Fixes #2915 2021-03-27 19:12:30 -05:00
Maurice Parker
9c761c80df Add an optional limit parameter to the smart feeds. Fixes #2627 2021-03-24 05:43:07 -05:00
Fábio Oliveira
ddf9f41145 Re add code and clean up
- Re add code reverted earlier
- Clean up code that builds `authorsNames` based on model objects
- Applied the right indentation
2021-02-11 22:59:45 +01:00
Fábio Oliveira
3e082f938a
Merge branch 'main' into pr/1695 2021-02-11 01:37:01 +01:00
Fábio Oliveira
b4e150044b Add author information to indexed body
- Restore old code for database model
- Modified `bodyForIndex` function to return `authorsNames` in it
2021-02-11 01:31:36 +01:00
Fábio Oliveira
6903db357a Update ArticlesDatabase.swift
Delete code that forced rebuilding the search index
2021-02-11 00:26:26 +01:00
Maurice Parker
53b3046635
Revert "Adds author name as a searchable field" 2021-02-10 16:54:28 -06:00
Maurice Parker
6d72bc0c19
Merge pull request #2802 from banaslee/pr/1695
Adds author name as a searchable field
2021-02-10 16:43:28 -06:00
Maurice Parker
c063880c48 Upgraded to production releases of RS libraries 2021-02-10 16:19:26 -06:00
Fábio Oliveira
408e5d0ba0 Clean code
- Extract statements to create `search` table so it can be reused during database migration
- Rename `authors` as `authorsNames` for consistency
- Extract code to improve readability
2021-02-10 20:25:21 +01:00
Fábio Oliveira
cf1be33044 Add code to migrate database model
Add code to migrate database model when `authors` column is not present in the index
This recreates `search` table and resets the articles index
Added missing or code in error
2021-02-10 19:46:16 +01:00
Fábio Oliveira
5636ca0a01 Add authors names to article search index
Add authors to search table;
Add authors names to ArticleSearchInfo and modified code to retrieve it correctly.

Needs some cleaning up before being ready to merge.
2021-02-09 14:13:24 +01:00
Maurice Parker
91ce7ff189 Update to the latest RSCore 2021-02-07 20:26:30 -06:00
Brent Simmons
57e63c1385 Add database query and assertion to check for missing statuses. Only runs when running a DEBUG build.
Also: remove unused function existingStatusesForArticleIDs.
2021-01-07 20:31:19 -08:00
Maurice Parker
fb6e51124f Made internal packages dynamic and removed Asset catalog from the share extension. Fixes #2680 2020-12-21 10:55:00 -06:00
Anh Do
8fa1c10d2f
Fix FTS operators not working 2020-12-06 22:56:34 -05:00
Maurice Parker
ec66c08f9a Make status marking asynchronous. 2020-10-24 17:17:46 -05:00
Maurice Parker
a500166af0 Merge branch 'ios-release' into main 2020-08-15 11:03:29 -05:00
Maurice Parker
37cfccede6 Use simple module name for dependencies instead of the fully qualified version 2020-07-30 20:43:18 -05:00
Maurice Parker
66991a85e6 Convert Account into a Swift Package 2020-07-30 07:27:14 -05:00
Maurice Parker
fbfdbb04c7 Convert Articles, ArticlesDatabase, and SyncDatabase to Swift Packages 2020-07-30 04:54:21 -05:00