Jonas Schäfer
d3777d3b07
Make flake8 happy
2021-01-16 15:22:46 +01:00
Jonas Schäfer
6660fe76ea
Extend and improve stylesheet
...
- Support for blockquotes
- Support for lists (ol, ul)
- Make tertiary buttons more obvious by using an underline
- Extend demo to showcase new features
2021-01-16 15:16:04 +01:00
Jonas Schäfer
cebb86c5f3
Always build all CSS files if a single SCSS file changes
...
We don’t have proper dependency tracking for those in Make, and
I don’t care to invest a lot into getting this right, given that
the build for all of them finishes in <1s.
2021-01-16 15:16:04 +01:00
Jonas Schäfer
d8fe169ba4
Add warning box to inform user of password change implications
2021-01-16 15:16:04 +01:00
Jonas Schäfer
00f678a86f
Redefine box styles to be independent of primary/accent for semantics
2021-01-16 15:16:04 +01:00
Jonas Schäfer
a88c5b92dd
Introduce layer of abstraction in colour definition
...
The raw values now map to names describing their hue. Only when
mapping them to variable names, we assign semantic meaning. This
allows easy re-use of colour values between different semantic
meanings and changing e.g. accent vs. primary without affecting
the use as warning.
2021-01-16 15:16:04 +01:00
Matthew Wild
7f8b2644e7
Github: test workflow rename to resolve Github errors
2020-05-20 15:16:05 +01:00
Matthew Wild
d79d354d72
docker: Add BUILD_SERIES/BUILD_ID (currently unused)
2020-05-20 14:46:24 +01:00
Matthew Wild
d417736872
Github: Add workflows for build and publish of Docker images
2020-05-20 14:38:24 +01:00
Jonas Schäfer
909a8ef2a7
Update logout comment with relevant feature request
2020-04-30 16:14:14 +02:00
Jonas Schäfer
22a371444d
Remove compatibility hacks after bugs got fixed
...
See-Also: https://issues.prosody.im/1500
See-Also: https://issues.prosody.im/1501
2020-04-30 16:14:14 +02:00
Jonas Schäfer
12276337c1
Partially log requests sent to the API
...
Payloads containing sensitive content (such as passwords and
tokens) should be hidden.
2020-04-30 16:14:14 +02:00
Jonas Schäfer
d6b1ce8773
Make logging configurable
2020-04-30 16:14:14 +02:00
Jonas Schäfer
ba6ed22de0
Tweak the font sizes on the login page a little
...
It’s nicer if the domain name is larger than the main text.
2020-04-30 16:14:14 +02:00
Jonas Schäfer
880b4c22d0
Get rid of debug prints
2020-04-30 16:14:14 +02:00
Jonas Schäfer
04d9f9fd9b
Properly handle the various login error conditions
...
Note that this includes setting content types on the sessions,
which is why this spills over into the XML IQ function.
2020-04-30 16:14:14 +02:00
Jonas Schäfer
095970adb4
Convert login page to proper form
...
- free CSRF protection
- free "empty field" early out
- easier passing on of errors to the view
2020-04-30 16:14:14 +02:00
Jonas Schäfer
280e630b6c
Merge pull request #21 from KillianKemps/dockerfile
...
[Docker] Add Dockerfile
2020-04-30 16:13:48 +02:00
Killian Kemps
9d1d516b5e
[Docker] Display messages for missing envvars
2020-04-30 15:52:54 +02:00
Killian Kemps
e86bd1562d
[Docker] Add Dockerfile
2020-04-29 15:46:29 +02:00
Jonas Schäfer
9e0ec5ff0f
Ensure that the css directory exists
...
It isn’t part of the repository, so the Makefile should not rely
on it being present.
2020-04-28 19:19:40 +02:00
Jonas Schäfer
00936ccfe8
Add screenshot to readme
2020-03-07 17:06:00 +01:00
Jonas Schäfer
1cb9801fa6
Update examples again
2020-03-07 17:02:14 +01:00
Jonas Schäfer
af08f31cf3
Include language tag in html/@lang
2020-03-07 16:56:15 +01:00
Jonas Schäfer
e07fbb0c97
Start translating the web portal
2020-03-07 16:55:12 +01:00
Jonas Schäfer
1ab3fac939
Update example configuration
2020-03-07 13:36:38 +01:00
Jonas Schäfer
6819a4eec6
Clean up about page
2020-03-07 13:31:40 +01:00
Jonas Schäfer
18279e3478
Add version info to package
2020-03-07 13:31:30 +01:00
Jonas Schäfer
76c38030a8
Improve avatar route handler
...
- Fix etag attaching (add_etag is actually a coroutine which hashes
the data payload)
- Add expires header (with now + 1800s default) so that we don’t
get hit with an avatar request on each load -- also helps with
page responsiveness.
- Proper handling for HEAD requests.
- CSP to prevent funny SVG attacks.
2020-03-07 13:12:30 +01:00
Jonas Schäfer
56b0b7b669
Correctly handle unset nickname (e.g. on fresh accounts)
2020-03-07 13:12:19 +01:00
Jonas Schäfer
9584503b57
Reverse order of avatar/name display
...
I think this creates a nice symmetry with the Snikket logo on the
left.
2020-03-07 13:11:50 +01:00
Jonas Schäfer
71733adc90
Fix various edge cases around stale sessions
...
If a session cookie is set, but prosody doesn’t know about the
session anymore, we could get into fun states. This patch fixes
them by requiring the session to be tested with a ping request
on each HTTP request.
2020-03-07 13:11:45 +01:00
Jonas Schäfer
5ee2d97eb6
Implement support for shim avatar display
2020-03-07 13:11:43 +01:00
Jonas Schäfer
c902c59f8b
Implement support for avatars
2020-03-07 12:38:17 +01:00
Jonas Schäfer
8785a99621
Fix incorrect space between buttons
2020-03-07 11:16:51 +01:00
Jonas Schäfer
6e47c8141c
Revamp home screen
2020-03-07 11:16:39 +01:00
Jonas Schäfer
944cd333b3
Add support for a profile change page
2020-03-07 11:16:29 +01:00
Jonas Schäfer
513cb0949b
Remove obsolete login.scss
2020-03-07 11:05:45 +01:00
Jonas Schäfer
0cad2b0306
Reorganise SCSS files
...
This allows us to include _theme to get all the variables. The
idea is that we may, in the future, be able to use a few different
CSS files if we have complex (= large) features which are only
needed rarely.
2020-03-07 11:04:47 +01:00
Jonas Schäfer
936b5a7a89
Update dev server instructions
2020-03-05 18:46:42 +01:00
Jonas Schäfer
e985fe9c61
Design foundations
...
- Create a colour palette
- Create a sizing schema for paddings and fonts
- Implement basic form controls
- Create a theme demo page
- Apply the theme to the existing pages.
Still TODO is the final font selection.
2020-03-05 18:43:52 +01:00
Jonas Schäfer
9318b0d152
Implement support for password change and logout
...
Note the hack.
2020-02-29 13:43:10 +01:00
Jonas Schäfer
90273960d3
Add instructions to start a dev server
2020-02-29 12:40:43 +01:00
Jonas Schäfer
88eb884a3e
Add example configuration
2020-02-29 12:39:41 +01:00
Jonas Schäfer
aade4c67fd
Bootstrap initial thing which can login
2020-02-29 12:37:56 +01:00
Jonas Schäfer
821ab7bd1f
Create ominous readme
2020-02-17 17:13:24 +01:00
Matthew Wild
70fb38bb58
Initial commit
2020-02-17 16:10:42 +00:00