982 Commits

Author SHA1 Message Date
ChrisLi
c8cdf00a67
LibrarySearchResultView (#391)
* LibrarySearchResultView

* download favicons

* search result action

* LibrarySettingsView

* wording

* build number
2021-08-25 22:00:40 -04:00
ChrisLi
c865da5515
Library category view (#390)
* category view

* build number

* LibraryCategoryView

* fix

* FaviconDownloadService

* remove old code

* build number
2021-08-25 17:27:48 -04:00
ChrisLi
98ca3b6473 LibraryInfoView 2021-08-23 09:27:10 -04:00
ChrisLi
94bf61a880 LibraryLanguageView 2021-08-23 09:20:06 -04:00
ChrisLi
d75cb874bc
New library iOS 13 compatibility (#389)
* dependency

* dependency

* split controller

* compatibility

* setup show category

* showCategory

* LibraryInfoView

* ZimFileDetailView

* search

* refactor

* zimfile tapped action

* ZimFileDetailView

* disable large title

* schema refactor

* LibraryViewController

* wording

* add category
2021-08-20 21:53:58 -04:00
ChrisLi
c741bfcf6e refactoring zimfile descriptions 2021-07-07 20:24:17 -04:00
ChrisLi
03cdb673c7
Realm schema v5 migration (#386)
* schema

* migrate

* entity cleanup

* additional required properties

* don't save bookmark data
2021-06-30 17:53:42 -04:00
ChrisLi
7d6e491aa6
Defaults upgrade (#385)
* upgrade dependency

* enum

* migrate function

* migrate

* renaming

* migration

* LibraryInfoView_iOS 13

* LibraryCategoryView_iOS13

* refactor

* Defaults[.libraryLanguageCodes]

* @Default(.recentSearchTexts)

* LibraryPrimaryView iOS 13

* LibrarySearchResultView iOS 13

* LibraryLanguageFilterView iOS 13

* libraryDownloadUsingCellular

* ZimFileDetailView

* LibraryCategoryView

* LibraryInfoView

* Revert "LibraryLanguageFilterView iOS 13"

This reverts commit 2590ae6c24e04ffb4f29f8c810880cfd8ffe7db4.

* settings

* LibraryLanguageFilterView

* LibraryCategoryView
2021-06-28 21:55:21 -04:00
ChrisLi
93d77b751f
Library download favicon (#384)
* downloadFavicon

* saveFavicon

* downloadFavicon

* downloadFavicons

* downloadFavicons

* refactor

* empty category
2021-06-23 22:42:19 -04:00
ChrisLi
f1d268e46f
Library operations (#383)
* realm version

* opds refresh operation

* realm property

* library operation

* remove old file

* OPDSRefreshOperation refactor

* doc strings

* purge
2021-06-21 20:27:34 -04:00
ChrisLi
9d2336e784
Coredata stack (#381)
* data model

* rename

* in memory Persistent

* unique id

* required creationDate

* required urls

* optionality

* data model

* update CoreData

* logging
2021-06-13 22:14:59 -04:00
ChrisLi
7411466b7c private vars 2021-05-27 10:49:04 -04:00
ChrisLi
eb054cccff in progress activity 2021-05-26 23:06:21 -04:00
ChrisLi
642eb03878
Search results view (#380)
* setup

* ZimFileCell

* ZimFileCell

* refactor

* filter all / none button

* search filter row

* InfoView

* InfoView

* wording

* InfoView text

* search result list

* SplitView setup

* tweaks

* SearchResultsHostingController

* update text

* SplitView

* refactor

* ResultsListView

* readable guide

* updateRecentSearchText

* recent search

* backgroundColor

* recent search

* iOS 13 compatibility

* Alert

* iOS 13 hack

* recent search text view model

* feature flag

* build number

* dependency update

* changelog
2021-05-26 22:52:03 -04:00
ChrisLi
6b24ae09cd
removing old swiftui experimental code (#378)
* library master sorting

* info view color

* deprecation

* remove old coe
2021-05-14 17:50:33 -04:00
ChrisLi
561b4454dc
Library info view (#375)
* LibraryInfoView

* ActionCell

* applyBackupSetting

* refactor

* action

* last update section

* info view refresh
2021-04-21 22:23:23 -04:00
ChrisLi
84664883b0
Favicon download processor (#374)
* FaviconDownloadProcessor

* downloadFavicon

* LibraryService

* LibrarySearchResultView

* updateSearchResults debounce

* remove the thing that does not work

* ZimFileDownloadDetailView
2021-04-18 10:19:35 -04:00
ChrisLi
b22e7eb587
Library search result view (#373)
* move

* private view

* setup search

* search

* search result no text

* search action
2021-04-14 20:42:34 -04:00
ChrisLi
ad7dae4a53
Library sidebar view (#372)
* LibraryViewController

* LibrarySidebarView

* category actions

* category action

* LibraryViewController

* LibraryViewController

* LibraryViewController

* primaryController

* LibraryInfoView

* LibraryViewController

* info button

* language filter done button

* ObservedResults

* ZimFileCell

* zim file cell

* LibraryCategoryView

* on device accessory

* remove old code

* zim file tapped

* download cell description

* format

* descriptions

* old code removal

* deprecations

* queue
2021-04-13 21:32:03 -04:00
ChrisLi
1d4e21a58a
Library category view (#370)
* refactor

* LibraryLanguageFilterView

* enum value

* LibraryCategoryView

* list

* view update

* optional header

* zim file cell button

* remove unused code

* large title

* zimfile cell line limit

* zimFileTapped

* sort descriptro

* remove old code
2021-04-04 20:26:12 -04:00
ChrisLi
5d68b66734
Library language filter view (#369)
* add new file

* show hiding

* refactor

* refactor

* show hide function

* sort in place

* LibraryCategoryView

* show hide
2021-04-04 11:01:23 -04:00
ChrisLi
de6ff5c2b8
Zimfile detail (#368)
* building blocks

* ZimFileDetailView

* migration

* library detail

* cell structure

* state binding

* Buttons

* cleanup

* open url

* hasEnoughDiskSpace

* downloadUsingCellular

* refactor

* delete alert

* alert

* alert

* deleteOrUnlink

* on delete

* open url

* on delete

* 1.14.1

* changelog

* changelog
2021-04-03 10:11:11 -04:00
ChrisLi
1f1046962e
OPDS: hide zim files that require service worker (#367)
* add a field in the metadata

* skip service worker

* remove old hack

* category falback

* deadcode
2021-03-28 10:56:34 -04:00
ChrisLi
26fc27fc99
Settings improvements (#365)
* dependency update

* remove dead code

* move code

* move code

* insetGroupedListStyle
2021-03-28 09:59:15 -04:00
ChrisLi
59dedeb6f7
Zim file service (#354)
* rename file

* move file

* rename class

* refactor

* open close

* deleted zim file readers

* refactor

* refactor

* getMetaData

* refactor

* getRedirectedURL

* getMainPageURL

* __getURLContent

* getURLContent

* URL Response
2021-01-03 21:40:09 -05:00
ChrisLi
d552a43757
iOS14 swiftui settings (#353)
* update zim file icon

* deprecating the today widget

* update launch screen

* homeview initial loading

* expanded details tag

* zimfile cell height

* refactor

* about view

* about view

* sidebar view

* sidebar

* SearchSettingsView

* ExternalLinkSettingsView

* version string

* FontSizeSettingsView

* remove old code

* Rate the App

* SettingsViewController

* feedback & rate

* webview observer

* turn off feature

* changelog

* build number bump

* grouped list

* macOS build

* build option

* changelog
2020-12-31 21:30:42 -05:00
ChrisLi
6a274d164e
Outline items parsing (#352)
* fix library separator insets

* parse outline item

* remove inject js

* scroll to element

* sidebar initial state

* changelog
2020-12-26 16:24:41 -05:00
ChrisLi
0caf17571c
safer library list update (#351) 2020-12-26 09:43:44 -05:00
ChrisLi
70c837ec64
iOS 14 home view & more button (#350)
* version bump

* welcome view

* more button

* memory management
2020-12-25 22:28:12 -05:00
ChrisLi
ad936d0d74
v1.14 iOS 12&13 compatibility (#349)
* more button setup

* sidebar

* setContentController

* sidebar content hosting

* iOS 12&13

* move sideBarDisplayModeObserver

* more button

* refactoring
2020-12-25 14:38:55 -05:00
ChrisLi
b17c533710
WebView context menu & Link Preview (#348)
* tweak of how random works

* context menu

* button observer

* button provider

* button provider for left nav bar

* ButtonProvider

* ButtonProvider

* move WKNavigationDelegate

* outline reload

* fix: redirection in preview

* open url

* feature flags

* WelcomeController navbar hidden

* iOS 12 13 dice icon

* changelog
2020-12-20 11:14:00 -05:00
ChrisLi
6a9c948bcd
v1.14 root controller (#346)
* setup

* bookmark outline

* sidebar toggles

* openURL

* load outline item

* refactor

* webview delegates

* outline button

* OutlineViewController

* outline view

* outline controller

* refactor

* OutlineViewController empty content

* outline controller constraints

* sidebar view controllers

* toggleBookmarks

* bookmark toggle

* Bookmarks controller

* search filter

* bookmark view delegates

* bookmark button updates

* bar button item spacing

* wireup library & settings

* sidebar display mode

* sidebar display mode

* ios 12 compatibility

* reordering files

* reorganize files

* webcontroller

* sidebar with new collection

* sorting out all the weirdness of old iOS versions

* assets

* library patch

* url policy decider

* open main page

* iOS 14 preferred sidebar mode

* font size

* fontsize

* set build target

* set deployment target

* remove old stuff form main storyboard

* no sidebar config on iOS 12

* bump build number

* small sidebar font tweak

* iOS14 specifics

* home button menu

* setup side button menu

* get random page

* wire up

* dice button default action

* button icons

* menu item ordering

* bump build num

* setup home view

* home view

* homeview actions

* refactor

* refactor

* refactor

* refactor

* houseButtonTapped action

* tabbar controller setup

* Revert "tabbar controller setup"

This reverts commit 2534598d00c327341565b855d75359be758195bd.

* remove target conditional

* open file url

* update button image

* purge old code
2020-12-12 21:02:07 -05:00
ChrisLi
8ca1600cb9
iOS 1.13.7 (#345)
* workaround

* bump realm version

* changelog
2020-12-05 17:59:33 -05:00
ChrisLi
6d221ea16b Update realm version to 10.1.x 2020-12-01 21:20:54 -05:00
ChrisLi
fedb5a539a
Library tweaks (#344)
* smaller favincon

* unknown categories
2020-12-01 20:52:25 -05:00
ChrisLi
e96975ac02
iOS14 Library cards (#343)
* setup

* setup

* setup

* basic categories

* refactor

* dismiss

* item count

* section

* refactor

* NavigationLink

* rename file

* rename file

* library category view

* category ordering

* grouped wikipedia

* grouped category

* grouped vategory

* small tweaks

* zim file detail navigation link

* zim file detail nav

* lazy loading

* library controller

* update queue type

* buttons

* eager loading

* refactor

* feature flag
2020-11-28 21:19:54 -05:00
ChrisLi
75c91ad269
iOS 1.13.7 (#340)
* version bump

* realm version bump

* conditional swiftUI based app

* groupID

* disable present with gesture
2020-11-23 22:18:33 -05:00
ChrisLi
d98e345b2c
Search view & sidebar (#339)
* sidebar width

* grouped list search filter

* zimfile filter

* SearchView refactor

* identifiable zim file
2020-11-22 21:00:58 -05:00
ChrisLi
98249e31b4
Sidebar outline (#338)
* use scene view model as splitview delegate

* unavailable outline

* refactor

* refactor
2020-11-22 18:03:19 -05:00
ChrisLi
ee4a54c2c0
Sidebar architecture (#337)
* setup

* uisplitviewcontroller representation

* refactor

* sidebar env

* Revert "sidebar env"

This reverts commit 27f63c4f333d5851110b7820284fa5ac043175ee.

* show hide sidebar

* OutlineButton refactor

* sidebar coordinator

* show hide sidebar

* refactoring

* refactoring

* outline

* outline as sheet

* sheet refactor

* rootview
2020-11-20 17:09:51 -05:00
ChrisLi
ff220572f2
iOS14 outline (#336)
* populate outline

* refactor

* outline view

* button action
2020-11-13 11:09:54 -05:00
ChrisLi
7119aef394
iOS14 search results (#334)
* external url

* safari view

* project file

* safari view

* split out search view model

* search result hookup

* refactor

* search view states

* popover

* search debouncing

* search results

* refactor

* noSearchText & noResult view

* zim file scope change

* search results

* content loading animation

* redacted in progress view

* search result snippet

* disable in progress view

* refactor

* barbuttons

* recent search buttons

* refactor

* search view refactoring

* search recent search text

* update recent search text

* searchbar button action

* clear search text tweak

* small UI tweak
2020-11-06 23:19:22 -05:00
ChrisLi
b45fb411a3
iOS 14 search view (#333)
* some more homeview adjustment

* searchbar

* searchview

* search filter

* scrollable modifier

* cancel button weight

* ScrollableModifier

* search view

* toolbar is search active

* search view empty view

* view models

* icon background

* search bar config

* searchview filter width

* search filter toggle

* zim file cell style

* fine tuning

* SearchCancelButton
2020-10-27 08:10:24 -04:00
ChrisLi
d6ef7329d1
iOS 14 home view improvements (#332)
* move file

* SceneViewModel

* SceneViewModel - webview

* view model - button toggle

* enum based content display mode

* purse

* webview

* revert

* goback forward

* HouseButton

* forward backward buttons

* button binding

* buttons

* rename

* move file

* move file

* move file

* refactoring

* simplify zim file cell

* clipShape

* zim file cell action

* button clip shapr
2020-10-25 07:31:30 -04:00
ChrisLi
ff823544d9
iOS 14 barbutton setup (#331)
* rootview

* rootview content view

* root view
2020-10-24 10:40:48 -04:00
ChrisLi
b861bcb6b8
iOS14 UI first batch (#327)
* setup scene delegate

* root controller

* split off the controller

* new iOS 14 foundation

* buttons

* rootview
2020-10-18 22:31:05 -04:00
ChrisLi
8092de2ee6
Ted category and iOS 1.3.6 release (#326)
* add ted favicon

* add ted category

* disable feature flags

* add category

* bump build version
2020-10-17 11:48:15 -04:00
ChrisLi
e2f5038a9a
fix: iOS 12 launching issue (#325)
* iphone launch fix

* some other tweaks

* add changelog
2020-10-17 11:15:48 -04:00
ChrisLi
0f9219387a
Home view 2nd batch (#323)
* constraints and controllers

* header bar

* top bar

* home view

* style adjustment

* zimfile action

* rounded button refactoring
2020-09-28 18:16:15 -04:00
ChrisLi
214b28e4a8
Home controller (#321)
* initial setup

* cell initial setup

* cell layout

* layout that works

* layout that worked

* refactored layout that works

* controller view constraints

* regular layout

* ios 13 availability

* refactor with diffable datasource

* DIFFABLE DATA SOURCE

* zim file cell

* ZimFileCell

* zim file cell

* dependencies

* zim file cell

* zimfile cell

* home view

* zim file cell

* small tweaks

* feature flags
2020-09-25 18:05:40 -04:00