2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2025-12-18 08:17:28 +00:00
Commit Graph

133 Commits

Author SHA1 Message Date
f2a43558f9 Split out logbook_edit.py and ruff fix 2024-12-29 20:31:51 +00:00
6d2484376a refactor & git author work 2024-12-29 03:42:58 +00:00
13c5d14a9f Allow edit of another non .txt file 2024-12-29 02:04:55 +00:00
dac3e6e288 Entrances now do cookie / git author thing. + tidyup. 2024-12-28 23:49:26 +00:00
e7444d20a4 cave edit working with cookies 2024-12-28 22:43:21 +00:00
8dbad16ece Editor field & cookie working for survex online edits 2024-12-27 22:57:34 +00:00
60d24dc48e Cookie setting enabled for 'git editor' 2024-12-27 20:23:04 +00:00
dccd465354 oops 2024-12-27 19:15:27 +00:00
2e62f3c7d4 retain newline in body but replace \r 2024-12-27 16:54:38 +00:00
2b97c8f783 git-compatible editor field for updated page 2024-12-27 16:02:38 +00:00
011e6777c9 bugfixes and more comments 2024-12-19 22:55:08 +00:00
151cba336b fix absolute addressing in templates 2024-12-16 22:42:50 +00:00
30760654b7 import order fixed by ruff 2024-12-15 18:54:47 +00:00
ff08e05485 remove print 2024-07-18 20:07:04 +02:00
f5f3adf7da fixing index.htm as troggle-managed page 2024-07-10 13:10:55 +02:00
a68ef27284 make some pages sensitive to current_expo() 2024-07-08 20:22:42 +02:00
cb854696c9 content type for gpx and kml 2024-07-08 11:59:10 +02:00
b28b590b60 Makefile 2024-07-04 17:40:51 +03:00
0ae1315f59 add .tex and .sty files to text editable 2024-07-04 15:41:17 +03:00
cb81a066db initial text file editing stuff 2024-07-03 11:48:38 +03:00
65f0c1e29f preventing _edit_edit_edit* loops by bots 2024-04-10 20:24:29 +01:00
32e487eca6 still working on tests 2023-11-22 18:58:19 +00:00
7b67eb52dc re-enable /map/tools/ 2023-11-14 19:43:49 +02:00
08c56644eb Make maps an 'unvarnished' url 2023-11-08 22:53:30 +02:00
93397a774f fix _edit access loophole 2023-08-25 22:08:04 +03:00
c76c09fced remove excess prints 2023-08-02 15:48:36 +03:00
6bca75b877 NOEDIT fixed 2023-08-02 13:41:12 +03:00
Martin Green
b27852c1f3 redirect to actual login page 2023-07-10 16:55:09 +02:00
3b9695b4f3 spiders are asking for weird urls 2023-02-02 11:13:02 +00:00
3aca0d0c76 ruf cleanup imports, bigly. 2023-01-30 23:04:11 +00:00
7808005498 ran 'black' to reformat all the core files 2023-01-30 19:04:36 +00:00
be9fcc522a sort imports using isort. tested. 2023-01-19 18:35:56 +00:00
Philip Sargent
b06d1dae42 Convert.format() to f-strings with flynt 2022-11-23 10:48:39 +00:00
Philip Sargent
da09bc7968 Render tunnel files as XML in webpage, not just text 2022-10-15 14:07:15 +03:00
Martin Green
91568b7151 Allow HTML to be blank and determine the new files need git commiting. 2022-07-26 17:09:15 +01:00
Philip Sargent
4efeefe6c9 git commit when editing survex files online 2022-07-18 18:42:21 +03:00
Philip Sargent
dd00ff69aa refactor to put Martins git stuff in utils 2022-07-18 17:37:22 +03:00
Martin Green
47d1662033 Added help writing HTML in the cave editing form. Made the HTML previews optional 2022-06-26 21:29:46 +01:00
Martin Green
4e5d8d1d76 Refactored code, with an aim of allowing more than one HTMLarea on a page 2022-06-26 18:29:20 +01:00
Martin Green
f1fcef2a6f Refactorising CodeMirror HTML editor, with an ultimate aim to make it reusable. However more work if required... 2022-06-26 14:16:42 +01:00
Martin Green
20583b04c0 Allowed user to select/upload images when editing. When uploaded thumbnails and description pages are automatically created. Git commiting can now handle multiple files at once. 2022-06-25 23:17:19 +01:00
Martin Green
d607b30953 Do not allow for the main menu to be overriden, instead display old menu at bottom of page. To do this the id of the main menu was changed from links to menulinks 2022-06-25 01:07:17 +01:00
Martin Green
5ac2e24cc2 Removed jQuery 2022-06-24 21:58:00 +01:00
Martin Green
7db7c67065 Added link to parent cave in menu 2022-06-24 19:28:31 +01:00
Martin Green
ceb6d2fef1 Added a sub menu when in the handbook directory. Imcreased width of edit preview 2022-06-24 15:48:35 +01:00
Martin Green
b38412b145 Added come mirror for the edit page, including some buttons to make html 2022-06-24 14:39:09 +01:00
Martin Green
ef68db080a Add git commit messages when editing via website. Make sure cust menus are not deleted. 2022-06-23 21:31:57 +01:00
Martin Green
97a9f2aae6 The editing system was accidentally deleting customised sidebar menus. This will stop the happening 2022-06-23 20:03:05 +01:00
Martin Green
2f42f488ab Merge branch 'python3-new' of ssh://expo.survex.com/home/expo/troggle into python3-new 2022-06-23 19:02:10 +01:00
Martin Green
f1e800d8bf Move saving and comitting code to a seperate library 2022-06-23 18:48:29 +01:00