forked from mgsxx/QEverCloud
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Conflicts: QEverCloud/headers/generated/services.h
- Loading branch information
Showing
49 changed files
with
14,991 additions
and
6,570 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,67 @@ | ||
version: '3.0.2-{build}' | ||
|
||
branches: | ||
only: | ||
- development | ||
- master | ||
|
||
environment: | ||
matrix: | ||
- name: win32 | ||
platform: amd64_x86 | ||
qt: msvc2015 | ||
- name: win64 | ||
platform: amd64 | ||
qt: msvc2015_64 | ||
- name: win32 | ||
platform: mingw | ||
qt: mingw492_32 | ||
|
||
clone_folder: c:\dev\qevercloud | ||
|
||
init: | ||
- if %platform%==mingw set PATH=C:\Qt\5.5\%qt%\bin;%PATH% | ||
- if not %platform%==mingw set PATH=C:\Qt\5.7\%qt%\bin;%PATH% | ||
- set ORIGPATH=%PATH% | ||
- if %platform%==mingw (set DEPLOYMENT_TARGET=qevercloud-qt55-%qt%-%APPVEYOR_BUILD_VERSION%_%APPVEYOR_REPO_COMMIT:~0,7%.zip) else (set DEPLOYMENT_TARGET=qevercloud-qt57-%qt%-%APPVEYOR_BUILD_VERSION%_%APPVEYOR_REPO_COMMIT:~0,7%.zip) | ||
- if not %platform%==mingw call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" %platform% | ||
- if not %platform%==mingw (set makefiles="NMake Makefiles") else (set makefiles="MinGW Makefiles") | ||
- if %platform%==mingw (set use_webkit=1) else (set use_webkit=0) | ||
|
||
before_build: | ||
- cd c:\dev\qevercloud | ||
- md build | ||
|
||
build_script: | ||
- if %platform%==mingw set PATH=C:\Qt\5.5\%qt%\bin;C:\Qt\Tools\mingw492_32\bin;C:\Program Files (x86)\CMake\bin | ||
- cd build | ||
- if %platform%==mingw cmake .. -G %makefiles% -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="c:/dev/install" -DUSE_QT5_WEBKIT=%use_webkit% -DCMAKE_PREFIX_PATH="C:/Qt/55" | ||
- if not %platform%==mingw cmake .. -G %makefiles% -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="c:/dev/install" -DUSE_QT5_WEBKIT=%use_webkit% -DCMAKE_PREFIX_PATH="C:/Qt/57" | ||
- if not %platform%==mingw (nmake) else (mingw32-make) | ||
- if not %platform%==mingw (nmake install) else (mingw32-make install) | ||
- if %platform%==mingw set PATH=%ORIGPATH% | ||
|
||
after_build: | ||
- cd c:\dev | ||
- 7z a %DEPLOYMENT_TARGET% c:\dev\install\* | ||
- cp %DEPLOYMENT_TARGET% %APPVEYOR_BUILD_FOLDER% | ||
|
||
artifacts: | ||
- path: '*.zip' | ||
name: archive | ||
|
||
deploy: | ||
- provider: GitHub | ||
artifact: archive | ||
draft: false | ||
prerelease: false | ||
on: | ||
branch: master # release from master branch only | ||
appveyor_repo_tag: true # deploy on tag push only | ||
|
||
test_script: | ||
- cd c:\dev\install\bin | ||
- ..\..\qevercloud\build\QEverCloud\test_QEverCloud.exe | ||
|
||
matrix: | ||
fast_finish: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
# QEverCloud API breaks from major version 3 to major version 4 | ||
|
||
The API breaks of QEverCloud between major versions 3 and 4 are caused by the migration from Evernote API 1.25 to Evernote API 1.28. | ||
This document attempts to build a comprehensive list of QEverCloud API breaks, however, this list might be incomplete since | ||
Evernote themselves haven't provided any changelog for their API update so far. | ||
|
||
## struct User | ||
* added fields: | ||
* `serviceLevel` of `ServiceLevel::type` (new enumeration) | ||
* `photoUrl` of `QString` type | ||
* `photoUrlLastUpdated` of `Timestamp` type | ||
* `accountLimits` of `AccountLimits` type (new struct) | ||
* removed fields: | ||
* `premiumInfo` - it appears the `PremiumInfo` should now be requested from Evernote API separately, if needed | ||
|
||
## struct UserAttributes | ||
* added fields: | ||
* `emailAddressLastConfirmed` of `Timestamp` type | ||
* `passwordUpdated` of `Timestamp` type | ||
* `salesforcePushEnabled` of `bool` type | ||
* `shouldLogClientEvent` of `bool` type | ||
* removed fields: | ||
* `taxExempt` | ||
|
||
## struct Accounting | ||
* added fields: | ||
* `availablePoints` of `qint32` type - not documented, no clue what it does, probably it just occasionally got to the public API | ||
but only really used by the official Evernote client apps. | ||
* removed fields: | ||
* `uploadLimit` - use that from `User`'s `accountLimits` field instead | ||
* deprecated fields (still present in the API but should not be used): | ||
* `businessId` - use that from `User`'s `businessUserInfo` field instead | ||
* `businessName` - use that from `User`'s `businessUserInfo` field instead | ||
* `businessRole` - use that from `User`'s `businessUserInfo` field instead | ||
|
||
## struct LinkedNotebook | ||
* renamed fields: | ||
* `shareKey` was renamed to `sharedNotebookGlobalId` | ||
|
||
## struct Notebook | ||
* added fields: | ||
* `recipientSettings` of `SharedNotebookRecipientSettings` type (new struct) | ||
|
||
## struct NotebookRestrictions | ||
* added fields: | ||
* `noShareNotesWithBusiness` of `bool` type | ||
* `noRenameNotebook` of `bool` type | ||
|
||
## struct SharedNotebookInstanceRestrictions | ||
* renamed enum items: | ||
* `ONLY_JOINED_OR_PREVIEW` was renamed to `ASSIGNED` | ||
|
||
## struct SharedNotebook | ||
* added fields: | ||
* `recipientIdentityId` of `IdentityID` type (new typedef for `qint64` type) | ||
* `globalId` of `QString` type | ||
* `sharerUserId` of `UserID` type | ||
* `recipientUsername` of `QString` type | ||
* `recipientUserId` of `UserID` type | ||
* `serviceAssigned` of `Timestamp` type | ||
* removed fields: | ||
* `shareKey` - use `globalId` instead | ||
|
||
## struct Note | ||
* added fields: | ||
* `sharedNotes` of `QList<SharedNote>` type (`SharedNote` is a new struct) | ||
* `restrictions` of `NoteRestrictions` type (new struct) | ||
* `limits` of `NoteLimits` type (new struct) | ||
|
||
## struct NoteAttributes | ||
* added fields: | ||
* `sharedWithBusiness` of `bool` type | ||
* `conflictSourceNoteGuid` of `QString` type | ||
* `noteTitleQuality` of `qint32` type | ||
|
||
## struct ClientUsageMetrics | ||
* this struct was completely removed from Evernote API and seemingly has no replacement. It was not really much useful | ||
for Evernote client apps so it shouldn't be a big loss. | ||
|
||
## class UserStore | ||
* Methods refreshAuthentication and refreshAuthenticatonAsync were removed as their counterparts were removed from Evernote API. It is not a big loss since these methods were available only to Evernote internal applications anyway. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.