Kristian Vos
|
3084b446cb
refactor: use new published/unpublished events on news page, sort news based on createdAt date
|
4 months ago |
Kristian Vos
|
c39d9e688d
feat: add news published/unpublished events
|
4 months ago |
Kristian Vos
|
b5ede50478
refactor: change job payload validation to use joi
|
4 months ago |
Owen Diffey
|
18c6f76f86
refactor: Remove permissions.ts
|
5 months ago |
Owen Diffey
|
a36ebbf737
refactor: Hard code frontend view permissions for roles
|
5 months ago |
Kristian Vos
|
f8e33fa43c
refactor: collect permissions dynamically using hasPermission, rename old model hasPermission properties/functions to differntiate
|
5 months ago |
Kristian Vos
|
a6d077292e
fix: add missing isDj to _hasPermission of station deleted/updated events
|
5 months ago |
Kristian Vos
|
124ed36c2c
fix: don't show EditNews form/preview if data hasn't loaded yet
|
5 months ago |
Kristian Vos
|
583be62824
fix: old permission format was being used in data module jobs with model id scope
|
5 months ago |
Kristian Vos
|
ec5378f71f
fix: bulk model loading wouldn't handle errors at all
|
5 months ago |
Kristian Vos
|
2f1942df65
refactor: clean up the data update/delete events hasPermission code a bit
|
5 months ago |
Kristian Vos
|
fce0f8911a
fix: use dots instead of colon for permission separator for now to fix tests
|
5 months ago |
Kristian Vos
|
215c6f4d2b
feat: implement permission functions for updated/deleted data events
|
5 months ago |
Kristian Vos
|
cb3672d3f1
fix: session/socketId wasn't provided when doing event assertPermission from Subscribe/SubscribeMany
|
5 months ago |
Kristian Vos
|
1e93eb6545
refactor: change permission scope delimiter for jobs and events
|
5 months ago |
Kristian Vos
|
e1c49a548e
refactor: change EventsModule SubscribeMany job to use new method of checking event permissions
|
5 months ago |
Kristian Vos
|
8d8daad5b6
feat: added spec file for EventsModule Subscribe job, initial version
|
5 months ago |
Kristian Vos
|
aaa0a5c56b
chore: lint fixes
|
5 months ago |
Kristian Vos
|
8dcb23d25f
refactor: improve event subscribe permission system functionality
|
5 months ago |
Kristian Vos
|
e99514c781
fix: property type returned by setInterval is Timeout, not Timer
|
5 months ago |
Kristian Vos
|
7d3713a587
chore: disable eslint error/warning of ts-ignore in spec files, for now
|
5 months ago |
Kristian Vos
|
1f23fd7794
refactor: exclude all logs to console by default when running tests
|
5 months ago |
Kristian Vos
|
2a0d5282da
fix: set default logging type to info, to fix include/exclude rules for info logs
|
5 months ago |
Kristian Vos
|
8351664bc4
chore: use color with mocha testing
|
5 months ago |
Kristian Vos
|
ce7d0b41d9
fix: don't include spec files when loading job/event files
|
5 months ago |
Owen Diffey
|
fd49495beb
refactor: Assert findById permission in base model updated and deleted events
|
6 months ago |
Owen Diffey
|
c0c2675cf6
Merge branch 'release/backend-rewrite' into refactor/event-classes
|
6 months ago |
Owen Diffey
|
c72e69a30f
feat: Starts adding job spec
|
6 months ago |
Owen Diffey
|
f10c9183f9
feat: Adds test setup
|
6 months ago |
Owen Diffey
|
cb261c6773
refactor: Move event model permission override to base class
|
6 months ago |