Mike Simpson
ba513d7935
First pass at using Config Files - Interface Text
...
- Create config file to specify parameters like City Name, Initial Map Position etc.
- Replace all reference on welcome and privacy page with the name of the city
- Changed some hard-coded references to "Colouring London" to generic "Colouring Cities"
- Also corrected out of date URLS
2022-11-16 16:15:32 +00:00
Mateusz Konieczny
58e6625790
apply some pep8 rules to python script
2022-11-13 13:36:04 +01:00
Mateusz Konieczny
9512d30c28
add status explanation note
...
this allow to handle OBS statuses, also done in this commit
2022-11-13 09:01:38 +01:00
Mateusz Konieczny
dffa4e244b
import id more fitting for display
2022-11-12 18:48:58 +01:00
Mateusz Konieczny
e2a2516619
fix missing newline
2022-11-10 10:21:57 +01:00
Mateusz Konieczny
45b8aeea81
remove duplicative handling of status
...
Unknown and Lapse are aliased in steps before
2022-11-10 10:19:45 +01:00
Mateusz Konieczny
8ae0c0c5f9
better protected against database failing
...
entries with long unaliased status could cause problem in future with new aliases
2022-11-10 10:18:08 +01:00
Mateusz Konieczny
5ed2d419a9
reorder imports like linter wanted
2022-11-10 10:17:33 +01:00
Mateusz Konieczny
d544b5228d
apply PEP8 standards
2022-11-10 08:29:14 +01:00
Mateusz Konieczny
a679054a0d
show last 30 days, not last 7 in very recent applications
2022-11-10 08:29:08 +01:00
Mike Simpson
d5c9fbea47
Update setup-dev-environment.md
2022-11-09 10:42:24 +00:00
Mateusz Konieczny
ffe43dbd38
show data that caused failure
2022-11-08 23:16:03 +01:00
Mateusz Konieczny
63ec84e9b2
handle dates in passed data on reporting errors
...
json.dumps fails on date objects
2022-11-08 23:16:03 +01:00
Mateusz Konieczny
e7f67cbe8f
treat invalid future dates as invalid
...
Brent-87_0946 has "valid_date": "23/04/9187"
yes, they apparently recorded filing in Anno Dominin 9187
2022-11-08 23:16:03 +01:00
Mateusz Konieczny
da4b198555
remove duplication
2022-11-08 23:08:46 +01:00
Mike Simpson
17e15fd026
Update setup-dev-environment.md
2022-11-08 20:10:26 +00:00
Mateusz Konieczny
b4b17c7c48
date cacing hack
2022-11-08 16:23:38 +01:00
Mateusz Konieczny
d4ec4653b8
Merge remote-tracking branch 'upstream/master' into feature/display-of-planning-data
2022-11-08 16:23:20 +01:00
Mike Simpson
f595b4c20f
Merge pull request #978 from matkoniecz/feature/placeholders-in-planning-section
...
Feature/placeholders in planning section
2022-11-08 15:09:15 +00:00
Mateusz Konieczny
8a037b2ebc
delete no longer used code
2022-11-08 15:59:47 +01:00
Mateusz Konieczny
36513a31de
Change section to mimic upcoming planning applications info
2022-11-08 14:49:56 +01:00
Mateusz Konieczny
bc8ec5d202
change structure of planning section
2022-11-08 14:48:16 +01:00
Mateusz Konieczny
07514e6852
More planned entries
2022-11-08 14:46:24 +01:00
Mateusz Konieczny
e6b6187c24
Merge branch 'master' into feature/display-of-planning-data
2022-11-08 13:41:15 +01:00
Mike Simpson
74d1dcfa8e
Merge pull request #977 from matkoniecz/feature/language-tweaks
...
Small language tweaks after review on staging
2022-11-08 12:18:50 +00:00
Mateusz Konieczny
36b1c68814
Small language tweaks after review on staging
2022-11-08 13:08:34 +01:00
Mike Simpson
c00c59914c
Merge pull request #976 from matkoniecz/feature/remake-designation-menu
...
Remake designation/protection menu.
2022-11-08 11:54:00 +00:00
Mike Simpson
00bafceb7e
Merge pull request #966 from matkoniecz/fix/migration
...
fix problem with migration
2022-11-08 11:52:33 +00:00
Mike Simpson
5c2455ce8d
Merge pull request #975 from matkoniecz/feature/stop-showing-child-count
...
Stop showing child count in group headers.
2022-11-08 11:51:49 +00:00
Mike Simpson
fdcb2708a3
Merge pull request #974 from matkoniecz/feature/header-styling
...
Increase text in group headers
2022-11-08 11:51:18 +00:00
Mateusz Konieczny
4fba0a9399
multiline for code readability
2022-11-08 12:35:37 +01:00
Mateusz Konieczny
48b9cec85c
drop dead code
2022-11-08 12:35:37 +01:00
Mateusz Konieczny
a73d463b48
turn dates into strings only at the end
2022-11-08 12:35:37 +01:00
Mateusz Konieczny
ea79990ab4
cvhage structure of planning menu
2022-11-08 12:34:56 +01:00
Mateusz Konieczny
f63ff98268
changing layour of planning data display
2022-11-08 12:34:51 +01:00
Mateusz Konieczny
32048bd253
Remake designation/protection menu.
2022-11-08 12:32:35 +01:00
Mateusz Konieczny
24b6905829
Stop showing child count in group headers.
2022-11-08 12:23:59 +01:00
Mateusz Konieczny
880d742bd5
Increase text in group headers
2022-11-08 12:07:09 +01:00
Mateusz Konieczny
1be12dcb99
links for portals in more boroughs
2022-11-07 14:56:13 +01:00
Mateusz Konieczny
23133c387f
try to help with links
2022-11-07 14:32:46 +01:00
Mateusz Konieczny
f1c81b1778
more aliasing
2022-11-07 10:51:09 +01:00
Mateusz Konieczny
1de5c51209
new layers
2022-11-07 10:50:50 +01:00
Mateusz Konieczny
8f8edd0a17
deduplicate
2022-11-07 10:50:24 +01:00
Mateusz Konieczny
ba605dbb5f
in case of error during data load just fail
2022-11-05 10:06:49 +01:00
Mateusz Konieczny
5d3f374cf7
record and show raw status from data
2022-11-05 10:06:49 +01:00
Mateusz Konieczny
15be5cce40
record status as an available property
2022-11-05 10:06:49 +01:00
Mateusz Konieczny
adbe79727a
new test layers
2022-11-05 10:06:49 +01:00
Mateusz Konieczny
2ed84f1148
treat 'Approval' as synonym for 'Approved'
2022-11-05 08:42:17 +01:00
Mateusz Konieczny
d67abd4cc8
treat Dismissed as synonym to Refused
2022-11-05 08:34:35 +01:00
Mateusz Konieczny
a236729e9b
treat Allowed as synonym to Approved
2022-11-05 08:34:06 +01:00