Frans de Jonge
8b7e18a7d7
MenuSorter: resolve review comments
...
* simplify user config loop
* simplify unit test for Travis memory use
* remove unused util variable
2017-03-26 11:12:44 +02:00
Frans de Jonge
ddf590eb6d
MenuSorter: split out menu order configuration
2017-03-26 11:12:44 +02:00
Frans de Jonge
a970a1f034
MenuSorter: fix outside testability (for potential unit tests)
2017-03-26 11:12:44 +02:00
Frans de Jonge
8f31a81601
MenuSorter: some documentation
...
MenuSorter: forgot to add plugin style change
MenuSorter: worked out the final quirks
* Menu always compressed into tables without missing indexes for ipairs compatibility
* Orphans attached
* Separators no longer count as items
2017-03-26 11:12:44 +02:00
Frans de Jonge
b7b5950e98
MenuSorter: review comments and various bug fixes
...
* fixed wrongful retention of submenus variable and added return to MenuSorter:findById
* fixed readerfooter_spec.lua error
* fixed review comments
2017-03-26 11:12:44 +02:00
Frans de Jonge
aa0bf60ccb
MenuSorter: pass config prefix for proper user override
2017-03-26 11:12:44 +02:00
Frans de Jonge
5b20106db7
MenuSorter: initial implementation
...
* Menus are now sanely configurable
* Custom separator placement for clearer menus
2017-03-26 11:12:44 +02:00
robert00s
e07db0e7a0
Grayed out Open last document
2017-03-05 13:05:51 +01:00
Frans de Jonge
d1785e1863
Reorganize menus
...
* Replace "home" (exit) menu with hamburger
* Discard pokeball and put items in hamburger
* Introduce search menu in reader
Cf. #2562
2017-02-26 13:50:59 -08:00
Frans de Jonge
0566df5f28
FileSearcher: also show directory results
...
Fixes #2177
2017-02-25 19:49:11 -08:00
Frans de Jonge
da3ff5e336
History: add 'autoremove_deleted_items_from_history' setting
2017-02-25 16:39:23 -08:00
Frans de Jonge
2c80ff7d7b
FileManagerHistory: remove harmful deletion code and turn it into a feature
...
Fixes the problem introduced in 51327911f2 and turns it into a feature that should fix #2477
2017-02-25 16:39:23 -08:00
Frans de Jonge
6458c8e9eb
File Manager: rename to "KOReader File Browser" and add up arrow to ".."
...
This should make it clearer to new users what's going on. Fixes #2529 .
2017-02-23 23:28:49 -08:00
Frans de Jonge
fed22b509d
FileManager: rename hasSidecarDir to hasSidecarFile
...
Fixes #2550
Cf. b502047635
2017-02-19 13:10:52 -08:00
Zijie He
4f1cabcdbc
Improve several outputs
2017-02-16 08:23:04 +01:00
Hzj_jie
726b15ad01
More sorting orders in file manager ( #2535 )
2017-02-11 18:55:31 -08:00
Zijie He
faaca028e7
Remove empty sidecar folder
2017-02-09 17:48:06 +01:00
Zijie He
b502047635
Removing metadata file instead of purging .sdr folder
2017-02-08 10:38:24 -08:00
Hzj_jie
f91ad679d9
swithItemTable -> switchItemTable
2017-02-01 06:26:06 -08:00
Qingping Hou
f95ad00b9e
feat: add logger module & rewrite kobo suspend script in lua
2017-01-02 19:52:09 -08:00
Hzj_jie
5bda44473d
Add dictionary to filemanager
2017-01-02 10:12:34 -08:00
Robert
957e8ce768
Add open last book menu item in file manager ( #2450 )
2016-12-24 22:36:46 -08:00
robert00s
ae9261b685
Fix #2440
2016-12-20 22:10:02 -08:00
Robert
187598deb2
Cloud storage - dropbox and ftp integration ( #2424 )
2016-12-19 23:34:00 -08:00
Hzj_jie
c662ca4cc8
Load plugins also in FileManager ( #2426 )
...
added is_doc_only plugin attribute
2016-12-19 23:19:54 -08:00
poire-z
fe56ecd301
Clear readers' cache: invalidate in-memory references
...
This avoids crash on exit after clearing caches.
2016-12-14 11:39:46 -08:00
Robert
93e075feb6
Adding the buttondialogtitle widget and show long filename in filemanager ( #2414 )
2016-12-10 16:06:10 -08:00
Robert
7e1c0c15c6
Refresh filemanager after exit from OPDS browser ( #2405 )
2016-12-05 10:17:49 -08:00
poire-z
ca59efc5b6
FileManager Menu: added "Developer options" ( #2391 )
...
and "Clear readers' caches" subitem.
2016-12-04 15:51:12 -08:00
poire-z
949e5ba54d
FileManager: added button to purge sidecar directory ( #2391 )
...
Also move its sidecar directory when moving a file.
2016-12-04 15:51:12 -08:00
Qingping Hou
8e76ed4f0b
fix: flush reader setting on change from filemanagermenu
2016-11-24 02:03:48 -08:00
Qingping Hou
88ab21c62c
minor: change setting names for home_dir_name
2016-11-19 12:15:27 -08:00
Bastien Dejean
b3d58fba00
Don't try to set the value of fm_screen_mode
...
I'm not sure what the original intention was, but in practice, the user
experience regarding the way this setting is saved is horrible: it seems
to change randomly and once the orientation is changed from portrait to
landscape, the only way to fix it is to edit `settings.reader.lua`.
2016-11-15 23:50:58 -08:00
Bastien Dejean
58b6c94a8d
Generalize and consolidate tildify
...
- Don't do any substitution unless `home_dir_name` exists.
- Don't rely on `gsub` because it might interpret some characters in
`home_dir` as magical (and might also replace a match not starting at
the beginning of `path`).
2016-11-14 13:22:20 -08:00
Bastien Dejean
283a113aaa
Handle corner case in tildify
2016-11-13 15:09:59 -08:00
Bastien Dejean
2f5935411a
Replace the home dir by ~ in the FM's current path
...
This mirrors the well known shell convention and release the user from
a needlessly verbose description of the current path.
2016-11-12 15:26:14 -08:00
Bastien Dejean
83f18d6d77
Properly spell the title of the file manager
...
Us humans can handle spaces in titles.
2016-11-12 15:25:11 -08:00
robert00s
09f2db3729
Fix long filename text in history textbox ( #2322 )
...
Fix long filename text in history textbox
2016-11-08 10:05:34 -08:00
robert00s
886e2d6cb1
display document metadata ( #2307 )
...
display document metadata in file manager and history menu
2016-10-30 15:24:50 -07:00
Qingping Hou
67ae10742a
defaults: try parse int from user input
2016-10-14 19:50:49 -07:00
Qingping Hou
d6c48b06f9
chore: fix all luacheck issues
2016-09-22 00:38:10 -07:00
Qingping Hou
252100891f
fix(defaults): override defaults with persistent defaults for advanced setting menu
2016-09-22 00:38:03 -07:00
Qingping Hou
ca21ab4be5
fix(defaults): type casting for user input
2016-09-21 23:57:45 -07:00
Qingping Hou
ec6da5318c
screensaver(fix): add back menu toggle to support screensaver folder
2016-07-31 18:26:26 -07:00
Hzj_jie
7493fc89f6
Add removed item name in "Remove this item from history" and fix wrong items deleted issue. ( #2164 )
...
* Add removed item name in "Remove this item from history".
* Fix #2162 , wrong history items deleted.
2016-07-18 22:37:57 -07:00
Qingping Hou
0d9fc17d7c
chore: rename SetDefaults:SaveSettings
2016-07-16 22:47:19 -07:00
Huang Xin
b8f23d162d
filemanager(fix): refresh banner in filemanager insteand of TextWidget
2016-07-12 21:34:17 -07:00
Qingping Hou
304b0f218e
chore: fix some of the luacheck errors
2016-07-12 20:49:09 -07:00
Hzj_jie
400e63a463
Resolve review comments
2016-07-04 23:14:53 -07:00
Hzj_jie
493ff00609
Add path in file manager
2016-07-04 17:38:04 -07:00