Commit Graph
24 Commits
Author SHA1 Message Date
Daniel Hiller 4add7e43af fix: Keep dangling project references from blanking the home view
`getManagerProjectsModelArray` mapped every project manager to its project
without checking that the project is in the store, so one row pointing at a
deleted project produced a null the caller then read `id` off — taking down
the whole home view. `getMembershipProjectsModelArray` had the same hole one
level up, destructuring `board.project` before testing `board`.

The projects endpoint fed exactly that state: it derived the id list for the
included records from the manager rows, so a `project_manager` row whose
project no longer exists shipped a manager for a project missing from `items`.
Board memberships had the same gap. Both id lists now come from the records
that actually exist.
2026-08-26 09:22:53 +02:00
Hayden Welch e7326303cd docs: Validate Swagger docs (#1486) 2026-02-10 19:35:39 +01:00
Maksim Eltyshev b4979d214f docs: Improve Swagger JSDoc 2025-09-12 12:17:01 +02:00
Maksim Eltyshev 2c716a53c9 docs: Quote example ids in Swagger 2025-09-08 19:14:31 +02:00
Maksim Eltyshev 5636cf27c0 docs: Add base path for API endpoints to Swagger 2025-09-08 18:25:26 +02:00
Maksim Eltyshev 5ad3134519 docs: Add full Swagger JSDoc coverage 2025-09-08 16:20:27 +02:00
Maksim Eltyshev 2ee1166747 feat: Version 2
Closes #627, closes #1047
2025-05-10 02:09:06 +02:00
Matthew Stickney 37fc7847e8 feat: Configurable file storage locations (#886)
* feat: Make logfile location customizable

It may be desirable to log to a more standard location (e.g. in /var/log/),
or in some cases to turn logging to file off. To support these, use a
custom config property to determine the location of the output log file,
and default to the previous location if it is unset.

* feat: Support alternate storage locations for uploaded files

This involves a couple primary changes:
1) to make Sails' temporary file-upload directory a configurable location
   by using a common file-upload-receiving helper;
2) to create custom static routes for the file-upload locations, so they
   can be outside the application's public directory; and
3) to use the file-uploading handler everywhere that receives files, so
   config for the helper is applied to all file uploads consistently.

This is sufficient to allow the application directory to be deployed read-
only, with writable storage used for file uploads. The new config property
for Sails' temporary upload directory, combined with the existing settings
for user-avatar and background-image locations are sufficient to handle
uploads; the new custom routes handle serving those files from external
locations.

The default behavior of the application should be unchanged, with files
uploaded to, and served from, the public directory if the relevant
config properties aren't set to other values.
2024-09-20 20:29:11 +02:00
NathanVss 0f8e2b4b0d feat: Ability to allow everyone to create projects (#787) 2024-06-14 16:38:06 +02:00
Maksim Eltyshev 87683fe523 feat: Webhooks configuration, all events support, refactoring 2024-06-12 00:51:36 +02:00
Maksim Eltyshev 5cd025ffb7 ref: Remove board types, refactoring 2022-12-26 21:10:50 +01:00
Maksim Eltyshev 05b57142f9 feat: Preserve original format of images, change interpolation kernel
Closes #349
2022-12-24 00:47:59 +01:00
Maksim Eltyshev a5e8c5feec fix: Fix missing board memberships loading 2022-10-03 13:04:52 +02:00
Maksim Eltyshev 542c4a845c fix: Change mechanics of file uploading 2022-08-26 02:45:27 +02:00
Maksim Eltyshev e7541789cd fix: Change way to fix application crash when deleting project 2022-04-28 14:15:36 +05:00
Maksim Eltyshev fe91b5241e Project managers, board members, auto-update after reconnection, refactoring 2021-06-24 01:05:22 +05:00
Maksim Eltyshev 30ed77af59 Prepare for collection board type, refactoring, update dependencies 2020-08-04 01:32:46 +05:00
Maksim Eltyshev f85d499bbf Add validation to background field 2020-06-03 22:27:20 +05:00
Maksim Eltyshev 5bfff3865f Background gradients, migrate from CSS to SCSS, remove !important 2020-05-29 19:31:19 +05:00
Maksim Eltyshev 3bb68b0d4f Add project backgrounds 2020-05-26 00:46:04 +05:00
Maksim Eltyshev ce1e1f741d Add username to user 2020-04-03 00:35:25 +05:00
Maksim Eltyshev 7a3805e64c Code formatting with prettier, change eslint config for the server 2019-11-05 18:01:42 +05:00
Maksim Eltyshev 3848cc194a Change id generation algorithm, display notifications total on the main page 2019-10-10 14:51:59 +05:00
Maksim Eltyshev 36fe34e8e1 Initial commit 2019-08-31 04:07:25 +05:00