[PR #79] [MERGED] Add .validate rules #69

Closed
opened 2026-05-23 08:39:55 -06:00 by gitea-mirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/appy-one/acebase-server/pull/79
Author: @appy-one
Created: 4/11/2023
Status: Merged
Merged: 5/8/2023
Merged by: @appy-one

Base: masterHead: feature/validate-rules


📝 Commits (10+)

  • 1b30c6d Add .validate rules
  • 5ecf335 do not allow eval either
  • 3c2de75 Add routes to new router in env
  • 28fd91b Add instance property to env
  • 20a2f15 Work on rules,
  • 71052ca return values instead of DataSnapshots
  • a0baa8e fix value and exists using relative paths
  • b45b1b8 Add .validate rules documentation
  • 8466dc4 update dependencies
  • cbc5967 Fix uncached user authentication

📊 Changes

55 files changed (+841 additions, -273 deletions)

View changed files

📝 README.md (+180 -10)
📝 create-package-files (+10 -10)
📝 package-lock.json (+30 -30)
📝 package.json (+3 -3)
📝 src/middleware/404.ts (+1 -1)
📝 src/middleware/cache.ts (+1 -1)
📝 src/middleware/context.ts (+1 -1)
📝 src/middleware/cors.ts (+1 -1)
📝 src/middleware/swagger.ts (+1 -1)
📝 src/middleware/user.ts (+2 -2)
📝 src/routes/auth-change-password.ts (+1 -1)
📝 src/routes/auth-delete.ts (+1 -1)
📝 src/routes/auth-forgot-password.ts (+1 -1)
📝 src/routes/auth-reset-password.ts (+1 -1)
📝 src/routes/auth-signin.ts (+1 -1)
📝 src/routes/auth-signout.ts (+1 -1)
📝 src/routes/auth-signup.ts (+1 -1)
📝 src/routes/auth-state.ts (+1 -1)
📝 src/routes/auth-update.ts (+1 -1)
📝 src/routes/auth-verify-email.ts (+1 -1)

...and 35 more files

📄 Description

Work in progress: this adds .validate and a whole bunch of other access checking rules, as promised way back and requested by #70 and #76


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/appy-one/acebase-server/pull/79 **Author:** [@appy-one](https://github.com/appy-one) **Created:** 4/11/2023 **Status:** ✅ Merged **Merged:** 5/8/2023 **Merged by:** [@appy-one](https://github.com/appy-one) **Base:** `master` ← **Head:** `feature/validate-rules` --- ### 📝 Commits (10+) - [`1b30c6d`](https://github.com/appy-one/acebase-server/commit/1b30c6dbbcbae2669eb0c05e266ec0f87a3d2819) Add .validate rules - [`5ecf335`](https://github.com/appy-one/acebase-server/commit/5ecf33526376f112ea40f51fdc1b233270428714) do not allow `eval` either - [`3c2de75`](https://github.com/appy-one/acebase-server/commit/3c2de7561f2a7b31cb610576b898723308757cb5) Add routes to new `router` in env - [`28fd91b`](https://github.com/appy-one/acebase-server/commit/28fd91ba83ed03e59f44b1023a58c0b048ee514e) Add `instance` property to env - [`20a2f15`](https://github.com/appy-one/acebase-server/commit/20a2f1594c7ec2321b24530464dc11071541ba8c) Work on rules, - [`71052ca`](https://github.com/appy-one/acebase-server/commit/71052caa651b66067f8f892b14f65d1d79d08a31) return values instead of `DataSnapshot`s - [`a0baa8e`](https://github.com/appy-one/acebase-server/commit/a0baa8e1c50ecebf68dd8811131b2b5f8f082d09) fix `value` and `exists` using relative paths - [`b45b1b8`](https://github.com/appy-one/acebase-server/commit/b45b1b8da775fb0d39ff1fa4e6844bf7625cf0a9) Add `.validate` rules documentation - [`8466dc4`](https://github.com/appy-one/acebase-server/commit/8466dc4d9027e6f687ced74920f8d4f53668a042) update dependencies - [`cbc5967`](https://github.com/appy-one/acebase-server/commit/cbc59677e46209f33b56a0233f80ff4816811d9f) Fix uncached user authentication ### 📊 Changes **55 files changed** (+841 additions, -273 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+180 -10) 📝 `create-package-files` (+10 -10) 📝 `package-lock.json` (+30 -30) 📝 `package.json` (+3 -3) 📝 `src/middleware/404.ts` (+1 -1) 📝 `src/middleware/cache.ts` (+1 -1) 📝 `src/middleware/context.ts` (+1 -1) 📝 `src/middleware/cors.ts` (+1 -1) 📝 `src/middleware/swagger.ts` (+1 -1) 📝 `src/middleware/user.ts` (+2 -2) 📝 `src/routes/auth-change-password.ts` (+1 -1) 📝 `src/routes/auth-delete.ts` (+1 -1) 📝 `src/routes/auth-forgot-password.ts` (+1 -1) 📝 `src/routes/auth-reset-password.ts` (+1 -1) 📝 `src/routes/auth-signin.ts` (+1 -1) 📝 `src/routes/auth-signout.ts` (+1 -1) 📝 `src/routes/auth-signup.ts` (+1 -1) 📝 `src/routes/auth-state.ts` (+1 -1) 📝 `src/routes/auth-update.ts` (+1 -1) 📝 `src/routes/auth-verify-email.ts` (+1 -1) _...and 35 more files_ </details> ### 📄 Description Work in progress: this adds `.validate` and a whole bunch of other access checking rules, as promised way back and requested by #70 and #76 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
gitea-mirror 2026-05-23 08:39:55 -06:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/acebase-server#69
No description provided.