Commit graph

159 commits

Author SHA1 Message Date
Scharel Clemens
964011847c Working on file integration to the model 2020-05-10 20:36:56 +02:00
Scharel Clemens
c319dd1050 Working on file integration to the model 2020-05-08 19:33:41 +02:00
Scharel Clemens
aa8daf89f5 Remove unneeded interface class 2020-05-07 21:18:40 +02:00
Scharel Clemens
6818edd94a Improved offline mode 2020-05-05 19:44:31 +02:00
Scharel Clemens
054afd4ca2 Implemented two functions that should ease the syncronisation 2020-05-04 20:15:17 +02:00
Scharel Clemens
fe31598042 Further Changed on the QML side to adopt the previous changes on the C++ side 2020-05-03 18:30:39 +02:00
Scharel Clemens
842ea9f699 Prepare sync of offline changed notes 2020-05-03 13:00:36 +02:00
Scharel Clemens
8211acbe51 Changed on the QML side to adopt the previous changes on the C++ side 2020-05-01 12:57:43 +02:00
Scharel Clemens
84d720c7ca Connected signals and slots throught the NotesModel, so this can later handle the synchronisation 2020-04-20 22:48:56 +02:00
Scharel Clemens
cd55e83ae9 Model slots 2020-04-19 19:01:03 +02:00
Scharel Clemens
433a049a14 Updated signals and slots of the modules 2020-04-16 21:25:36 +02:00
Scharel Clemens
312be40fcf Just pushing to github to have the code available somewhere else 2020-04-15 08:31:04 +02:00
Scharel Clemens
4ff667e3d1 Improved communication between the modules. Offline mode seems to work fine now. Some kind of synchronisation of offline changes is now needed 2020-04-13 19:13:14 +02:00
Scharel Clemens
629d752dee Making progess... 2020-04-12 20:27:54 +02:00
Scharel Clemens
34484748f5 Show more debug messages on the console 2020-04-11 19:34:28 +02:00
Scharel Clemens
884a464a37 Improved relations between the data sources 2020-04-11 16:39:30 +02:00
Scharel Clemens
10b9423f35 Clearing NotesModel when changing the account 2020-04-11 15:40:47 +02:00
Scharel Clemens
4ea61c565f NotesStore and NotesApi Classes based on a common interface class. Seems to work fine :) 2020-04-10 20:40:23 +02:00
Scharel Clemens
1d4022bdbd Finished NotesStore class 2020-04-07 00:48:27 +02:00
Scharel Clemens
60e1eb0bdd Implementing new methods for data handling (files and API targets) 2020-04-05 22:59:18 +02:00
Scharel Clemens
ffffd306d6 A somehow working version again 2020-03-29 18:03:05 +02:00
Scharel Clemens
9616dfc6be Used new state info in the Login Dialog 2020-03-26 23:22:45 +01:00
Scharel Clemens
00921391a2 More state informations 2020-03-21 20:09:07 +01:00
Scharel Clemens
601985436d Some improvements in the LoginPage 2020-01-29 18:36:34 +01:00
Scharel Clemens
369cf2c1e9 Began implementing more detailled states for server API requests 2020-01-27 23:05:20 +01:00
Scharel Clemens
7be33026cf Began implementing some kind of state machine for the login 2020-01-27 18:36:43 +01:00
Scharel Clemens
61238c8d08 Improvements in LoginPage 2020-01-20 20:49:36 +01:00
Scharel Clemens
ffe96e2200 Worked on LoginPage 2020-01-19 13:13:29 +01:00
Scharel Clemens
4563e95ef7 Small changes in the LoginDialog 2020-01-16 22:14:47 +01:00
Scharel Clemens
9cb7237e81 Cleaned API C++ code. Small changes in LoginPage. 2020-01-15 23:55:11 +01:00
Scharel Clemens
2be8a2675d Implemented Nextcloud Login Flow v2 2020-01-15 00:27:17 +01:00
Scharel Clemens
ecebd90dcb Further implemented Flow v2 Login 2020-01-14 17:04:09 +01:00
Scharel Clemens
58ae28dbe6 Implemented status.php call in the API. Began implementing Nextcloud Login flow v2. 2020-01-14 14:47:42 +01:00
Scharel Clemens
da29b4b0ff Change notes locally befor committing it to the server 2020-01-12 20:23:51 +01:00
Scharel Clemens
20635dfd6e Only emit dataChanged() when the data actually changed 2020-01-12 16:01:54 +01:00
Scharel Clemens
73adff15ca Implemented setData() and setItemData() functions of the model for later use 2020-01-12 15:46:54 +01:00
Scharel Clemens
21cccf2f6e Just small fixes 2020-01-11 13:32:26 +01:00
Scharel Clemens
3e32fb94f9 Added notifications on error 2020-01-05 13:25:13 +01:00
Scharel Clemens
385cdc4cca Write notes to local files for upcoming offline mode 2020-01-04 16:08:40 +01:00
Scharel Clemens
f7bc0ed9b8 Always provide the attribute \'modified\' when creating or modifying a note to allow the API to handle conflicts 2020-01-04 14:53:50 +01:00
Scharel Clemens
52132195a5 Implemented sync-time capturing and offline detection 2020-01-03 14:00:07 +01:00
Scharel Clemens
4341b2bd01 Bugfix when deleting a note 2019-12-30 19:58:50 +01:00
Scharel Clemens
426f7ea509 Changed internal data handling to QJson___ for easier conversion to raw output to save the notes to files. 2019-12-30 18:14:38 +01:00
Scharel Clemens
e2aaa47a7e Small fix in account deleting 2019-12-18 20:21:47 +01:00
Scharel Clemens
74ae7bd213 Began implementing offline mode 2019-12-07 13:42:37 +01:00
Scharel Clemens
5fc566749f Small fixes on NotesPage and EditPage 2019-11-14 23:15:33 +01:00
Scharel Clemens
5f246cce20 Using QSortFilterProxyModel, so searching and sorting works now 2019-11-14 00:47:38 +01:00
Scharel Clemens
2ff9b06c99 Sorting order for "modified" 2019-11-13 13:22:20 +01:00
Scharel Clemens
cefa7259ad Implemented QSortFilterProxyModel 2019-11-11 23:23:41 +01:00
Scharel Clemens
3f128bcd63 Implemented API in C++. Next: I discovered QSortFilterProxyModel :) 2019-11-10 23:04:42 +01:00