Commit graph

677 commits

Author SHA1 Message Date
Ophir LOJKINE
0071ebacbb
Merge pull request #260 from H2-invent/bugfix/whipe_board
bugfix whipe board with new role function.
2022-10-17 00:03:53 +02:00
Entwicklung
378fc9fbbc bugfix whipe whiboard with new role function. 2022-10-04 07:24:58 +02:00
Entwicklung
f45aabc4b9 bugfix whipe board with new role function. 2022-10-03 18:33:07 +02:00
lovasoa
f88edba08d
Update dependencies 2022-09-05 22:08:13 +02:00
lovasoa
0171275c5d
Improve the documentation 2022-09-05 22:08:02 +02:00
Ophir LOJKINE
27c79074ed
Merge pull request #254 from H2-invent/master
add JWT board name verification
2022-09-05 22:00:47 +02:00
Entwicklung
180c6d7e83 refactor all JWT verification of isModerator and get BoardRole 2022-09-05 21:19:36 +02:00
Entwicklung
7fff39eecd * remove logs
* new parsing of role line
2022-09-05 11:57:47 +02:00
Entwicklung
81d0a87389 make regex more ":" solid. 2022-09-05 11:11:28 +02:00
Entwicklung
9753f9e666 build unittest 2022-09-05 00:40:10 +02:00
Entwicklung
f5b596562b remove logs 2022-09-04 22:12:57 +02:00
Entwicklung
b907c313fa update README.md 2022-09-04 19:37:27 +02:00
Entwicklung
ba2a11bd43 update README.md 2022-09-04 19:36:41 +02:00
Entwicklung
c4ec807c61 update README.md 2022-09-04 19:36:13 +02:00
Entwicklung
46c138dfd8 tune regex to only accept whitespace 2022-09-04 19:31:22 +02:00
Entwicklung
a9cfbe1072 Merge remote-tracking branch 'origin/master' 2022-09-04 19:29:59 +02:00
Entwicklung
6c55e578c4 now the board name is in the roles string 2022-09-04 19:29:36 +02:00
holema
7ac8a4b7c7
Update README.md 2022-09-03 18:26:17 +02:00
Entwicklung
dba4fbf003 change config js and remove env 2022-09-03 16:51:41 +02:00
Entwicklung
3096013937 Merge branch 'feature/boardjwt'
# Conflicts:
#	README.md
#	server/jwtBoardnameAuth.js
#	server/server.js
2022-09-03 16:50:00 +02:00
Entwicklung
b74cdd2906 add JWT board name verification 2022-09-03 16:49:23 +02:00
holema
4ba73b2141
Update server/jwtBoardnameAuth.js
Co-authored-by: Ophir LOJKINE <contact@ophir.dev>
2022-09-03 15:28:00 +02:00
Entwicklung
e5e60890d7 add JWT board name verification 2022-09-03 11:01:24 +02:00
lovasoa
f70f2e0250
v1.18.0 2022-08-21 20:47:10 +02:00
lovasoa
33d4311ab9
update dependencies 2022-08-21 20:46:19 +02:00
lovasoa
657344915d
Rework the front page 2022-08-21 20:42:54 +02:00
Ophir LOJKINE
ba30176ee0
Merge pull request #250 from lovasoa/dependabot/npm_and_yarn/ejs-3.1.8
Bump ejs from 3.1.6 to 3.1.8
2022-07-29 10:56:35 +02:00
dependabot[bot]
ec47503dea
Bump ejs from 3.1.6 to 3.1.8
Bumps [ejs](https://github.com/mde/ejs) from 3.1.6 to 3.1.8.
- [Release notes](https://github.com/mde/ejs/releases)
- [Changelog](https://github.com/mde/ejs/blob/main/CHANGELOG.md)
- [Commits](https://github.com/mde/ejs/compare/v3.1.6...v3.1.8)

---
updated-dependencies:
- dependency-name: ejs
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-07-28 19:23:32 +00:00
lovasoa
7826608f21
v1.17.1 2022-07-28 21:21:27 +02:00
Ophir LOJKINE
34ea003a2e
Merge pull request #249 from jamesdeacon/master
Added ability to set a moderator via JWT and added a Clear tool for moderators
2022-07-26 21:11:33 +02:00
jamesdeacon
41e6b6f492 Extract out jwt auth code 2022-07-26 15:44:56 +01:00
jamesdeacon
9ba5ee68f8 New Clear icon 2022-07-26 10:57:51 +01:00
jamesdeacon
b534190825 Refactor to reduce duplication 2022-07-26 10:14:47 +01:00
jamesdeacon
b0e595bc3b Bug fixes for role checking 2022-07-25 17:00:40 +01:00
jamesdeacon
6f7068ab4b Use standard role claim instead of custom "moderator" 2022-07-25 16:39:04 +01:00
jamesdeacon
f41585396d Server checks token to see if user is moderator before clear 2022-07-25 16:20:14 +01:00
jamesdeacon
a8bb9fb3b5 Add clear button for moderators 2022-07-21 16:29:21 +01:00
jamesdeacon
5675d708e9 Add ability to set user as a moderator via jwt 2022-07-20 16:25:35 +01:00
lovasoa
6123ed3b23
Update dependencies 2022-04-20 23:20:18 +02:00
Ophir LOJKINE
de5520ec89
Merge pull request #232 from lovasoa/dependabot/npm_and_yarn/vm2-3.9.7
Bump vm2 from 3.9.5 to 3.9.7
2022-02-21 10:53:49 +01:00
dependabot[bot]
5d91d9361d
Bump vm2 from 3.9.5 to 3.9.7
Bumps [vm2](https://github.com/patriksimek/vm2) from 3.9.5 to 3.9.7.
- [Release notes](https://github.com/patriksimek/vm2/releases)
- [Changelog](https://github.com/patriksimek/vm2/blob/master/CHANGELOG.md)
- [Commits](https://github.com/patriksimek/vm2/compare/3.9.5...3.9.7)

---
updated-dependencies:
- dependency-name: vm2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-02-15 00:48:11 +00:00
lovasoa
3c595a74e4
update dependencies 2022-01-23 00:07:06 +01:00
Ophir LOJKINE
a74747ab58
Merge pull request #225 from jamesdeacon/master
Add support for JWT authorisation
2022-01-22 23:48:59 +01:00
James Deacon
35e0347e60 Improve static resource detection 2022-01-17 20:41:59 +00:00
James Deacon
a0c45d9da4 Remove conditional spreading 2022-01-17 19:58:02 +00:00
James Deacon
12a741db39 Remove unused socket.decoded 2022-01-17 17:56:00 +00:00
James Deacon
b1f6b8c6c7 Refactor request handler to avoid duplication 2022-01-17 17:54:52 +00:00
James Deacon
9258ce99a9 Only apply token param to socket when valid 2022-01-17 11:56:10 +00:00
jamesdeacon
2a705241ee
Update README.md
Co-authored-by: Ophir LOJKINE <pere.jobs@gmail.com>
2022-01-17 09:33:25 +00:00
Ophir LOJKINE
3122025a55
Merge pull request #227 from iblech/patch-3
Fix tiny typo in error message
2022-01-16 20:12:10 +01:00