Commit Graph

136 Commits

Author SHA1 Message Date
Bruno Bernardino
05c20ec0a2 Optionally skip domain in cookie (#43)
If you're using a reverse proxy like Cloudflare Tunnels, you can now set `CONFIG_SKIP_COOKIE_DOMAIN_SECURITY="true"` to avoid login issues.

Also makes some UX tweaks to Expenses, and fixes a style issue for Chrome in Windows (#44).

Fixes #43
Fixes #44
2025-03-02 07:24:28 +00:00
Bruno Bernardino
07bbfbb0a5 Change favicon to dark. 2025-02-27 15:09:21 +00:00
Bruno Bernardino
4faa7bd05d Security fix for path-traversal attack (#48)
Additionally:

- Make expense and budget modal "reset" once closed, saved, or deleted.
- Make manifest icons dark
- Budgets in small screens should be full-screen
- Minor code cleanup

Fixes #48
2025-02-27 15:02:10 +00:00
Bruno Bernardino
b3bd8cb3cc Add manifest to allow "installing" app in mobile devices 2025-02-26 18:40:12 +00:00
Bruno Bernardino
874ab006f9 Add Expenses app
A UI based on [Budget Zen](https://github.com/BrunoBernardino/budgetzen-web) but slightly updated and adjusted for bewCloud. It also features a chart with available money and spent by budgets.

This is useful for envelope-based budgeting.
2025-02-26 17:43:53 +00:00
Bruno Bernardino
869e712432 Fix small typo in documentation
Also make sure the migrations run in order. Sets are unordered and thus can't guarantee the expected sorted order required in migrations.
2025-02-21 17:47:46 +00:00
Bruno Bernardino
5c3af00c24 Reduce container size 2025-02-16 08:30:57 +00:00
Joel Godfrey
581ff2ccc9 Update README.md on docker selfhost commands (#42)
* update README docker commands

* update README.md and docker-compose.yml reg user permissions.

* Note on deno user id

* add comment to `mkdir` and EOF diff fix
2025-02-12 14:52:31 +00:00
Bruno Bernardino
2e995cc9f7 Update Deno 2025-02-02 07:30:45 +00:00
Bruno Bernardino
2a95ce06b0 Add example .env var, fix linting 2025-01-11 07:14:02 +00:00
Sergio
8929b6e7d2 Add option to allow extra domains in the auth cookie other than the one in base url (#39)
* Add CONFIG_ALLOWED_COOKIE_DOMAINS option

* Apply suggestions from @BrunoBernardino

---------

Co-authored-by: Bruno Bernardino <me@brunobernardino.com>
2025-01-11 07:09:11 +00:00
Bruno Bernardino
aaeaac0285 Update Deno, update Render deploy file
Fixes #33
Fixes #30 (hopefully, can't replicate)
2024-12-26 11:54:42 +00:00
Bruno Bernardino
24c0c41902 Merge pull request #29 from ryuuzake/feat/issue-24-arm-build
add arm64 build to workflows
2024-12-08 17:13:10 +00:00
Riza Nafis
6736bb898d add arm64 build to workflows 2024-12-08 08:58:13 +00:00
Bruno Bernardino
e08188b58b Minor UX and code improvements 2024-12-06 06:08:15 +00:00
Bruno Bernardino
63a39970fa Merge pull request #27 from Raphencoder/patch-1
Update to authorize local ipv4 addresses
2024-12-06 06:05:23 +00:00
Raphencoder
5e5448a9e9 add tests to check the local ipv4 addresses 2024-12-05 22:06:53 +01:00
Raphencoder
33ecce353e Update to authorize local ipv4 ip addresses
edit way to work in local

try false in secure

add log

fix, update funct isRunningLoccaly

fix fmt

refacto
2024-12-05 22:06:43 +01:00
Bruno Bernardino
bbf8683004 Update Deno to 2.1 LTS! 2024-11-30 08:13:22 +00:00
Bruno Bernardino
7ef8220bb1 Fail with exit code if migration fails
Fixes #18
2024-11-21 14:16:55 +00:00
Bruno Bernardino
e0b8ea6e30 Simplify migration SQL.
Update fresh.

Fixes #17
2024-11-21 14:03:08 +00:00
Bruno Bernardino
560ea569a0 Remove unnecessary file 2024-10-16 15:32:25 +01:00
Bruno Bernardino
0851dfbb44 Finally fix the deletion of old articles and add funding manifest URL 2024-10-16 15:10:03 +01:00
Bruno Bernardino
13b76ba2e0 Fix news cleanup cron (was deleting even in feeds without recent articles) 2024-10-15 17:31:10 +01:00
Bruno Bernardino
fbcaab53d0 Add Cron to delete old, read articles. Update Deno. 2024-10-14 15:13:55 +01:00
Bruno Bernardino
8062df1bb5 Implement bulk delete in files
Closes #10

Also updates Deno and fixes a typo in variables
2024-09-02 16:09:30 +01:00
Bruno Bernardino
c9444883e1 Update docker-compose.yml for working with latest Docker 2024-08-25 07:34:05 +01:00
Bruno Bernardino
769ae5b9f1 Update dependencies, change thumbnail generation method 2024-08-13 16:46:12 +01:00
Bruno Bernardino
4ef575671a Update deno 2024-07-23 20:23:09 +01:00
Bruno Bernardino
b9c5d495f1 Too soon for this version in dockerhub 2024-07-12 09:24:13 +01:00
Bruno Bernardino
7f7901da35 Upgrade deno and use of .dvmrc file 2024-07-12 08:55:55 +01:00
Bruno Bernardino
d0c23a9746 Implement photo thumbnails
This implements generating image thumbnails on the fly via ImageMagick WASM, and tells the browser to cache them for a week, making the loading of photo directories much faster when it has many large images.

Closes #12
2024-07-05 07:05:11 +01:00
Bruno Bernardino
4506febf03 Update Fresh, Deno, and Dependencies 2024-06-10 17:52:22 +01:00
Bruno Bernardino
e21207a76a Add proper locking/unlocking to WebDAV.
Tweak README, add one-click deploy for Digital Ocean and Render.
2024-05-05 08:09:34 +01:00
Bruno Bernardino
6ee0a56f0c Respect CONFIG_ENABLED_APPS in .env 2024-05-01 09:21:30 +01:00
Bruno Bernardino
635ca90de0 Add Photos UI 2024-04-27 08:12:44 +01:00
Bruno Bernardino
3f5422f8eb Add basic Notes UI 2024-04-26 14:31:25 +01:00
Bruno Bernardino
2920de90b6 Fix news cron locks and fetching to work more than once per day. 2024-04-19 12:19:26 +01:00
Bruno Bernardino
a8076f6420 Fix articles list in Safari, update more dependencies, tweak deploy 2024-04-17 18:58:50 +01:00
Bruno Bernardino
7fd29ba7bf Update dependencies, add more logging to crons 2024-04-17 14:01:06 +01:00
Bruno Bernardino
bcf54f148e Update TODOs in README 2024-04-14 18:55:51 +01:00
Bruno Bernardino
670845ed13 Add new API endpoint to get a list of files for a given directory. 2024-04-12 06:59:51 +01:00
Bruno Bernardino
9f4723c13f Require .env file for docker compose example 2024-04-09 20:03:21 +01:00
Bruno Bernardino
735b14544a Build + offer docker image and docker-compose.yml file for easier self-hosting
Tweak login and auth for IP-based setups and setups without email enabled.
2024-04-09 13:22:05 +01:00
Bruno Bernardino
5a85dd224e Allow signing up forever without Brevo.
Also allow logins from local IPs (related to #5).
2024-04-08 20:53:28 +01:00
Bruno Bernardino
4f97609ebb Link desktop sync client 2024-04-08 19:31:12 +01:00
Bruno Bernardino
5229e196b4 Improve WebDav support to include file size and modified time 2024-04-08 16:01:59 +01:00
Bruno Bernardino
c1443191ce Better CORS response 2024-04-07 08:25:07 +01:00
Bruno Bernardino
265c52a7e5 Add WebDav server, fully functional!
Some more code cleanup.
2024-04-06 19:43:34 +01:00
Bruno Bernardino
541df3fb77 Support multiple file upload, rename Dav password 2024-04-06 08:21:21 +01:00