* Add multi-platform build support for linux/arm64
* Update README and simplify QEMU platforms
* Update frontend dependencies and clippy lints (#33)
* Only build ARM64 images on pushes to main
* Add Docker build CI to pull requests
* Add SQLite document persistence through SQLx
* Update README to describe configuration variables
* Minor changes to README wording
* Update image size estimate listed in README
* Update frontend dependencies
* Add direct database tests and restructure code
* Clarify use of `SQLITE_URI` in Docker contexts
* Optimization: debounce user cursor updates by 20ms
This noticeably improves performance on initial page load for documents
with large histories, as previously, the user sent one cursor update message
for every past edit to the document upon joining. Now, they only send a
single cursor update at the end of the update sequence, due to the
20ms debouncing operation.
* Update NPM dependency versions
* Allow configuring the number of days to expire documents
* Update server tests about server data
* Update test_cleanup for testing a different expiry value
* Remove unnecessary Arc<> while passing expiry_days to cleaner
* Rename `ServerData` to `ServerConfig`
* Update tests to rename the `ServerData`
* Update rustpad-server/tests/cleanup.rs
Co-authored-by: Eric Zhang <ekzhang1@gmail.com>
* feat: add dark mode functionality
Signed-off-by: SphericalKat <amolele@gmail.com>
* feat: add dark mode support to user popover
Signed-off-by: SphericalKat <amolele@gmail.com>
* refactor(ui): capitalize dark mode heading to be more consistent
Signed-off-by: SphericalKat <amolele@gmail.com>
* refactor(ui): generate colors with higher luminosity in dark mode
Signed-off-by: SphericalKat <amolele@gmail.com>
* refactor(ui): fix buttons looking weird in dark mode on hover
Signed-off-by: SphericalKat <amolele@gmail.com>
* refactor(ui): use darker colors for selections
Signed-off-by: SphericalKat <amolele@gmail.com>
* refactor(ui): make button easier to see in dark mode
Signed-off-by: SphericalKat <amolele@gmail.com>
* Make minor changes to dark mode styling
* Editor background is dark while loading
* Buttons look better when hovering
* Reduce duplication by moving color to top-level element
* Adjust contrast in top-bar colors
Co-authored-by: Eric Zhang <ekzhang1@gmail.com>