Commit Graph

32 Commits

Author SHA1 Message Date
Brent Simmons 3a87af50ff Fix warnings about retroactive conformances by marking them as @retroactive. 2024-11-01 20:53:44 -07:00
Brent Simmons 19ce65844a Use Swift 5.9. 2024-10-31 22:17:56 -07:00
Maurice Parker 7f531282d6 Restrict RSCore version so that we don't pick up version 1.1 when it happens 2022-11-01 20:24:58 -05:00
Ethan Wong f52276f9a1 use .package(path:) for local package dependencies to resolve Xcode 14 errors. 2022-09-17 13:37:59 -05:00
Brent Simmons a0e8ca00ee Fix one of the causes of watchdog crashes in WidgetDataEncoder by fetching just the count of starred articles — instead of fetching all the starred articles and counting them, which can take a long time. 2022-05-12 21:56:49 -07: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