1
0
Fork 0
mirror of https://github.com/sbrl/Pepperminty-Wiki.git synced 2024-11-29 06:23:01 +00:00
Commit graph

86 commits

Author SHA1 Message Date
5b670f5981
Refactor method names in page renderer 2019-01-27 22:56:51 +00:00
259b866ec9
Hyperlink image previews to original image - fixes #153. 2018-04-07 13:38:45 +01:00
391efeb72b
Comment fix 2018-02-05 15:10:35 +00:00
160800def9
_Another_ fix for the short embed code box 2018-01-27 13:54:39 +00:00
fba0636938
Bugfix: Fix getsvgsize in some cases 2018-01-27 13:38:53 +00:00
4f9f3cb395
Make view source message more meaningful when editing is disabled & disallow uploads when editing is disdabled 2017-12-31 23:17:25 +00:00
02585fd960
Bugfix: escape short markdown embed code contents 2017-12-30 13:44:54 +00:00
0d4675ea41
Fix XXE DDOs attack when uploading a malicious SVG (ref #152 2017-12-13 20:20:34 +00:00
582eda24d7
Fix new copy driver on pages without a copy button 2017-12-13 09:48:29 +00:00
e0aeda8b17
Add short markdown embed code input box to file pages 2017-12-12 23:00:29 +00:00
307d1bc889 Document *all* teh things.
Well, _almost_ all teh things :P I'm experimenting with phpDocumentor,
so expect some better module api docs to appear sometime soon :D
2017-09-15 23:06:10 +01:00
f393fa88ea Fix bugs on file upload page 2017-08-27 16:48:36 +01:00
Isabeau Kisler
285d39e2ac Fix file preview paths (#147)
* Catch errors when uploading files
Check if error code is greater than 0, and generate appropriate error message.

* Fix File Preview Paths
In cases where the wiki does not sit in the root directory, grab the current filepath of the request and use that to generate a valid filepath.

* Reworded error a bit

* Fix File Preview Paths

Adjust this to work with both relative and absolute file paths
2017-07-29 10:31:23 +01:00
eb137df2b4 Fix apidoc comments & update api docs 2017-06-28 09:45:13 +01:00
967eb1ad13 Add section to help on commenting 2017-06-18 15:53:21 +01:00
6bc2259139 Send last-modified header with generatetd previews 2017-06-18 14:52:04 +01:00
1dde8b0d97 Fix link in recent changes to avatar uploads 2017-06-18 14:16:03 +01:00
3fe64ef3c6 Fix insivible warning when uploading avatar 2017-06-18 14:13:38 +01:00
1b25416b6b Tweak & update avatar upload logic - we're nearly there~! :D 2017-06-17 15:36:11 +01:00
7c5da3f6a9 Write initial avatar uploading engine! We've still got a few things left to do, though - like creating infrastructure fort he avatar to actually be used. 2017-05-23 20:31:34 +01:00
dac4684c14 Add default param to errorimage() 2017-04-17 12:44:27 +01:00
312de4b341 Add tab indexing to file upload form. Fixes #120 2016-11-20 09:41:23 +00:00
f267c9d5a0 Add header to upload file page 2016-10-18 19:07:44 +01:00
06a3a4a19f Suggest appropriate filename when saving a generated preview image. Fixes #105. 2016-10-18 18:54:24 +01:00
28f79e5e2d Fix spelling mistake on file preview pages 2016-08-22 17:46:13 +01:00
6267fe79d4 Autofill the name box on the file upload page when a new file is selected 2016-08-22 17:24:22 +01:00
2861731c83 Fiddle with the file uploader to fix #100. 2016-08-22 14:56:34 +01:00
ad6a12da5b Finish initial settings rewrite 2016-06-22 09:13:32 +01:00
60505dfb0a Finish documentation. 2016-06-15 19:20:03 +01:00
c76602f5de Document a bunch more stuff 2016-06-13 11:55:40 +01:00
77ffa2bcfc apidoc is awesome. document a bunch of stuff, more to go 2016-06-12 21:15:43 +01:00
9c760789f4 Upgrade viewing module to support revisions 2016-06-04 19:04:50 +01:00
ee1224bbe9 Generate history revisions upon uploading a file 2016-06-04 13:52:45 +01:00
0258757639 Fix #71 (It says "Original Image" for PDFs). 2016-06-04 13:38:59 +01:00
1d4daef507 Rework uploading pipeline to support svgs 2016-06-04 13:33:02 +01:00
2ddd157f53 Tweak uploader module's description slightly 2016-06-04 12:03:01 +01:00
35877c170c Bump version 2016-04-10 11:33:32 +01:00
4de2f62e77 Redriect to video / audio if storage dir is the current directory 2016-04-10 11:29:44 +01:00
bb10011606 Polyfill getallheaders() 2016-04-10 11:13:24 +01:00
121871f9e8 Bugfix: Fixed failed upload message 2016-04-10 11:01:16 +01:00
f69955c0c7 Implement file gallery 2016-04-09 09:26:18 +01:00
5b914abeb3 Bugfix: Fixed display of PDF previews 2016-04-09 07:57:40 +01:00
e1a9c78692 Remove debug statements & bump versions 2016-04-09 07:56:09 +01:00
e576c8f286 Bump versions of modules. I keep forgetting! 2016-04-08 09:30:50 +01:00
03c52c06a1 Overhual image parsedown extension again.
Made a *ton* of bug fixes and stability improvements too.
2016-04-08 09:01:12 +01:00
7b638725ff Sort datalist by page name. 2016-04-08 07:27:07 +01:00
a59adf2436 Add editing message to upload form 2016-04-07 18:29:38 +01:00
ef28bc4902 Fill in video and audio previews. 2016-04-07 18:26:59 +01:00
18012c82fe Overhaul file preview/display to support multiple filetypes. 2016-04-07 17:37:11 +01:00
62310039ec Add untested etag code. Also tweak help page some more. 2016-04-07 10:18:58 +01:00