Commit Graph

81 Commits

Author SHA1 Message Date
Starbeamrainbowlabs 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
Starbeamrainbowlabs 02585fd960
Bugfix: escape short markdown embed code contents 2017-12-30 13:44:54 +00:00
Starbeamrainbowlabs 0d4675ea41
Fix XXE DDOs attack when uploading a malicious SVG (ref #152 2017-12-13 20:20:34 +00:00
Starbeamrainbowlabs 582eda24d7
Fix new copy driver on pages without a copy button 2017-12-13 09:48:29 +00:00
Starbeamrainbowlabs e0aeda8b17
Add short markdown embed code input box to file pages 2017-12-12 23:00:29 +00:00
Starbeamrainbowlabs 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
Starbeamrainbowlabs 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
Starbeamrainbowlabs eb137df2b4 Fix apidoc comments & update api docs 2017-06-28 09:45:13 +01:00
Starbeamrainbowlabs 967eb1ad13 Add section to help on commenting 2017-06-18 15:53:21 +01:00
Starbeamrainbowlabs 6bc2259139 Send last-modified header with generatetd previews 2017-06-18 14:52:04 +01:00
Starbeamrainbowlabs 1dde8b0d97 Fix link in recent changes to avatar uploads 2017-06-18 14:16:03 +01:00
Starbeamrainbowlabs 3fe64ef3c6 Fix insivible warning when uploading avatar 2017-06-18 14:13:38 +01:00
Starbeamrainbowlabs 1b25416b6b Tweak & update avatar upload logic - we're nearly there~! :D 2017-06-17 15:36:11 +01:00
Starbeamrainbowlabs 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
Starbeamrainbowlabs dac4684c14 Add default param to errorimage() 2017-04-17 12:44:27 +01:00
Starbeamrainbowlabs 312de4b341 Add tab indexing to file upload form. Fixes #120 2016-11-20 09:41:23 +00:00
Starbeamrainbowlabs f267c9d5a0 Add header to upload file page 2016-10-18 19:07:44 +01:00
Starbeamrainbowlabs 06a3a4a19f Suggest appropriate filename when saving a generated preview image. Fixes #105. 2016-10-18 18:54:24 +01:00
Starbeamrainbowlabs 28f79e5e2d Fix spelling mistake on file preview pages 2016-08-22 17:46:13 +01:00
Starbeamrainbowlabs 6267fe79d4 Autofill the name box on the file upload page when a new file is selected 2016-08-22 17:24:22 +01:00
Starbeamrainbowlabs 2861731c83 Fiddle with the file uploader to fix #100. 2016-08-22 14:56:34 +01:00
Starbeamrainbowlabs ad6a12da5b Finish initial settings rewrite 2016-06-22 09:13:32 +01:00
Starbeamrainbowlabs 60505dfb0a Finish documentation. 2016-06-15 19:20:03 +01:00
Starbeamrainbowlabs c76602f5de Document a bunch more stuff 2016-06-13 11:55:40 +01:00
Starbeamrainbowlabs 77ffa2bcfc apidoc is awesome. document a bunch of stuff, more to go 2016-06-12 21:15:43 +01:00
Starbeamrainbowlabs 9c760789f4 Upgrade viewing module to support revisions 2016-06-04 19:04:50 +01:00
Starbeamrainbowlabs ee1224bbe9 Generate history revisions upon uploading a file 2016-06-04 13:52:45 +01:00
Starbeamrainbowlabs 0258757639 Fix #71 (It says "Original Image" for PDFs). 2016-06-04 13:38:59 +01:00
Starbeamrainbowlabs 1d4daef507 Rework uploading pipeline to support svgs 2016-06-04 13:33:02 +01:00
Starbeamrainbowlabs 2ddd157f53 Tweak uploader module's description slightly 2016-06-04 12:03:01 +01:00
Starbeamrainbowlabs 35877c170c Bump version 2016-04-10 11:33:32 +01:00
Starbeamrainbowlabs 4de2f62e77 Redriect to video / audio if storage dir is the current directory 2016-04-10 11:29:44 +01:00
Starbeamrainbowlabs bb10011606 Polyfill getallheaders() 2016-04-10 11:13:24 +01:00
Starbeamrainbowlabs 121871f9e8 Bugfix: Fixed failed upload message 2016-04-10 11:01:16 +01:00
Starbeamrainbowlabs f69955c0c7 Implement file gallery 2016-04-09 09:26:18 +01:00
Starbeamrainbowlabs 5b914abeb3 Bugfix: Fixed display of PDF previews 2016-04-09 07:57:40 +01:00
Starbeamrainbowlabs e1a9c78692 Remove debug statements & bump versions 2016-04-09 07:56:09 +01:00
Starbeamrainbowlabs e576c8f286 Bump versions of modules. I keep forgetting! 2016-04-08 09:30:50 +01:00
Starbeamrainbowlabs 03c52c06a1 Overhual image parsedown extension again.
Made a *ton* of bug fixes and stability improvements too.
2016-04-08 09:01:12 +01:00
Starbeamrainbowlabs 7b638725ff Sort datalist by page name. 2016-04-08 07:27:07 +01:00
Starbeamrainbowlabs a59adf2436 Add editing message to upload form 2016-04-07 18:29:38 +01:00
Starbeamrainbowlabs ef28bc4902 Fill in video and audio previews. 2016-04-07 18:26:59 +01:00
Starbeamrainbowlabs 18012c82fe Overhaul file preview/display to support multiple filetypes. 2016-04-07 17:37:11 +01:00
Starbeamrainbowlabs 62310039ec Add untested etag code. Also tweak help page some more. 2016-04-07 10:18:58 +01:00
Starbeamrainbowlabs d4769658f7 Add generation time to preview generation.
Also fixed an inconsistency in the global timing system.
2016-04-06 18:30:11 +01:00
Starbeamrainbowlabs c99023d1a4 Add support for rendering pdfs.
Also fixed links on recent changes page.
2016-04-06 16:35:03 +01:00
Starbeamrainbowlabs bc33205e6b Rewrite preview generation to use php imagick 2016-04-06 16:20:53 +01:00
Starbeamrainbowlabs 30bfe144fe Add uploads to the recent changes page 2016-04-03 16:10:37 +01:00
Starbeamrainbowlabs 254476c94c Bump version module version numbers again, and fix critical issue with new expanded upload capabilities 2016-04-02 21:21:34 +01:00