Commit Graph

201 Commits

Author SHA1 Message Date
Sam Wenham
f1736c53c4 Fix CSRF issues in svx form
Set date formats
Add DataIssue model and add errors to it to allow us to give people a list of
stuff to fix
2019-04-14 22:45:31 +01:00
Sam Wenham
05c5e26e99 Sort people by notability
Better errors and tidy
Nicer date formats
2019-04-02 02:04:38 +01:00
Sam Wenham
9cd8734947 Support html and wiki logbook entrys
Move nearest_station to nearest_station_name and make nearest_station a foreign
key to SurvexStation
Lots of tidying
2019-03-31 15:39:53 +01:00
Sam Wenham
c8551991b2 Remove the redundant render_with_context() as django now does this just with the
render() shortcut
Move from mimetype to content_type, missed in last commit
2019-03-30 17:02:07 +00:00
Sam Wenham
f666b9c396 Update new management command for DB reset
Switch to content_type from mimetype
Make DB reset not nuke so much
Tidy logbook parser
2019-03-30 13:58:38 +00:00
Wookey
5469794159 Only show unofficial number if it's not already displayed 2019-03-27 01:59:09 +00:00
expoonserver
8b5f81c8f8 Display temporary numbers on main cave index, when they exist. 2019-03-26 23:58:27 +00:00
Sam Wenham
27af84da65 Remove the news section as it never gets updated
Fix logbook entry so the edit link works
Tidy the control panel page
2019-03-10 11:05:57 +00:00
Sam Wenham
9646c32819 Remove jquery.min.js from troggle as it busts the footer menu. Yep troggle has a footer menu!! 2019-03-09 19:32:00 +00:00
Sam Wenham
7a7433bc84 Fix people list
Cope with Jimmy McFoo as a name!
Don't set the top expo value in the code whin it is piss easy to calculate
Fix typo from last commit
2019-03-09 18:21:10 +00:00
Sam Wenham
ff8c5ef0c1 There is no point having two functions do basicaly the same thing so make the
load all logbooks call load logbook(expo)
Remove the return message from load logbook as it isn't used
2019-03-09 11:18:44 +00:00
Sam Wenham
a22b42e832 Make the logbook parser a little more sane
Move the parser to expo mapping to settings
Set a default parser
Iterate over the expo years rather than the mapping list!
2019-03-06 23:20:34 +00:00
Rad
611ab346d0 Messing with millenialcaves.html or similar 2019-02-26 12:07:45 +00:00
Rad
d7c7466f71 Messing with millenialcaves.html or similar 2019-02-26 12:01:55 +00:00
Rad
0da8fa0d96 Messing with millenialcaves.html or similar 2019-02-26 01:12:14 +00:00
Rad
55f8538413 Messing with millenialcaves.html or similar 2019-02-26 00:48:34 +00:00
Rad
44e6fcac33 Messing with millenialcaves.html or similar 2019-02-26 00:45:56 +00:00
Rad
46830e903b Messing with millenialcaves.html or similar 2019-02-26 00:43:46 +00:00
Rad
656460e0ab Messing with millenialcaves.html or similar 2019-02-26 00:43:05 +00:00
Rad
74779788e0 Messing with millenialcaves.html or similar 2019-02-26 00:29:16 +00:00
Rad
f20bd3842a Messing with millenialcaves.html or similar 2019-02-26 00:23:23 +00:00
Rad
1370317813 Messing with millenialcaves.html or similar 2019-02-26 00:22:58 +00:00
Rad
503a9cddc5 Messing with millenialcaves.html or similar 2019-02-26 00:17:56 +00:00
Rad
a61ad6e7b8 Messing with millenialcaves.html or similar 2019-02-26 00:17:11 +00:00
Rad
da55e1519e 2019-02-26 00:00:34 +00:00
Rad
b6ad46a37f 2019-02-25 23:55:06 +00:00
Rad
9bc3abbc79 2019-02-25 23:53:19 +00:00
Rad
ccc347eddc 2019-02-25 23:52:47 +00:00
Rad
a013f5bef2 2019-02-25 23:51:26 +00:00
Rad
0c63156428 2019-02-25 23:46:52 +00:00
Rad
f23700b1b7 trying to add new field 2019-02-25 23:40:53 +00:00
Rad
edddfb7fc6 added Rad's playground 2019-02-25 22:24:33 +00:00
Rad
7c2d336bd7 change to table 2019-02-25 20:58:32 +00:00
Sam Wenham
8f66837f6f Make things more compatiable with newer python
Fix the expeditions list
Improvements to make it compatiable with django 1.8
Bump the years to add 2018
Update the .hgignore file to ignore junk
2019-02-24 13:03:34 +00:00
Sam Wenham
7f92a7280d Prevent troggle adding the menu if there is one in the file
Add a Docker compose file to bring up a dev troggle easily
Various PEP improvments
2019-02-23 15:30:58 +00:00
Sam Wenham
019f8c0550 Don't create years that aren't here yet troggle goes boom 2018-06-20 18:14:13 +01:00
Sam Wenham
952af7adc5 Move the years on a bit 2018-06-20 18:11:12 +01:00
Sam Wenham
af13e84c74 Fix the django for the spinny js cave viewer.
Make the paths settings (don't hard code things like this!!)
Add " round spinny urls from the late merge (the rest were done for the move off 1.4.2
2018-04-20 20:55:12 +01:00
Sam Wenham
bcaa4b27d2 Merge with django-upgrade 2018-04-17 22:19:20 +01:00
expoonserver
d0e0eee15a Add CaveView spinny caves view to each troggle cave page 2018-04-17 21:57:02 +01:00
Sam Wenham
789c33fcb6 Upgrade to django 1.5, some functions have been changed
url in templates now requires quotes roung the first arg
USE_TZ added
2018-04-11 22:02:57 +01:00
Wookey
6481fda4d7 Update old website base URL in template from cucc.survex.com/expo to expo.survex.com 2018-02-28 15:55:00 +00:00
Sam Wenham
93d1c330c1 Bring troggle a little more up to date 2016-09-04 13:47:26 +01:00
expo
0239800ff1 Fix cave pages to have entrances and description on one page.
Fixes broken links on description and entrance pages.
Removes need for jquery-ui.
2016-07-02 23:42:47 +01:00
Wookey
b63ac24468 Correct typo on cave and entrance template files
('If you edit this files...')
2016-01-27 04:24:44 +00:00
Sam Wenham
a024475446 Add a little style 2015-06-28 13:52:33 +01:00
Sam Wenham
d9a78fe2ab Remove unnecessary escape slashes 2015-06-28 13:46:28 +01:00
expo
45fd219bc6 Added warnings that the database will need updating is cave or entrance data files are modified 2015-06-21 15:11:51 +01:00
expo
9fd6163704 Have different links for system js files and troggle js files 2015-06-21 15:06:44 +01:00
Wookey
dc385b52bf Merge in Sam's parser debugging 2015-04-08 03:27:48 +01:00