76 Commits

Author SHA1 Message Date
刘涛
1fb6e777a3
增加同步上传与更新git功能 (#1482)
* 增加git同步功能

* windows下增加图标

* Git操作改为异步

* 优化同步功能

* 更新完成后重新加载当前笔记本

* 上传前关闭所有已打开笔记

* Revert "更新完成后重新加载当前笔记本"

This reverts commit 67bf9836b83203093dd71f8df99b903bcaa0adb1.

* optimize code

* revert  VDirectoryTree.h

* format code

Co-authored-by: musmus9405 <542719479@qq.com>
2020-08-29 11:53:04 +08:00
Le Tan
687ea79cb7 refine Chinese translations 2019-06-22 08:48:19 +08:00
Le Tan
476ce365d7 DirectoryTree: support adding sibling folder 2019-06-22 08:31:50 +08:00
Le Tan
78a6602ad4 Return to select on macOS 2019-03-25 19:40:03 +08:00
Le Tan
70374607bb Add insert table toolbar button 2018-11-28 19:31:43 +08:00
Le Tan
72dcb181cc NavigationMode: add m_isSecondKey member 2018-11-22 20:31:56 +08:00
Le Tan
5b996654cf DirectoryTree: warn if user does not drop on a folder item 2018-11-12 20:12:30 +08:00
Le Tan
ba75c94f40 FileList: support drag&drop to copy/move files 2018-10-12 20:20:24 +08:00
Le Tan
02fc5f20f3 UniversalEntry/Searcher: Ctrl+B to expand/collapse all items 2018-09-26 19:23:56 +08:00
Le Tan
af8cd0d73b refine Info act 2018-06-01 16:58:50 +08:00
Le Tan
2ff9c607dd explorer: support exploring system's files 2018-05-26 13:26:59 +08:00
Le Tan
d92453ef82 FileList/DirectoryTree: lazy initialization for QAction 2018-05-23 20:07:41 +08:00
Le Tan
f6436bfabf support history navigation 2018-05-17 21:32:38 +08:00
Le Tan
47b4cc88aa support sorting items by clicking the column header 2018-03-16 21:37:56 +08:00
Le Tan
a2ee5413a1 support search
- Ctrl+E C to toggle the search dock;
2018-03-13 20:45:44 +08:00
Le Tan
2d3567e460 refine interface with shortcut hints 2018-02-26 19:30:20 +08:00
Le Tan
8ff520d0fd refactor export 2018-02-13 22:10:48 +08:00
Le Tan
878a272777 add VTreeWidget with simple search and convert VDirectoryTree to it 2018-02-03 16:33:00 +08:00
Le Tan
a20ff08bb8 small fixes 2018-01-12 19:55:54 +08:00
Le Tan
cd8f148946 add shortcut Ctrl+Alt+S for creating subfolder 2018-01-10 20:16:32 +08:00
Le Tan
03122a24db bug-fix: fix images when cutting files
1. De-duplicate the images occur multiple times in the note;
2. Refresh the read mode and edit mode preview after the directory path
change;
3. Update init images and inserted images after the directory path
change;
2017-12-21 21:02:56 +08:00
Le Tan
5ca9ea6b92 remove focus rectangle on Mac 2017-12-09 16:15:01 +08:00
Le Tan
bda61a994c support overriding icon color in theme 2017-12-06 20:35:01 +08:00
Le Tan
6ac33d2bd0 support snippets
Shortcuts are not supported yet.
2017-11-11 08:09:22 +08:00
Le Tan
893c0b2823 bug-fix: use completeBaseName() when adding sequence to file name
- When adding attachments, if the name conflicts, we add sequence after
the base name. "abc.tar.gz" to "abc_001.tar.gz".
- When handling notes and folders, if the name conflicts, we add
sequence after the complete base name. "abc.5.9.1.md" to
"abc.5.9.1_001.md".
2017-10-09 21:25:30 +08:00
Le Tan
93a218655d refine Chinese translations 2017-10-01 10:37:17 +08:00
Le Tan
95548a68e0 refine icons 2017-09-30 20:53:41 +08:00
Le Tan
3724eb35dd refactor VDirectoryTree
- Refine folder deletion logics;
- Refine folder copy/paste logics;
- Add folder sort logics;
2017-09-30 09:51:40 +08:00
Le Tan
58e7cdca4b refactor VFileList
- Refine note deletion logics;
- Refine note copy/paste logics;
- Refine note sorting logics;
2017-09-29 19:56:38 +08:00
Le Tan
da64b8c12f add config confirm_reload_folder to check whether prompt for uer when reloading folder 2017-09-24 09:46:30 +08:00
Le Tan
35fa0a46f6 add recycle bin to each notebook 2017-09-16 14:55:42 +08:00
Le Tan
d2ef9608fc bug-fix: use platform-specific text of QKeySequence in context menu 2017-09-08 21:40:31 +08:00
Le Tan
3daa463a6d refactor VDirInfoDialog and VNewDirDialog 2017-09-07 20:35:01 +08:00
Le Tan
59d0e82e66 refactor retrivePath to fetchPath 2017-09-07 20:33:38 +08:00
Le Tan
72970cd404 support reloading content of notebook and folder from disk 2017-09-06 19:23:58 +08:00
Le Tan
7a0a2c552b add shortcuts for note and folder management 2017-09-05 20:54:15 +08:00
Le Tan
73630448a6 move vconfig to a local variable 2017-08-29 09:40:28 +08:00
Le Tan
91d33c3f5c make name of notebook/folder/note case-insensitive 2017-08-08 20:11:44 +08:00
Le Tan
5ad99ee9b8 bug-fix: * will recursively expand the directory tree causing crash
We build the complete subtree before expanding to avoid crash.
2017-07-14 19:34:29 +08:00
Le Tan
a87048cac2 bug-fix: compare two paths with case convertion on Windows
On Windows, case difference in file name is ignored.
2017-07-03 19:09:50 +08:00
Le Tan
c54bc9c680 refine Chinese translations 2017-05-25 22:24:58 +08:00
Le Tan
c8ec95eb3d refine English names of notebooks, folders 2017-05-24 22:15:35 +08:00
Le Tan
9bf3f9394f support custom image folder for both global scope and notebook scope 2017-05-24 19:54:58 +08:00
Le Tan
03c0fdc49d add Open File Location in directory tree and file list 2017-05-23 19:59:05 +08:00
Le Tan
c2c70368da restore last active item in directory tree after switching notebook 2017-05-22 22:47:43 +08:00
Le Tan
d0e43db5ad more user friendly messages 2017-05-03 21:39:18 +08:00
Le Tan
5486929a8d change statusTip to toolTip 2017-04-09 12:20:58 +08:00
Le Tan
ab824946e8 register VEditArea and VOutline for Navigation Mode
1. Register VEditArea and VOutline for Navigation mode;
2. Support Ctrl+J and Ctrl+K navigation in VOutline;
2017-04-06 19:39:52 +08:00
Le Tan
611a695cb1 register VFileList for Navigation Mode
Support Ctrl+J and Ctrl+K navigation in VFileList.
2017-04-05 23:36:16 +08:00
Le Tan
3ca968169f enable Ctrl+J and Ctrl+K navigation in VDirectoryTree 2017-04-04 23:01:10 +08:00