Commit Graph

24 Commits (master)

Author SHA1 Message Date
hius07 c3bb2263b7
DocSettings: check legacy history location only once (#11439) 3 months ago
Ryan W West 27104ea011
Add hash-based document metadata storage option (#10945)
This option saves metadata sidecar (sdr) directories not next to the book or in koreader/docsettings/, but in koreader/hashdocsettings/ using the partial md5 hash of each documents, allowing users to move, rename, and copy their documents outside of KOReader without accidentally losing their highlights/notes/progress. Included are various warnings and info to users of the benefits and drawbacks of this non-default option.

Closes #10892.
7 months ago
Frans de Jonge 84e094de36
DataStorage: fix typo and actually create $HOME/.config if it doesn't exist yet (#10390)
Fixes #10380.
1 year ago
Frans de Jonge 2f7923c513
DataStorage: create parent config home if it doesn't exist yet (#10382)
This situation might potentially occur in something like a Docker/Podman container or WSL.

Fixes #10380.
1 year ago
hius07 fe7b10f18d
Datastorage: do not create unnecessary folders (#10162) 1 year ago
hius07 d1081fa982
Docsettings: add centralized sdr storage (#10074)
Added an option to choose a new location to save document settings, highlights and bookmarks 
(koreader/docsettings folder).
1 year ago
Alberto f82ead2b39
Fix koreader not using XDG_CONFIG_HOME on linux (#8507) 2 years ago
Martín Fernández 4345201e0e
[CI] Mac OS app (#6955)
* use 7z instead of dmg
* osx: use always writable paths
3 years ago
Martín Fernández 7e70f7eafa
Create ota dir (#6857)
Partially reverts https://github.com/koreader/koreader/pull/6849

Needed for new installs, mainly in https://github.com/koreader/koreader/blob/master/frontend/ui/otamanager.lua#L173.
Fix https://github.com/koreader/koreader/pull/6849#issuecomment-723491945
4 years ago
jperon dee72a431c
Set extra_plugin_paths to data_dir/plugins (#6849) 4 years ago
Martín Fernández f9a820d682 android: unbreak KO on scoped storage devices 4 years ago
Martín Fernández 6de5927dc2 [build] Add support for Debian packages (#4434)
* Add support for Debian packages

* SDL: add device probe
5 years ago
poire-z 5b7664b064
Style tweaks: use css snippets to tweak book styles (#3944)
Adds a new menu "Style tweaks", with a few CSS snippets
that can make some things better with some books.
6 years ago
Frans de Jonge ab712f1a29
[feat] Build AppImage (#3850)
References #1417.
6 years ago
mwoz123 424593ca7c NewsDownloader: Remove NewsDownloader files from history (#3424) 7 years ago
Frans de Jonge 8bc2b8d5f5 DataStorage: also create data/tessdata and minor string concat performance improvements (#3430) 7 years ago
Frans de Jonge 9f5e446701 [fix] DataStorage: create data/dict to prevent Android crash
```
08-12 14:32:17.325  9188  9216 E luajit-launcher: Failed to run script: frontend/util.lua:291: cannot open /storage/emulated/0/koreader/data/dict: No such file or directory
08-12 14:32:17.333  9188  9216 V threaded_app: android_app_destroy!
```
7 years ago
Qingping Hou dae4a5a413 refactor: move bootstrap code into setupkoenv.lua
add ffi.load patch
add kodev prompt command
8 years ago
Hzj_jie 3bf8b185d3 Use android.externalStorage instead of hardcoded string for android data path 8 years ago
Qingping Hou 20eb36a03d feat: add network management UI for kobo 8 years ago
Qingping Hou 11ee8d6fcc refactor: use new KeyValuePage widget for displaying statistics 8 years ago
Qingping Hou 3b92bdc084 feat: support screenshot in filemanager 8 years ago
chrox a60544b1ad Koreader Ubuntu-touch port
Currently only tested on Ubuntu-touch emulator with framework
ubuntu-sdk-14.10 for armhf.
The ubuntu-touch port is binary compatible with the Kobo port
major changes in this PR are:
1. rename the emulator device to sdl device since both the emulator
and the ubuntu-touch target use libsdl to handle input/output.
2. ubuntu-touch app has no write access to the installation dir so
all write-outs should be in a seperate dir definded in `datastorage`.
9 years ago
chrox 34ea9ac574 add datastorage module to handle data directory on various platform
On kindle, kobo and pocketbook the data directory is the current
running directory but on Android the app is installed in system
defined location and users may have no access to that location.
The same circumstances should be true for the upcoming Koreader for
Ubuntu touch, so the data directory (in which tessdata, dictionaries,
global settings, persistant defaults and probably history data are
stored) could be stored in another place.
9 years ago