Frans de Jonge
23cd585fae
Support history as default view for filemanager ( #3058 )
...
Fixes #2774
* make history view borderless
* add new menu for what to start with
Should combine nicely with #2940
2017-08-14 13:15:12 +02:00
poire-z
17656778b1
Book information: refactored and additional features
...
- Factored out duplicate code from filemanager.lua and filemanagerhistory.lua
to new filemanagerbookinfo.lua (and other common code to filemanagerutil.lua).
- Uses sidecar files' new doc_props and doc_pages settings, or fallback to
old 'stats' settings, or to opening document.
- Shows filename, filetype and directory.
- Shows description (Hold to see whole truncated text), keywords, and
cover image (tap to extract image from document and display it if available).
- Book information now available from reader menu, to display info about
the currently opened book.
- Convert possibly HTML description to plain text via added
util.htmlToPlainTextIfHtml() (for simple HTML conversion).
2017-07-14 16:46:38 +02:00
Hzj_jie
30378eb2a8
Add restart koreader function and ensure FlushSettings event can be delivered to all widgets ( #2772 )
2017-05-16 02:11:11 -07:00
poire-z
9e346f5559
Allow wikipedia lookup from filemanager
...
Also allow taking screenshot when on dictionary window.
2017-05-12 19:10:26 +02:00
Qingping Hou
23c2955500
chore: style cleanup for infomessage
2017-05-08 09:38:48 +02:00
Frans de Jonge
e1aa57f27e
Font: unify font styling
2017-04-29 03:01:38 -07:00
Qingping Hou
fd862f5e28
plugin(fix): catch plugin crash at init time
2017-04-22 00:22:37 -07:00
Frans de Jonge
9b2128ecb8
FileConverter added with local Markdown to HTML conversion ( #2737 )
...
* FileConverter added with local Markdown to HTML conversion
2017-04-12 20:42:28 +02:00
Frans de Jonge
1c25d0fd1b
Language: improve confirmboxes
...
Generic "OK" buttons should be avoided. Thanks to @lightonflux for pointing this out https://github.com/koreader/koreader/issues/2555#issuecomment-291039945
2017-04-04 07:56:09 -07:00
Frans de Jonge
da3ff5e336
History: add 'autoremove_deleted_items_from_history' setting
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
robert00s
ae9261b685
Fix #2440
2016-12-20 22:10:02 -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
Robert
93e075feb6
Adding the buttondialogtitle widget and show long filename in filemanager ( #2414 )
2016-12-10 16:06:10 -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
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
886e2d6cb1
display document metadata ( #2307 )
...
display document metadata in file manager and history menu
2016-10-30 15:24:50 -07:00
Huang Xin
b8f23d162d
filemanager(fix): refresh banner in filemanager insteand of TextWidget
2016-07-12 21:34:17 -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
Qingping Hou
2e417cfbd8
filemanager(refactor): use purge method from docsettings
2016-06-03 22:06:02 -07:00
Huang Xin
f718b0669f
Merge pull request #2045 from koreader/defaults
...
defaults(refactor): remove global hack in filemanagersetdefaults
2016-06-01 08:31:36 -05:00
Qingping Hou
ac03cd241f
fm(fix): close filemanager before showReader
...
This removes filemanager from UI widget stack so it does not listen
to events sent to the reader. Before this patch, screenshot event will
be sent to filemanager.
2016-05-29 19:36:54 -07:00
Qingping Hou
60587e08c6
defaults(refactor): remove global hack in filemanagersetdefaults
...
also added screensaver folder setting dialog for kobo
2016-05-25 22:07:20 -07:00
chrox
92184f0199
fix #1985 by always return to the parent dir of current doc in the FileManager
2016-04-23 22:57:19 +08:00
Frans de Jonge
5638819f25
Removed a bunch of "successfully", replaced an ellipsis, and some deviant spellings of KOReader.
2016-04-16 12:37:08 +02:00
zijiehe
8861365264
Add rename function for filemanager
2016-02-20 23:53:05 +08:00
Qingping Hou
6a6469fa09
more luacheck fixes
2016-02-15 22:34:28 -08:00
Qingping Hou
fb0606aa9c
style(FM): rename internal only method into function
2016-02-01 18:25:33 -08:00
Qingping Hou
34515484d1
fix: remove invalid setDirty in FileManager:restoreScreenMode
2016-02-01 18:25:33 -08:00
Qingping Hou
d1ca8bc494
fix(filemanager): delete document with settings
2016-01-09 12:12:10 -08:00
Qingping Hou
7caeae8701
fix: make screenshoter always active for filemanager
2016-01-08 23:30:02 -08:00
Qingping Hou
6fe9f7870b
chore: more luacheck fixes
2016-01-03 01:18:54 -08:00
Qingping Hou
3b92bdc084
feat: support screenshot in filemanager
2016-01-03 00:47:44 -08:00
Qingping Hou
186673587e
chore: fix some of the luacheck errors
2015-04-26 20:57:45 -04:00
chrox
98515a2210
Fix filemanager cp/mv/rm operations not work on Android
2015-04-22 14:27:33 +08:00
chrox
69e6b6b9cb
hold on directory in filemanager can set the it as HOME directory
...
and this "HOME" directory will override the command line option passed to
koreader.
This patch implements #1434 .
2015-03-12 16:29:15 +08:00