Hartmut Holzgraefe
e05711be43
add support for multiple render queues (Issue #91 )
...
* maprenderingjob model now has a "queue" name column,
defaulting to "default"
* methods dealing with the rendering queue now all either
use the jobs queue column value if already available
or have an additional optional "queue_name" parameter
with default value "default"
* a systemd template service file was added to be able to start
individual per-queue render services
* the progress bar in the map request detail view was finally
fixed to show actual position-in-queue progress
2022-08-16 15:52:43 +00:00
Hartmut Holzgraefe
7bafbe8aaa
add "queue" field to maprenderingjob (See Issue #91 )
2022-08-16 10:41:46 +00:00
Hartmut Holzgraefe
8ef0c0de0e
API improvements for upcoming SOTM 2022 presentation
2022-08-16 09:44:01 +00:00
Hartmut Holzgraefe
7441f47820
removed some unused code
2022-08-16 09:36:57 +00:00
Hartmut Holzgraefe
17000ef8f8
first attempts toward a reqeust heatmap
2022-05-28 16:25:21 +02:00
Hartmut Holzgraefe
bff1f78fdd
add tk25 description
2022-04-24 15:11:13 +00:00
Hartmut Holzgraefe
2bded88aa6
prevent form submission with [Enter] key (Issue #83 )
2022-04-03 22:00:21 +00:00
Hartmut Holzgraefe
cd84ae85bd
render very simple error page on failed form validation (Issue #80 )
...
This is still far from perfect, but users should never see this anyway.
At least it now gives a hint towards what actually went wrong and not
just a very generic Django error message
2022-03-27 20:57:40 +00:00
Hartmut Holzgraefe
dc992b4d69
Merge branch 'site-osm-baustelle' of github.com:hholzgra/maposmatic into site-osm-baustelle
2022-03-27 20:17:38 +00:00
Hartmut Holzgraefe
3926c35790
make HTML5 client side email validation work (part of Issue #80 )
...
HTML5 email vaildation is only triggered by an actual <input type="submit">
button being pressed, calling the forms submit() method from a regular
<button> does not. So we now have a hidden "real" submit button and
the actual styled button now sends a click even to that element instead
of submitting the form directly
PS: thinking again the actual issue may be that the styled button is not
inside the actual <form>?
2022-03-27 20:13:11 +00:00
Hartmut Holzgraefe
5180fadbba
raise a warning when form validation fails, not just a info
...
form handling needs to be improved substantially (Issue #80 ),
but for now this at least leaves some identifiable trace of the
problem at all
2022-03-27 13:19:02 +02:00
Hartmut Holzgraefe
cb936b3653
typo fix
2022-03-27 13:18:44 +02:00
Hartmut Holzgraefe
4d6ae77c97
improve rendering of render status messages
2022-03-19 13:51:14 +01:00
Hartmut Holzgraefe
bc596ca7cc
forgot to actually take care of db migration after fixing issue #75
2022-03-15 19:10:33 +01:00
Hartmut Holzgraefe
605839c73d
prevent NULL values in maptitle (issue #75 )
2022-03-12 20:34:51 +00:00
Hartmut Holzgraefe
deb8e90396
point to error log first, and contact email 2nd only, on errors
2021-12-26 17:29:52 +00:00
Hartmut Holzgraefe
52ef734d82
show dimensions in kilometers instead of meters for large maps
2021-12-26 14:07:59 +00:00
Hartmut Holzgraefe
7a59f5930e
show relative time spans for submitted/started/ended timestamps
2021-09-18 15:50:49 +00:00
Hartmut Holzgraefe
416a2a2463
fix some collaterals of m2m field rename
2021-09-18 15:50:16 +00:00
Hartmut Holzgraefe
db8e83a9e7
show human readable paper size name in map list / details where possible
2021-09-18 15:13:49 +00:00
Hartmut Holzgraefe
042c5bdcd8
fix download URLs all pointing to .png result only
2021-09-18 14:37:53 +00:00
Hartmut Holzgraefe
fe74eb7389
re-add upload file info for new ManyToMany file uploads
2021-09-18 14:37:01 +00:00
Hartmut Holzgraefe
5f71936d75
add index on submission time
2021-09-18 10:44:43 +00:00
Hartmut Holzgraefe
dcfec04bb5
change render result dir structure to include dated subdirs
...
by creating year/month/day subdir structure the number of files
per directory gets limited, and manual cleanup by date -- if needed --
becomes more simple
2021-09-12 11:44:59 +00:00
Hartmut Holzgraefe
ad4dc180ed
reduce number of "os" calls by caching results that are going to be constant anyway
2021-07-29 14:31:39 +00:00
Hartmut Holzgraefe
a5f50a4725
Merge branch 'site-osm-baustelle' of https://github.com/hholzgra/maposmatic into site-osm-baustelle
2021-07-29 14:21:38 +00:00
Hartmut Holzgraefe
59868058b2
add index on render job submission time for faster list generation
2021-07-29 14:21:15 +00:00
Hartmut Holzgraefe
10856835e7
transation base update
2021-06-13 14:37:15 +02:00
Hartmut Holzgraefe
a0443fc82e
fix injection vector
2021-02-07 23:18:37 +00:00
Hartmut Holzgraefe
b8aad902ce
add missing space
2020-11-13 20:36:14 +01:00
Hartmut Holzgraefe
c6e10a19d7
limit paper size input to 2x2 meter max.
2020-11-03 19:40:09 +01:00
Hartmut Holzgraefe
0f5a0179fd
merge
2020-11-02 12:47:53 +01:00
Hartmut Holzgraefe
9323d9f1f9
make sure that default styles without explicit group show first
2020-11-01 12:10:16 +00:00
Hartmut Holzgraefe
abed84f305
remove static style descriptions
2020-11-01 12:09:53 +00:00
Hartmut Holzgraefe
6731fdd50d
ignore unknown layouts
2020-11-01 11:57:11 +00:00
Hartmut Holzgraefe
b88b7cbe06
exclude the error log from being purged on errors
2020-11-01 11:52:00 +00:00
Hartmut Holzgraefe
e08687d853
fix stupid typo
2020-10-12 23:09:19 +02:00
Hartmut Holzgraefe
28ba91b10a
prevent errors in case that overlay selection is not transmitted
...
some web clients seem to totally obmit the overlay field instead
of transmitting it empty
2020-09-23 09:22:54 +02:00
Hartmut Holzgraefe
e333af4e21
get waymarked lag directly from status table
2020-06-30 09:10:15 +02:00
Hartmut Holzgraefe
7617d044ba
show actual selection area in paper size preview
...
this should provide better visual feedback whether portrait or
landscape is more suitable for the desired map area
2020-06-11 12:29:24 +00:00
Hartmut Holzgraefe
2dc1014f45
handle byte order marks properly when guessing file types
2020-05-21 09:30:14 +00:00
Hartmut Holzgraefe
8a8119e778
necessary changes for Django 2.x
2020-04-21 07:55:01 +00:00
Hartmut Holzgraefe
075110db69
rely on Ocitysmap for file type guessing, do not implement your own
2020-04-11 08:37:07 +00:00
Hartmut Holzgraefe
f01269bd6c
fix migration merge problem
2020-03-15 14:24:26 +01:00
Hartmut Holzgraefe
e960aaed06
prepare for displaying more fine grained rendering status information
2020-03-15 11:57:43 +01:00
Hartmut Holzgraefe
49977f7285
Merge branch 'site-osm-baustelle' of https://github.com/hholzgra/maposmatic into site-osm-baustelle
2020-03-11 22:31:03 +00:00
Hartmut Holzgraefe
b71d12b442
add "rederstep" field to print job model for more detailed progress tracking
2020-03-11 22:29:56 +00:00
Hartmut Holzgraefe
c836ead28b
whitespace / formatting only
2020-03-11 15:15:32 +00:00
Hartmut Holzgraefe
fef2af9108
git pushMerge branch 'site-osm-baustelle' of https://github.com/hholzgra/maposmatic into site-osm-baustelle
2020-03-11 15:24:15 +01:00
Hartmut Holzgraefe
79b89693a2
submitterip may be blank
2020-03-11 15:23:17 +01:00