Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
f260928
fix: photos are optional
raven-wing Jul 29, 2026
f72d4e8
added missing file
raven-wing Jul 29, 2026
eb31ece
fix: error is actually visible now
raven-wing Aug 2, 2026
2b0b6f9
docs added
raven-wing Aug 2, 2026
7d12b3a
fix lint
raven-wing Aug 2, 2026
6cd52a6
added missing files
raven-wing Aug 2, 2026
c538556
fix docs
raven-wing Aug 2, 2026
4553d7e
fixes
raven-wing Aug 2, 2026
042458a
fix scroll
raven-wing Aug 2, 2026
bae24fa
load spinner
raven-wing Aug 2, 2026
9a37fcc
fix docs
raven-wing Aug 2, 2026
a275e24
fix docs
raven-wing Aug 2, 2026
02ddc3e
fix
raven-wing Aug 3, 2026
f9af39a
little cleanup
raven-wing Aug 3, 2026
c8fc966
fixes after update
raven-wing Aug 4, 2026
7a0a319
fixed comments
raven-wing Aug 4, 2026
8a880e4
little refactor
raven-wing Aug 4, 2026
8d785aa
removed compressing from our site
raven-wing Aug 4, 2026
f39c8da
fixes
raven-wing Aug 4, 2026
3df1861
added dependency
raven-wing Aug 4, 2026
5e9009c
splitted suggest new point behaviour
raven-wing Aug 4, 2026
4385180
little refactor
raven-wing Aug 4, 2026
4c6d28b
dead code
raven-wing Aug 4, 2026
afa8f07
code cleanup
raven-wing Aug 4, 2026
434fb69
some cleanup
raven-wing Aug 4, 2026
5fc4ecd
lint fixes
raven-wing Aug 4, 2026
630b97d
fix after review
raven-wing Aug 4, 2026
c9347de
removed dead code
raven-wing Aug 4, 2026
ba408bb
refactor
raven-wing Aug 8, 2026
ec63578
fix licenses
raven-wing Aug 8, 2026
f3ff1cc
refactor
raven-wing Aug 8, 2026
2f0c4bc
remove some extra check
raven-wing Aug 8, 2026
bc99d6c
simplify
raven-wing Aug 10, 2026
9993bd2
fix after review
raven-wing Aug 13, 2026
b288dc9
fixes after review
raven-wing Aug 14, 2026
e94bb19
fix after review
raven-wing Aug 14, 2026
31c7915
little refactor
raven-wing Aug 14, 2026
fb361bc
lint fix
raven-wing Aug 15, 2026
f58f4c4
refactor test
raven-wing Aug 16, 2026
2cf6fa0
some renames
raven-wing Aug 16, 2026
22b9dad
added docs with feature flags
raven-wing Aug 16, 2026
32d1b49
docs fix
raven-wing Aug 16, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/license-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ jobs:
Python-2.0,
MPL-2.0,
0BSD,
Artistic-1.0-Perl
Artistic-1.0-Perl,
MIT-CMU
# TODO: migrate away from react-leaflet (Hippocratic-2.1) to vanilla Leaflet (BSD-2-Clause)
# to make the frontend fully MIT-compatible. Tracked here until migration is done.
allow-dependencies-licenses: >-
Expand Down
41 changes: 41 additions & 0 deletions docs/quickstart.rst
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,47 @@ The active mode for each category is also exposed as ``filter_mode`` in the
``/api/categories-full`` response, so a custom frontend can render the
right control (checkbox vs. radio) without hardcoding category names.

Feature Flags
~~~~~~~~~~~~~

Optional behavior can be toggled via a ``FEATURE_FLAGS:`` block in your
configuration file:

.. code-block:: yaml

FEATURE_FLAGS:
USE_LAZY_LOADING: true

``USE_LAZY_LOADING`` (default: ``true``)
Loads a location's full data only after the user clicks its point on the
map, rather than upfront together with the initial map load. Set to
``false`` to load all point data together with the map instead.

Photo Uploads
~~~~~~~~~~~~~

Users can attach a photo when suggesting a new location. By default, Goodmap
accepts JPEG photos up to 5 MiB. To allow other formats or change the size
limit, set the ``ATTACHMENT:`` key in your configuration file (see
`platzky's AttachmentConfig
<https://platzky.readthedocs.io/en/latest/api.html#platzky.config.AttachmentConfig>`_):

.. code-block:: yaml

ATTACHMENT:
allowed_mime_types: ["image/jpeg", "image/png"]
allowed_extensions: ["jpg", "jpeg", "png"]
max_size: 8388608 # 8 MiB

Omit ``ATTACHMENT:`` to keep the default (JPEG only, 5 MiB).

A photo in an unsupported format is rejected with an error message asking the
user to pick a different file. A photo in an allowed format that exceeds the
size limit is automatically compressed in the browser before upload; the user
is warned that this may reduce image quality. If the photo still exceeds the
limit after compression, it is rejected. The server enforces the same limits
on upload, independently of the browser-side checks.

.. _data-model-visible_data:

Database Types
Expand Down
107 changes: 106 additions & 1 deletion e2e-tests/poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions e2e-tests/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ ruff = "^0.8.4" # Linting and formatting
black = "^26.3.1" # Code formatting
babel = "^2.17.0" # For compiling translation files
pip-audit = "^2.10.1" # Dependency vulnerability scanning
pillow = "^12.3.0"

[tool.pytest.ini_options]
testpaths = ["tests"]
Expand Down
Loading
Loading