982 Commits

Author SHA1 Message Date
ChrisLi
1f53990359
App version 2.0 (#468)
* conditional compiles

* RootViewV1

* RootViewV2

* SheetContent

* Reading View

* macos compile

* webview
2022-10-16 08:47:17 -04:00
ChrisLi
29a8c6471b
Background Refresh & Library UI (#467)
* ,pve background task identifier

* disable background task

* welcome bookmark max 6

* cell background color

* move

* library

* enable background fetch

* implement refresh
2022-10-05 22:16:02 -04:00
ChrisLi
fdc732c16f
Settings UI (#466)
* unable to load article alert

* reading settings

* reading settings

* LibrarySettings

* App

* RootView

* move about

* setting content

* remove old files

* library backup settings

* background refresh task

* remove settings view

* move

* fix about

* formatter

* project
2022-10-02 10:10:06 -04:00
ChrisLi
3a61c89da9
Search UI (#465)
* filter

* filter

* included in search toggle

* recent search

* background color

* pass is search active ios

* recentSearches

* macos cell background

* macos search dismiss

* clear search text alert

* info.plist

* search view

* doc string and refactors
2022-09-27 08:34:46 -04:00
ChrisLi
1e856885b6
Search snippet modes (#463)
* move patch

* remove unused patches code

* move patches

* reading view

* changelog

* app version & build number

* iOS 14

* apply search snippets

* remove no snippet text

* article cell search snippet

* project file

* article cell

* page zoom max
2022-09-24 14:25:56 -04:00
ChrisLi
ee2a64c3e5
version 1.16 (#462)
* move patch

* remove unused patches code

* move patches

* reading view

* changelog

* app version & build number

* iOS 14
2022-09-24 10:52:54 -04:00
ChrisLi
cfac53f941
iOS 15 + macOS 12 (#461)
* setup

* RootView setup

* open url

* ReadingView

* ReadingView

* webview delegate

* webview outlint

* sidebar

* buttons

* bar buttons

* reader view model

* reader view model

* ReadingView iOS

* NavigationTitleSubtitle

* map

* introspect

* content group

* setting navigation

* WebViewCoordinator

* webview state

* outline

* root view iOS macos

* ios buttons

* OutlineMenu

* OutlineMenu

* outlint tree

* webview gesture

* bookmark button

* merge notification

* BookmarkMultiButton

* ArticleCell

* ArticleCell

* data model

* iOS bookmarks

* bookmark loading

* search

* RandomArticle

* MainArticleMenuButton

* MoreActionMenu

* swiftui4

* BarSetupModifier

* RootView_SwiftUI4

* NavigationItem

* purge & renaming

* bookmarks

* welcome no content

* welcome no content

* file importer

* macos library hookup

* library iOS setup

* Library

* Library setup

* buttons

* library setup

* CategoryList

* predicates

* grid

* settings view

* RootView_SwiftUI4

* RootView

* root view

* RootView_iOS

* ios reading view model

* rootview

* onchange

* ios bars

* reading view iOS 16 button

* bookmark sort

* mvoe

* project setting

* focus

* NavigationItemButtons

* patches

* PageZoomButtons

* FocusedSceneValue modifier

* pagezoom observer

* search view

* SearchView

* dismiss search

* min detail view size

* search result

* SearchView

* resrch

* dismiss search on url change

* search view

* ios search setup

* search

* macos search

* ios search

* remove old search

* use searchbar

* searching

* ios memory leak

* WebViewConfiguration

* macOS webview

* refactor

* SearchBar setup

* search bar setup

* SearchBar setup

* searchbar

* ReadingView

* webview ref

* outline

* sheet

* toolbar title outline

* compact reading view

* settings

* recent search

* reading view

* reading view

* SearchView

* several small changes

* shortcuts

* commands buttons

* macos command

* navigation action

* patch

* revert

* webview retention

* navigation focused scene value

* ipad keyboard shortcut

* macos app min fheight

* ios sheet action

* macOS 13 build

* purge

* move

* move

* indent

* settings

* file import

* rename

* GridCommon

* library views

* purge

* remove LibraryTopic

* LibraryView_iOS

* move

* coredata context

* add url binding

* ZimFileSelection

* pass url down

* ZimFileDetail

* load main page

* revert

* macos 12 compile

* reading view empty title

* view model

* onboarding view

* root view iOS 16

* ios search

* root view

* OutlineTree

* search overlay

* library view

* library refresh views

* view model

* view model

* LibraryViewModel

* zim file detail

* zim file detail styling

* zim file detail

* library detail & refresh

* ZimFileContextMenu

* directory monitor

* LibraryOperations

* LibraryOperations

* reopen

* migration

* zim file migration

* bookmark migration

* comments

* open zim file via bookmark

* welcome view

* hide bookmark section when empty

* bookmark context menu setup

* bookmark add / delete view model

* skip notification

* refactor view modifier

* remove old code

* url loading

* refactor navigation delegate

* safari sheet

* safari view sheet

* iOS font size

* max width welcome view

* onboarding view

* library view

* FileImportButton

* FileImportButton

* dismiss sheet when loading main page

* settings misc

* category auto refresh

* ios app version
2022-09-21 22:14:10 -04:00
ChrisLi
3122069273
Revert "iOS 15 + macOS 12 (#459)" (#460)
This reverts commit c6be0da9dabad086e1b0b7203f6d51b4a91435c7.
2022-09-21 22:13:08 -04:00
ChrisLi
c6be0da9da
iOS 15 + macOS 12 (#459)
* setup

* RootView setup

* open url

* ReadingView

* ReadingView

* webview delegate

* webview outlint

* sidebar

* buttons

* bar buttons

* reader view model

* reader view model

* ReadingView iOS

* NavigationTitleSubtitle

* map

* introspect

* content group

* setting navigation

* WebViewCoordinator

* webview state

* outline

* root view iOS macos

* ios buttons

* OutlineMenu

* OutlineMenu

* outlint tree

* webview gesture

* bookmark button

* merge notification

* BookmarkMultiButton

* ArticleCell

* ArticleCell

* data model

* iOS bookmarks

* bookmark loading

* search

* RandomArticle

* MainArticleMenuButton

* MoreActionMenu

* swiftui4

* BarSetupModifier

* RootView_SwiftUI4

* NavigationItem

* purge & renaming

* bookmarks

* welcome no content

* welcome no content

* file importer

* macos library hookup

* library iOS setup

* Library

* Library setup

* buttons

* library setup

* CategoryList

* predicates

* grid

* settings view

* RootView_SwiftUI4

* RootView

* root view

* RootView_iOS

* ios reading view model

* rootview

* onchange

* ios bars

* reading view iOS 16 button

* bookmark sort

* mvoe

* project setting

* focus

* NavigationItemButtons

* patches

* PageZoomButtons

* FocusedSceneValue modifier

* pagezoom observer

* search view

* SearchView

* dismiss search

* min detail view size

* search result

* SearchView

* resrch

* dismiss search on url change

* search view

* ios search setup

* search

* macos search

* ios search

* remove old search

* use searchbar

* searching

* ios memory leak

* WebViewConfiguration

* macOS webview

* refactor

* SearchBar setup

* search bar setup

* SearchBar setup

* searchbar

* ReadingView

* webview ref

* outline

* sheet

* toolbar title outline

* compact reading view

* settings

* recent search

* reading view

* reading view

* SearchView

* several small changes

* shortcuts

* commands buttons

* macos command

* navigation action

* patch

* revert

* webview retention

* navigation focused scene value

* ipad keyboard shortcut

* macos app min fheight

* ios sheet action

* macOS 13 build

* purge

* move

* move

* indent

* settings

* file import

* rename

* GridCommon

* library views

* purge

* remove LibraryTopic

* LibraryView_iOS

* move

* coredata context

* add url binding

* ZimFileSelection

* pass url down

* ZimFileDetail

* load main page

* revert

* macos 12 compile

* reading view empty title

* view model

* onboarding view

* root view iOS 16

* ios search

* root view

* OutlineTree

* search overlay

* library view

* library refresh views

* view model

* view model

* LibraryViewModel

* zim file detail

* zim file detail styling

* zim file detail

* library detail & refresh

* ZimFileContextMenu

* directory monitor

* LibraryOperations

* LibraryOperations

* reopen

* migration

* zim file migration

* bookmark migration

* comments

* open zim file via bookmark

* welcome view

* hide bookmark section when empty

* bookmark context menu setup

* bookmark add / delete view model

* skip notification

* refactor view modifier

* remove old code
2022-09-21 22:11:09 -04:00
ChrisLi
1baa5fc17b
SwiftUI Apps (#454)
* webview controller

* ZimFilesOpened title

* ZimFilesOpened

* GridBasics

* ZimFilesNew

* GridCommon

* ZimFilesDownloads

* downloads

* refactor

* DownloadTaskCell

* ZimFilesDownloads

* CellBackground

* zim file downloads

* opened iconName

* FlavorTag

* grid sizing

* ZimFileGrid

* app icon

* itunes file sharing

* photo permission

* mac about

* About

* about

* app integration

* LibrarySettings

* Capsule

* library setting

* zim file backup setting

* backup

* ZimFileContextMenu

* background fetch

* update library

* BackgroundTasks

* library refresh

* last refresh

* LanguageSelector

* language

* LanguageSelector table

* LibrarySettings macos

* fetchLanguages

* iOS LanguageSelector

* sorting mode

* library setting

* ZimFilesNew

* SettingSection

* about

* navigationTitle

* background task identifier

* setting

* Settings

* SettingSection

* about macos

* library version

* language filter

* rename

* empty view

* grid

* ZimFileDetail

* ZimFileDetailPanel

* window sizing

* opened zim file bottom

* refresh

* refresh

* page zoom command

* library

* page zoom

* split reader files

* command and focus

* focus and commands

* open file in reader

* frame

* refactoring

* refactor

* languages

* remove env object

* refactor library view model

* delete download task

* downloads database op

* service workers

* service worker warning

* hides service worker files

* SearchFilter

* url / UI

* macos reader title

* LibraryViewModel.reopen

* remove search field

* search focus

* search keyboard shortcut

* open multiple files

* animations

* refactor

* search

* sheet

* SheetView library

* sheet view style

* zimfile list

* reorg

* style

* LanguageSelector

* ios setting

* LibrarySettings

* background task

* delete alert

* move

* open in place, open main page

* library refresh refactor

* open bookmark throws

* zim file missing

* locate file

* ZimFileMissingIndicator

* predicates

* observed zim file

* macos build

* icons

* library refactor

* menu refactor

* refactor

* html parser
2022-07-27 21:22:02 -04:00
ChrisLi
8e983dc180
Swiftui components (#447)
* coredata stack

* rename fir

* move files

* library setup

* compatibility

* library setup

* load on appear

* ZimFileGrid

* FlavorTag

* withCheckedThrowingContinuation

* flavor tag

* zim files cell

* grid

* list setup

* zim file list

* grid

* zim file cell background

* favicon

* SectionHeader

* grid

* new tab

* list style

* refactor

* refactor

* style

* zim file grid

* searchable new tab

* new section

* style

* ZimFileCell

* cache favicon

* ZimFilesNew

* ZimFilesNew sorting filtering

* ZimFilesNew

* library content

* keypath

* ZimFileList searchable

* ZimFileList

* ZimFilesNew side panel

* animation

* backward compatible article count

* ZimFileList deterministic sort order

* rename

* macos styling

* library grid

* grid

* refactor

* grid

* zim file list

* MacAdaptableContent

* ZimFileCellSelection

* grid

* zim file detail

* refactor

* move file

* DownloadTask

* downloads

* downloadURL

* start download

* Download task

* observable

* zim file basic info

* download progress

* rename

* refactor

* pause resume

* save file

* download error

* refactor

* refactor

* macos zim file detail

* iOS simplier navigation link

* refactor

* refactor

* refactor

* ZimFilesNew

* ZimFilesNew

* ZimFilesNew

* ZimFileGrid

* ZimFileList

* zim file list

* ZimFileListStyle

* ZimFileRow

* ZimFileRowSelection

* ZimFileCellSelection

* purge

* availability

* download

* ZimFileDetail

* ZimFileContextMenu

* scheme

* ZimFileSelection

* ZimFileGrid

* iOS root

* images

* favicon

* Favicon

* asset

* File import button

* ZimFilesOpened

* upsertZimFile

* FileImporter

* zim file opened

* ZimFilesOpened

* open zim file help

* actions

* ZimFileDetail actions

* ZimFileDetail download

* ZimFileDetail iOS

* ZimFileDetail alerts

* isFileImporterPresented

* delete action iOS

* iOS 14+ UIKit Target

* scene based iOS app

* consolidation

* delete

* iOSApp

* delete

* iOS info plist

* info plist

* preview content

* rename

* WebView

* swiftui based scene

* file open

* open url

* load main page

* refactor

* macOS build

* LibraryViewModel

* doc

* refactor

* buttons

* opened action

* refactor

* refactor

* open main page

* Reader - Webview

* buttons

* appearance

* buttons

* BookmarkButton

* refactor

* bookmarks

* WKNavigationDelegate

* ReaderViewModel

* more button

* MoreButton

* disable

* views

* button

* buttons

* reader

* reader

* reader

* sidebar

* focus & commands

* display mode

* SidebarZimFilesOpened

* url

* SidebarZimFilesOpened

* SidebarZimFilesOpened

* ios webview

* main page

* MainArticleButton

* RandomArticleButton

* inject

* outline

* refactor

* outline

* sheetDisplayMode

* OutlineButton

* Outline dismiss

* macOS

* purge

* Outline

* iOS sidebar width

* BookmarkButton

* BookmarkButton

* bookmarks

* Outlint

* Bookmarks

* issearchactive

* ios search active

* search results

* Search

* SearchFilter

* search macos

* search

* Search

* app icon

* compatibility

* SearchViewModel

* refactor

* search result

* refactor sort

* search operation

* search view model

* mac search result loading

* mac remove unused

* ios app icon

* SearchResultSnippetMode

* build

* move file

* Search ios

* search result loading

* prevent search result filckering

* ignoresSafeArea

* default sidebar display mode

* list style

* search sidebar width

* SearchResultCell

* SearchResultCell

* SearchResultRow

* SearchResultRow line limit

* search result cell

* SearchResultRow

* BookmarkButton

* webview gesture

* macos ControlGroup

* CellBackground

* purge

* outline style

* welcome view

* outline

* SplitView

* SplitView

* welcome url

* BookmarkButton tap

* bookmark toggle

* Search mac

* Welcome grid item

* welcome

* revert

* animation

* animation

* animation

* iphone regular sidebar
2022-06-06 09:05:10 -04:00
Chris Li
ff218ebf67 Skip full text search if zim file does not have full text 2022-05-21 16:58:36 -04:00
Chris Li
7c5f1c2d6a compatibility updates
- wikihow zim files
- swift 5.6
- libkiwix 10
- libzim 7
2022-03-22 21:42:35 -04:00
ChrisLi
0d27d0dcad
libkiwix 10 libzim7 compatibility (#439)
* metadata

* cached archives

* search operation

* search operation

* search result

* search operation

* zim file service

* zim file service

* refactor

* refactor

* refactor

* refactor

* refactor

* zim file service

* search

* remove SharedReaders

* refactor

* refactor

* move file

* refactor

* search result

* import

* refactor

* refactor

* fix scan

* file icon

* search

* favicon data

* bookmark

* build number
2022-03-06 09:49:22 -05:00
ChrisLi
dc98d2b2f1
macOS SwiftUI (#438)
* refactor sidebar

* refactor

* split

* search

* Outline

* outline

* Outline

* outline

* js

* js

* javascript

* js

* js

* outline

* sidebar background

* data model

* items

* ui adjustment

* outline scroll

* outline

* table of centent

* adjustment

* sidebar

* sidebar

* refactor

* SearchFilter

* Message

* SearchViewModel

* file url bookmark data

* url bookmark data

* ReaderViewModel

* NavigationButtons

* SidebarButton

* BookmarkButton

* MainPageButton

* MainArticleButton

* buttons

* isbookmarked
2022-02-20 11:26:12 -05:00
ChrisLi
a9d6305fee
macOS swift UI (#434)
* refactor

* refactor

* data provider

* search

* purge

* refactor

* refactor

* new property

* refactor

* library

* rename

* search

* refactor

* fileID

* refreshOnlineZimFileCatalog

* aetup

* grid setup

* layout

* creation and counts

* tag

* ZimFileTag

* LibrarySectionHeader

* additional window

* refactor

* library sidebar

* LibrarySidebar

* refactor

* sidebar

* zim file cell

* backgroundColor

* style

* refactor

* predicate

* conditional section

* conditional section header

* tag

* grid flattened

* zim file cell

* flattened

* frame

* style

* LibraryZimFileDetail

* library detail

* refactor

* new zim files

* schema

* detail

* flavor

* flavor

* Attributes

* refactor

* mergeChanges

* database

* refactor

* filters

* LibrarySidebar_Previews

* refactor

* image

* zim file cell

* favicon

* LibrarySectionHeader

* persistent history tokens

* persistent history

* purge

* color tweak

* LibraryZimFilesList

* library

* refactor

* refactor

* refactor

* command

* import file

* fix

* open

* doc

* refactor

* refactor

* refactor

* refactor

* titleObserver

* WKNavigationDelegate
2022-01-15 09:38:53 -05:00
ChrisLi
942fb5e105
macOS SwiftUI (#432)
* Commit

revert

* persistentContainer

* content view

* bookmark

* bookmark button

* BookmarkButton

* BookmarkButton

* BookmarkButton

* refactor

* bookmark search

* refactor

* file type

* file import

* disable things

* data model

* coredata

* search filter

* search

* refactor

* search

* project

* compile
2021-12-26 22:42:36 -05:00
ChrisLi
77eb91f8f2
Remove bookmarks widget (#430)
* use prebuilt realm

* remove code

* refactor

* build number
2021-12-18 20:17:06 -05:00
ChrisLi
0d37134e06
macOS swift UI (#429)
* webview delegate

* search

* included in search tweak

* style

* SearchScopeView

* SearchScopeView

* SearchScopeView

* recent

* recent serach text

* recent search

* refactor

* refactor

* setup

* implementation
2021-12-18 18:40:11 -05:00
ChrisLi
b5196666ca
Search refactoring (#427)
* snippet mode

* search

* project
2021-12-13 21:44:03 -05:00
ChrisLi
6a3470a710
macOS swift UI (#426)
* main page action

* move

* library restoration

* webview

* webview delegate

* webview actions

* toolbar items

* search setup

* search

* in progress

* refactor

* search

* SearchField

* refactor

* commands

* command buttons

* a working setup

* webview

* WebView toolbar

* Library

* titleObserver

* search

* search split

* no result

* refactor

* project
2021-12-13 20:27:54 -05:00
ChrisLi
8f2c78be33
Use Debug in feature flag (#425)
* feature flag

* project setting

* flag
2021-12-11 20:27:48 -05:00
Chris Li
9f61ae1aee 1.5.3 1.15.3 2021-12-11 10:45:01 -05:00
Chris Li
a12b313c8b Revert version of libkiwix and libzim
- libzim: 6.3.2
- libkiwix: 9.4.1
2021-12-11 10:19:25 -05:00
ChrisLi
ca6b354cff
Try catch random page function (#424)
* code

* project file
2021-12-06 22:32:05 -05:00
Chris Li
c93c7a6889 1.15.1 2021-11-06 21:48:21 -04:00
ChrisLi
59078a3632
Refactoring (#420)
* Realm config

* download service

* consolidation

* remove app delegate level url handling

* move

* project file

* remove explicit ref of realm default config

* move

* remove
2021-11-06 11:24:18 -04:00
ChrisLi
1f44484640
macOS swiftUI (#419)
* initial commit

* first batch of code

* build

* remove nghttp2

* Sidebar

* project setting

* sidebar

* button command

* scene storage

* refactor

* project

* library

* webview

* webview

* conditional conpile

* entitlements

* web

* init
2021-11-06 10:31:17 -04:00
Chris Li
3b61bd014a macOS model compatibility 2021-11-05 18:34:08 -04:00
Chris Li
1ae22aa05a Defaults dependency 2021-11-02 21:38:39 -04:00
ChrisLi
99a4b1656a
iOS 1.15 (#417)
* remove old code

* bookmark database

* favicon fix

* diable legacy bookmark

* changelog

* project version
1.15
2021-10-31 09:24:46 -04:00
ChrisLi
16d2110ae6
Bookmark view (#416)
* OutlineView loading state

* setup

* model

* empty content view

* display

* action

* update the css
2021-10-30 10:29:57 -04:00
ChrisLi
855d7bf1e4
Quicklook Preview (#414)
* refactoring

* setup

* remove placeholder

* remove unused
2021-10-19 08:24:29 -04:00
ChrisLi
cda75979d4 libkiwix API change 2021-10-11 16:57:47 -04:00
ChrisLi
a67b52b9d8
Experimental dark mode css (#409)
* css

* feature flag

* code

* style
2021-10-10 11:58:33 -04:00
ChrisLi
5c0bc25948
Outline view (#408)
* OutlineViewController

* OutlineViewController

* parser

* outline item

* OutlineView view mode

* TableView

* sheet

* controller

* navigation title button

* controller management

* sidebar actions

* controller

* showTitleInList

* OutlineView

* empty view

* cleanup

* deprecation

* build number
2021-10-07 18:37:10 -04:00
ChrisLi
a3358b5519 dependency 2021-09-26 18:15:40 -04:00
ChrisLi
df08e97cb4
Search result view refactor & fixes (#406)
* filter view view model

* refactor

* removal

* refactor

* refactor

* build number
1.14.5
2021-09-24 11:49:39 -04:00
ChrisLi
2c415b7568
Fix parser (#405)
* parser

* Parser2

* refactor

* parser

* parser

* refactor

* dependency

* parser

* parser

* changelog

* parser

* AttributedString

* remove dependency
2021-09-20 22:15:14 -04:00
ChrisLi
64e00307af
Attempt to fix search filter (#404)
* attempt to fix

* remove unused field

* build number
2021-09-19 11:58:53 -04:00
ChrisLi
6782aefbdf
Revert "Schema change (#402)" (#403)
This reverts commit 66b8f071538cbbab39071b99cdaead626d42779d.
2021-09-19 10:33:36 -04:00
ChrisLi
66b8f07153
Schema change (#402)
* remove categoryRaw

* remove stateRaw

* schema change

* changelog
2021-09-19 10:21:53 -04:00
ChrisLi
311fa96941
Refactor (#401)
* changelog

* refactor

* remove ZimFileCell

* building blocks

* zim files
2021-09-19 09:57:13 -04:00
ChrisLi
e7b8845827
Library improvements (#400)
* libraries

* ListRow

* LibraryCategoryView

* LibraryCategoryView

* LibraryCategoryView

* LibraryPrimaryView

* ListRow

* OPDSRefreshOperation

* LibraryCategoryView

* FaviconDownloadService

* LibraryPrimaryView

* LibrarySearchResultView

* LibrarySearchResultView

* LibraryPrimaryView

* build number
2021-09-19 08:37:06 -04:00
ChrisLi
c55bbe0d0b
Drop iOS 12 (#398)
* settings

* library

* search

* BuildingBlocks

* RootViewController

* BarButtons

* WebViewController

* SidebarController

* AppDelegate & SceneDelegate

* project

* lint
1.14.4
2021-09-15 12:10:37 -04:00
ChrisLi
8328c6b3b8
Refactoring iOS 15 prep (#397)
* move LibraryViewController.swift

* remove feature flag

* split out SettingsViewController

* move HomeView

* reorganize BuildingBlocks

* project
2021-09-13 22:49:02 -04:00
ChrisLi
4ce3780fa5
Fix library search (#396)
* Fix library search

* refresh

* build number
1.14.3
2021-09-12 23:03:40 -04:00
ChrisLi
c971363e32
Document picker (#395)
* ignore

* project files

* UIDocumentPickerViewController

* lint

* lint

* picker

* ios 12 compatibility

* build number

* changelog
2021-09-12 14:38:57 -04:00
ChrisLi
e4e22902a3
Fix two search related issues (#394)
* skip empty searches

* escaped paths

* build number
2021-09-07 22:11:45 -04:00
ChrisLi
05331031c5
Onboarding (#393)
* button setup

* LibraryCategoryView message

* refactor

* deprecation

* ActionCell

* onboarding

* LibraryLanguageView sort order

* preload favicons

* refresh when on screen

* dependency

* schema
2021-09-06 18:34:02 -04:00