Skip to content

refactor: error messages reformatted and moved into own files (#1731) #7446

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 87 commits into
base: alpha
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
87 commits
Select commit Hold shift + click to select a range
23144a4
Error message formatting on server
faisal154 Jun 25, 2021
4ad1fa3
removed formatting issue
faisal154 Jun 28, 2021
704aba2
Merge branch 'master' into feat/1731
fn-faisal Aug 31, 2021
1808b4d
refactor -- 1
faisal154 Sep 1, 2021
e5554db
Merge branch 'feat/1731' of https://github.com/fn-faisal/parse-server…
faisal154 Sep 1, 2021
ca90aa5
refactor -- 2
faisal154 Sep 1, 2021
af0f8cd
refactor -- 3
faisal154 Sep 1, 2021
c52f6ed
refactor -- 4
faisal154 Sep 1, 2021
fa2c14a
Merge branch 'master' into feat/1731
mtrezza Sep 10, 2021
d6593a0
Merge branch 'master' into feat/1731
fn-faisal Sep 13, 2021
5a9ddad
Merge branch 'master' into feat/1731
mtrezza Sep 20, 2021
be4652d
CHANGELOG entry + removed . at the end of errors
faisal154 Sep 21, 2021
8475b93
updated specs
faisal154 Sep 21, 2021
30b526b
updated error message 2
faisal154 Sep 21, 2021
650f459
Merge branch 'master' into feat/1731
fn-faisal Sep 28, 2021
c21cef2
Added dot at the end of messages
faisal154 Sep 29, 2021
156477c
dot at the end of messages -- 2
faisal154 Sep 29, 2021
afe71e3
Merge branch 'master' into feat/1731
mtrezza Sep 29, 2021
8e1276e
Merge branch 'master' into feat/1731
mtrezza Oct 6, 2021
97fe795
url comparison spec file fix
faisal154 Oct 7, 2021
076c012
fixing spec -- 2
faisal154 Oct 7, 2021
6135d24
fixing spec -- 3
faisal154 Oct 7, 2021
11dad3b
fixed error messages
faisal154 Oct 11, 2021
063e159
Merge branch 'master' of https://github.com/parse-community/parse-ser…
faisal154 Oct 11, 2021
8cc1639
Merge branch 'master' into feat/1731
mtrezza Oct 14, 2021
3b6d10a
Merge branch 'master' into feat/1731
mtrezza Oct 17, 2021
e30d8fe
Merge branch 'master' into feat/1731
mtrezza Oct 18, 2021
2bfd428
fixed error
faisal154 Oct 19, 2021
1981917
Merge branch 'feat/1731' of https://github.com/fn-faisal/parse-server…
faisal154 Oct 19, 2021
dd52f9e
test fixes -- 2
faisal154 Oct 19, 2021
625869d
error fix
faisal154 Oct 20, 2021
3529110
error message revert
faisal154 Oct 20, 2021
f5f0552
error message revert -- 2
faisal154 Oct 20, 2021
90224a1
fix error messages
faisal154 Oct 20, 2021
ad66ca7
updated testcase for notContainedIn false queries
faisal154 Nov 23, 2021
84d5476
resolve merge conflicts
faisal154 Nov 23, 2021
cf48d0e
fix typo
faisal154 Nov 23, 2021
7cc12dc
workarounds for postgres tests
faisal154 Nov 23, 2021
0be0d92
Merge branch 'alpha' of https://github.com/parse-community/parse-serv…
faisal154 Nov 29, 2021
2682010
workaround 1
faisal154 Nov 29, 2021
cef6759
fixes for pgsql tests
faisal154 Nov 29, 2021
7718100
fixes for pgsql tests
faisal154 Nov 29, 2021
78e5a22
Merge branch 'alpha' of https://github.com/parse-community/parse-serv…
faisal154 Nov 29, 2021
5980886
Merge branch 'alpha' into feat/1731
fn-faisal Nov 30, 2021
3c06771
removed if checks for postgres
faisal154 Nov 30, 2021
04b34b4
Merge branch 'feat/1731' of https://github.com/fn-faisal/parse-server…
faisal154 Nov 30, 2021
4051280
fix: error message type fix
faisal154 Nov 30, 2021
f0ce64b
fix: error message to camel case
faisal154 Dec 1, 2021
685e7ee
fix: revert testcase for containedBy invalid query
faisal154 Dec 1, 2021
c0994c4
update reqOp and noOp message The -> The field
faisal154 Dec 1, 2021
548726d
fix: refactor 1
faisal154 Dec 1, 2021
fd56eb1
fix: Error Message refactor
faisal154 Dec 1, 2021
25494d1
fix: import ErrorMessage
faisal154 Dec 1, 2021
850fd2a
fix: import ErrorMessage -- 2
faisal154 Dec 1, 2021
caa2aaf
fix: ValidationAndPasswordsReset spec file fix
faisal154 Dec 1, 2021
11d1150
fix: use ErrorMessage object in ValidationAndPasswordReset spec
faisal154 Dec 2, 2021
9886a4e
fix: test fix for EmailVerificationToken spec
faisal154 Dec 2, 2021
f10be87
fix: failing test fixes for ParseUser spec
faisal154 Dec 2, 2021
8946459
fix: failing test cases AccountLockoutPolicy spec
faisal154 Dec 2, 2021
2c35bdd
fix: refactor accountLockout string to ErrorMessage
faisal154 Dec 2, 2021
e41c58a
fix: failing test case for ParseServerRESTController spec
faisal154 Dec 2, 2021
991b04d
fix: schema spec failing test cases
faisal154 Dec 2, 2021
b7d6e1c
fix: failing test cases for VerifyUserPassword spec
faisal154 Dec 2, 2021
9b52bd0
fix: failing test cases rest spec
faisal154 Dec 2, 2021
22a0992
fix: RestQuery spec failing test non-exitent class
faisal154 Dec 2, 2021
abfe5e5
fix: RestQuery to use ErrorMessage for class creation err
faisal154 Dec 2, 2021
5385bc6
fix: ParseQyery spec
faisal154 Dec 2, 2021
4a0fd8f
fix: ParseQuery.FullTextSearch test case fix
faisal154 Dec 2, 2021
7a3c956
fix: ParseQuery.FullTextSearch spec failing errors
faisal154 Dec 2, 2021
1c26f88
fix: ParseQuery.FullTextSearch spec failing errors -- 2
faisal154 Dec 2, 2021
ff34daa
fix: invalidJson test fix --1
faisal154 Dec 2, 2021
e873e3c
fix: ParseQuery.FullTextSerach spec test cases for pgsql
faisal154 Dec 2, 2021
769b69f
fix: PostgresStorageAdapter error :
faisal154 Dec 2, 2021
3a722e4
fix: added test cases for ErrorMessage
faisal154 Dec 2, 2021
6e58086
fix: removed test cases for ErrorMessage
faisal154 Dec 2, 2021
0a9f5e2
fix: refactor queryValueTypeInvalid seperator
faisal154 Dec 6, 2021
8be5fe4
fix: refactor queryValueTypeInvalid key, value
faisal154 Dec 6, 2021
efc1483
fix: failing testcases for mongo
faisal154 Dec 6, 2021
b219124
fix: refactor required op space
faisal154 Dec 6, 2021
d60b4b6
fix: bad renamed to invalid
faisal154 Dec 6, 2021
8e0454c
fix: objectFieldValueInvalid refactor
faisal154 Dec 6, 2021
0d7a80e
Merge branch 'alpha' of https://github.com/parse-community/parse-serv…
faisal154 Dec 14, 2021
12cd379
fix: refactor error messages
faisal154 Dec 14, 2021
5bd8abc
fix: refactor error message
faisal154 Dec 14, 2021
847b966
fix: test cases postgres adapter
faisal154 Dec 14, 2021
c591ad0
Merge branch 'alpha' into feat/1731
fn-faisal Jan 7, 2022
0d6b06a
Merge branch 'alpha' into feat/1731
fn-faisal Jan 20, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
resolve merge conflicts
  • Loading branch information
faisal154 committed Nov 23, 2021
commit 84d5476d78a19e3b74a320a04bf9f3330fe48c8f
47 changes: 1 addition & 46 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,52 +32,7 @@ Details:

> ### “If you are curious to see what's next!”

## Other Changes
- Support native mongodb syntax in aggregation pipelines (Raschid JF Rafeally) [#7339](https://github.com/parse-community/parse-server/pull/7339)
- Fix error when a not yet inserted job is updated (Antonio Davi Macedo Coelho de Castro) [#7196](https://github.com/parse-community/parse-server/pull/7196)
- request.context for afterFind triggers (dblythy) [#7078](https://github.com/parse-community/parse-server/pull/7078)
- Winston Logger interpolating stdout to console (dplewis) [#7114](https://github.com/parse-community/parse-server/pull/7114)
- Added convenience method `Parse.Cloud.sendEmail(...)` to send email via email adapter in Cloud Code (dblythy) [#7089](https://github.com/parse-community/parse-server/pull/7089)
- LiveQuery support for $and, $nor, $containedBy, $geoWithin, $geoIntersects queries (dplewis) [#7113](https://github.com/parse-community/parse-server/pull/7113)
- Supporting patterns in LiveQuery server's config parameter `classNames` (Nes-si) [#7131](https://github.com/parse-community/parse-server/pull/7131)
- Added `requireAnyUserRoles` and `requireAllUserRoles` for Parse Cloud validator (dblythy) [#7097](https://github.com/parse-community/parse-server/pull/7097)
- Support Facebook Limited Login (miguel-s) [#7219](https://github.com/parse-community/parse-server/pull/7219)
- Removed Stage name check on aggregate pipelines (BRETT71) [#7237](https://github.com/parse-community/parse-server/pull/7237)
- Retry transactions on MongoDB when it fails due to transient error (Antonio Davi Macedo Coelho de Castro) [#7187](https://github.com/parse-community/parse-server/pull/7187)
- Bump tests to use Mongo 4.4.4 (Antonio Davi Macedo Coelho de Castro) [#7184](https://github.com/parse-community/parse-server/pull/7184)
- Added new account lockout policy option `accountLockout.unlockOnPasswordReset` to automatically unlock account on password reset (Manuel Trezza) [#7146](https://github.com/parse-community/parse-server/pull/7146)
- Test Parse Server continuously against all recent MongoDB versions that have not reached their end-of-life support date, added MongoDB compatibility table to Parse Server docs (Manuel Trezza) [#7161](https://github.com/parse-community/parse-server/pull/7161)
- Test Parse Server continuously against all recent Node.js versions that have not reached their end-of-life support date, added Node.js compatibility table to Parse Server docs (Manuel Trezza) [7161](https://github.com/parse-community/parse-server/pull/7177)
- Throw error on invalid Cloud Function validation configuration (dblythy) [#7154](https://github.com/parse-community/parse-server/pull/7154)
- Allow Cloud Validator `options` to be async (dblythy) [#7155](https://github.com/parse-community/parse-server/pull/7155)
- Optimize queries on classes with pointer permissions (Pedro Diaz) [#7061](https://github.com/parse-community/parse-server/pull/7061)
- Test Parse Server continuously against all relevant Postgres versions (minor versions), added Postgres compatibility table to Parse Server docs (Corey Baker) [#7176](https://github.com/parse-community/parse-server/pull/7176)
- Randomize test suite (Diamond Lewis) [#7265](https://github.com/parse-community/parse-server/pull/7265)
- LDAP: Properly unbind client on group search error (Diamond Lewis) [#7265](https://github.com/parse-community/parse-server/pull/7265)
- Improve data consistency in Push and Job Status update (Diamond Lewis) [#7267](https://github.com/parse-community/parse-server/pull/7267)
- Excluding keys that have trailing edges.node when performing GraphQL resolver (Chris Bland) [#7273](https://github.com/parse-community/parse-server/pull/7273)
- Added centralized feature deprecation with standardized warning logs (Manuel Trezza) [#7303](https://github.com/parse-community/parse-server/pull/7303)
- Use Node.js 15.13.0 in CI (Olle Jonsson) [#7312](https://github.com/parse-community/parse-server/pull/7312)
- Fix file upload issue for S3 compatible storage (Linode, DigitalOcean) by avoiding empty tags property when creating a file (Ali Oguzhan Yildiz) [#7300](https://github.com/parse-community/parse-server/pull/7300)
- Add building Docker image as CI check (Manuel Trezza) [#7332](https://github.com/parse-community/parse-server/pull/7332)
- Add NPM package-lock version check to CI (Manuel Trezza) [#7333](https://github.com/parse-community/parse-server/pull/7333)
- Fix incorrect LiveQuery events triggered for multiple subscriptions on the same class with different events [#7341](https://github.com/parse-community/parse-server/pull/7341)
- Fix select and excludeKey queries to properly accept JSON string arrays. Also allow nested fields in exclude (Corey Baker) [#7242](https://github.com/parse-community/parse-server/pull/7242)
- Fix LiveQuery server crash when using $all query operator on a missing object key (Jason Posthuma) [#7421](https://github.com/parse-community/parse-server/pull/7421)
- Added runtime deprecation warnings (Manuel Trezza) [#7451](https://github.com/parse-community/parse-server/pull/7451)
- Add ability to pass context of an object via a header, X-Parse-Cloud-Context, for Cloud Code triggers. The header addition allows client SDK's to add context without injecting _context in the body of JSON objects (Corey Baker) [#7437](https://github.com/parse-community/parse-server/pull/7437)
- Add CI check to add changelog entry (Manuel Trezza) [#7512](https://github.com/parse-community/parse-server/pull/7512)
- Refactor: uniform issue templates across repos (Manuel Trezza) [#7528](https://github.com/parse-community/parse-server/pull/7528)
- ci: bump ci environment (Manuel Trezza) [#7539](https://github.com/parse-community/parse-server/pull/7539)
- CI now pushes docker images to Docker Hub (Corey Baker) [#7548](https://github.com/parse-community/parse-server/pull/7548)
- Allow afterFind and afterLiveQueryEvent to set unsaved pointers and keys (dblythy) [#7310](https://github.com/parse-community/parse-server/pull/7310)
- Allow setting descending sort to full text queries (dblythy) [#7496](https://github.com/parse-community/parse-server/pull/7496)
- Allow cloud string for ES modules (Daniel Blyth) [#7560](https://github.com/parse-community/parse-server/pull/7560)
- docs: Introduce deprecation ID for reference in comments and online search (Manuel Trezza) [#7562](https://github.com/parse-community/parse-server/pull/7562)
- Refactored ParseError messages to a seperate file to make them easier to edit and update (Faisal Nadeem) [#7446](https://github.com/parse-community/parse-server/pull/7446)
- refactor: deprecate `Parse.Cloud.httpRequest`; it is recommended to use a HTTP library instead. (Daniel Blyth) [#7595](https://github.com/parse-community/parse-server/pull/7595)
- refactor: Modernize HTTPRequest tests (brandongregoryscott) [#7604](https://github.com/parse-community/parse-server/pull/7604)
- Allow liveQuery on Session class (Daniel Blyth) [#7554](https://github.com/parse-community/parse-server/pull/7554)
These releases contain the latest development changes, but you should be prepared for anything, including sudden breaking changes or code refactoring. Use this branch to contribute to the project and open pull requests.

Details:
- Stability: *unstable*
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.