Henry
a249fd8bee
fix SPDX headers and add reuse API badge
2021-10-08 14:39:31 +02:00
Henry
4d3610e2fb
prepare v2 release
2021-05-31 14:51:05 +02:00
Henry
385b98a3a1
add privacy mode and role tests ( fixes #185 )
...
* denied/remove
* denied/add
* invites/revoke
* members/remove
* notices/edit
* notices/add
also:
* add members.CheckAction helper
* fix muxrpc abort bug and update to v2.0.5
* strictly use SeeOther not 307 (fixes #149 )
2021-05-14 14:27:01 +02:00
Henry
8ff4adf160
various fixes
...
* fix test compilation
* fix aliases on member page
* add tests for aliases on member.GetByID and ByFeed
* fix admin tests
* use webassert helper for flash messages
* fix flashes
2021-04-12 14:10:42 +02:00
Henry
60010a7787
use flashes for notice edits
2021-04-12 14:09:09 +02:00
Henry
cec7bc0e44
add flash message helper
2021-04-12 14:09:09 +02:00
Henry
d39d1ac6e9
go fmt ./... the last PR
2021-03-16 15:13:05 +01:00
cblgh
991df6c013
add tests for checking SaveCallCount
2021-03-16 14:09:01 +01:00
cblgh
f970f9f8c7
content / title can't be empty when adding new translation
2021-03-16 14:09:01 +01:00
cblgh
83920aa646
saving notice without content, title should not work
2021-03-16 14:09:01 +01:00
cblgh
8be59c9575
route add/language returns 405 for non-POST req
2021-03-16 14:08:54 +01:00
Henry
ad7c01fb10
web/handlers: streamline receiver names
2021-03-11 09:32:03 +01:00
Henry
117cad48a7
rename admindb to roomdb
2021-03-10 16:44:46 +01:00
Andre Staltz
e5162fea5d
style the notice-edit page
2021-03-01 12:21:05 +02:00
Henry
99e56dbcbf
re-use edit template for new translation
2021-02-25 11:13:48 +01:00
Henry
e5a07fd8bc
(Pinned)Notices
...
Notices are pages that admins can fill with their content to describe
and customize the room.
Pinned notices are common notices that each room has. Like a description
and privacy policy.
* update models
* simple crud test for basic notices
* edit and save notices as admin
2021-02-25 10:07:44 +01:00