1
0
Fork 0
mirror of https://github.com/sbrl/Pepperminty-Wiki.git synced 2024-12-23 14:05:02 +00:00
Commit graph

425 commits

Author SHA1 Message Date
b8dd51d1a1 Bugfix: Fully correct search context generation. Fixes #30.
Also, fixed a critical security issue in the search context generation which would allow an editor to inject code into the user's browser.
2016-08-19 13:02:42 +01:00
c5017919a1 Half fixed search context generation for #30.
The problem: The matches were being sorted in the wrong direction.
Next up we need to improve the context generation, as there are several contexts that are being generated without the keywork in question in them.
2016-08-19 12:02:09 +01:00
70f9c398cc Enchance internal link by adding page scanner. Fixes #87. 2016-08-19 10:59:49 +01:00
12af85ee82 Made background of tags slightly lighter.
Fixes #91.
2016-08-19 10:13:57 +01:00
ade3d15bca Add class to search term highlighting. Fixes #92. 2016-08-19 10:06:21 +01:00
27acc2420b Make sure that all files are stored in the data directories.
Fixes #89.
2016-08-19 10:00:03 +01:00
3a7b9412ac Re-fix #84 2016-08-18 20:53:19 +01:00
c17830883d Allow the entry of tab characters into the edit page textarea. Fixes #84. 2016-08-18 19:38:40 +00:00
7723c52d7e Naturally sort all tags list alphabetically. Fixes #88. 2016-08-18 19:05:16 +00:00
5dea574825 Fix #86 by altering the default permissions on mkdir. 2016-08-18 13:07:00 +00:00
f21e305821 Bump version, ready for release! 2016-07-05 15:31:07 +01:00
ff4d065b1f Update readme & prepare for next beta version 2016-07-05 15:25:30 +01:00
b1417729e3 Update build 2016-06-26 20:33:46 +01:00
21609fd61d Change revision display text 2016-06-26 20:32:51 +01:00
1b2a70629f Bump version 2016-06-26 18:08:24 +01:00
60856e4046 Fix login issues under new settings system, and tweak login bar a bit too 2016-06-22 13:04:04 +01:00
ad6a12da5b Finish initial settings rewrite 2016-06-22 09:13:32 +01:00
a2900d4fb2 Reindent comment 2016-06-15 19:38:34 +01:00
c76602f5de Document a bunch more stuff 2016-06-13 11:55:40 +01:00
2716a9e86a Correct syntax error that broke travis CI 2016-06-13 06:41:50 +01:00
77ffa2bcfc apidoc is awesome. document a bunch of stuff, more to go 2016-06-12 21:15:43 +01:00
fb0389576d Reversed the display order of page history. Fixes #80. 2016-06-08 18:06:16 +01:00
d1320aa467 Rename rchange functions. Fixes #74. 2016-06-08 17:41:30 +01:00
78a3a866dd Bugfix: Fixed CSS content unicode character 2016-06-06 19:04:20 +01:00
06653661a2 Improved robustness of page deleter and id system 2016-06-05 15:16:44 +01:00
9f5e52d76f Make move action aware of page revisions 2016-06-05 14:35:09 +01:00
0abc88e98e Squashed login status thingy 2016-06-05 12:26:16 +01:00
618fa54423 Fixed #77 (Logins don't redirect...) 2016-06-04 20:27:14 +01:00
ff577f1ed8 Add history link to "More..." menu. 2016-06-04 20:19:41 +01:00
cb31dadb9f Linkify history list. 2016-06-04 20:16:30 +01:00
b168dbb811 Display revision details. Fixes #75 and #76. 2016-06-04 19:55:22 +01:00
446ca98c23 Point page viewer at the correct filename based on the revision # 2016-06-04 19:13:40 +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
020b1ff32f Only show checkerboard background on mouse hover. 2016-06-04 13:35:34 +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
8f564194e8 Add transparent checkerboard pattern to preview image backgrounds 2016-06-04 11:59:35 +01:00
ab5fabe643 Fix centre alignment of preview images. 2016-06-04 11:22:57 +01:00
8332cd955d Fix #73. Also put some image captions in their place. 2016-06-03 09:32:26 +01:00
51d4749915 Implement UI for page history. 2016-06-03 09:16:16 +01:00
eb8daf2ce6 Initial history implementation. Save prev. revs of pages. 2016-06-03 08:45:17 +01:00
b8f680a2bf Added tag list text to tag list pages 2016-05-30 16:12:29 +01:00
b008ec608e Convert theme css to heredoc string 2016-05-30 15:53:02 +01:00
df7c36afcb Update help for parser and bump parser version 2016-05-30 12:35:23 +01:00
a075f8aa0a Implement short image links. Fixes #24. 2016-05-30 10:54:09 +01:00
4953b6f1fa Add support for image captions. 2016-05-29 20:34:34 +01:00
a09d8c0115 Widen more menu 2016-05-01 15:17:49 +01:00
7035fa66ec Add unified diff to edit conflict page + tweak line height 2016-05-01 15:06:27 +01:00
380c9c0740 Fix display of last modified time. 2016-04-30 12:25:50 +01:00
9e9ad02bd6 Added last modified time to bottom of page. Fixes #67. 2016-04-30 12:21:54 +01:00
344bd76e1b Shrunk padding at bottom of page 2016-04-30 12:12:33 +01:00
c247616e04 Bumped version for dev work 2016-04-30 12:01:32 +01:00
1bf49fe6ae Converted performance timeing comments and headers to use milliseconds 2016-04-30 12:00:48 +01:00
e86c67dcad Implement delayed indexing. Fixes #66. 2016-04-30 11:40:18 +01:00
c41c76688f Minor correction 2016-04-23 16:34:51 +01:00
b7defb58da Correct readme 2016-04-11 08:06:52 +01:00
81d5e61cc7 Bump version 2016-04-10 11:50:35 +01:00
6e92025963 update changelog 2016-04-10 11:49:50 +01:00
70f944864c Update build 2016-04-10 11:36:57 +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
8352e0e1bc Add credits 2016-04-10 08:50:44 +01:00
9b457bb5da Add option to optimise inline css. 2016-04-09 21:48:08 +01:00
3961c4977a Implement conflict resolution. 2016-04-09 17:04:43 +01:00
6e21a2aba6 Make username box autofocus 2016-04-09 11:02:25 +01:00
e95f4f1e0d Add tabindex to editing form 2016-04-09 11:01:27 +01:00
9d78f1a93c Make editing error messages more helpful 2016-04-09 10:55:44 +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
999c1abafd Add parser variable to list subpages 2016-04-09 07:51:29 +01:00
b044651dc3 Offload html escaping from editor to parsedown 2016-04-08 21:05:42 +01:00
2afb044672 Style blockquote in default theme. 2016-04-08 20:44:43 +01:00
881a5ff345 Fix issue in editor with blockquotes. 2016-04-08 20:13:11 +01:00
b36e69d87e Add extra debug variable to display requested page name. 2016-04-08 09:50:13 +01:00
e576c8f286 Bump versions of modules. I keep forgetting! 2016-04-08 09:30:50 +01:00
cdf56ca515 Implement redlinks and fix another issue with the parser 2016-04-08 09:28:59 +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
51fbfe0e4d tweak editing message some more. 2016-04-07 18:46:38 +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
4e599569ed Align editing message with edit form 2016-04-07 16:54:50 +01:00
62310039ec Add untested etag code. Also tweak help page some more. 2016-04-07 10:18:58 +01:00
d4769658f7 Add generation time to preview generation.
Also fixed an inconsistency in the global timing system.
2016-04-06 18:30:11 +01:00
c99023d1a4 Add support for rendering pdfs.
Also fixed links on recent changes page.
2016-04-06 16:35:03 +01:00
db3b63ac9b Fix another page list issue 2016-04-06 16:22:06 +01:00
bc33205e6b Rewrite preview generation to use php imagick 2016-04-06 16:20:53 +01:00
9dbb3b5dc0 Fixes issue where single changes were not displaying.
Fixes #57
2016-04-06 15:24:49 +01:00
995ef39901 Grouped recent changes by page (#57).
More tidying up needed though.
2016-04-04 13:55:43 +01:00
1f1bffa780 Begin work on grouping changes by page (#57).
Further work is needed, however.
2016-04-03 20:36:01 +01:00
0f288aa195 Group recent changes entries by day. Fixes #56. 2016-04-03 18:11:34 +01:00
187c45ee6a Credits and readme updates 2016-04-03 18:01:12 +01:00
b84e4cdadb Add help section on math expression rendering 2016-04-03 17:56:42 +01:00
ba3b3609dd Implement math expression parsing. Closes #61. 2016-04-03 17:49:38 +01:00
30bfe144fe Add uploads to the recent changes page 2016-04-03 16:10:37 +01:00
22981547cc Refactor recent changes display into own method 2016-04-03 15:58:49 +01:00
6a2c0dad5c Add page deletions to the recent changes page. 2016-04-03 15:43:40 +01:00
8b55263a44 Refactor code to add a recent change into own method 2016-04-03 15:31:50 +01:00
d5a1fb1a15 Add 'N' next to new pages in recent changes 2016-04-03 15:27:50 +01:00
254476c94c Bump version module version numbers again, and fix critical issue with new expanded upload capabilities 2016-04-02 21:21:34 +01:00
53adb8bfaf Fix the unrecognised file type error image. 2016-04-02 19:34:01 +01:00
9e515e45e2 Fix missing file extension when uploading file 2016-04-02 19:23:22 +01:00
bcb53c6eb7 Only display dimensions of uploaded files if they are images 2016-04-02 15:14:08 +01:00
fa5ecc6ff6 Unlock the uploading of arbitrary file types. 2016-04-02 15:07:18 +01:00
d887c80f32 Fix strange conflict 2016-03-28 14:45:52 +01:00
f39ea4e138 Rewrite all function comments in the core code. 2016-03-26 15:55:50 +00:00
8ae0a9b0b6 Bump version to dev 2016-03-26 15:07:16 +00:00
31ab53ead3 Added directory writeable state & total size to dev help 2016-03-26 14:23:38 +00:00
8d7cdb3ce8 Emergency patch for a weird warning 2016-03-25 17:59:35 +00:00
676f90b50d Emergency path for a weird warning 2016-03-25 17:52:32 +00:00
5b445b239f Update build 2016-03-25 11:57:05 +00:00
0c85ac9df1 Correct minor error with page-view description. 2016-03-25 11:41:30 +00:00
0452e3b338 Bump version. 2016-03-24 13:13:24 +00:00
cec847fd67 Update version numbers of modules.
I forgot to do this before.... :P
2016-03-24 13:11:05 +00:00
512eec7ec2 Add icons next to people in credits. 2016-03-21 19:23:14 +00:00
312a3040af Add moderator symbol to update link in credits. 2016-03-21 19:01:53 +00:00
462affe0f8 Bump version 2016-03-21 17:12:32 +00:00
f49d87a2f1 Add help section id to right of header. 2016-03-21 16:35:22 +00:00
da6ce432c9 Improve page-list's help section. 2016-03-21 16:23:50 +00:00
ad992c9439 Fill in help section for recent-changes, and make redirect pages italics. 2016-03-21 16:21:09 +00:00
34cc498e0f Add contentonly query parameter. Implements #55. 2016-03-21 15:37:31 +00:00
50be095e75 Document templating in parser-parsedown's help section. 2016-03-20 17:57:47 +00:00
1c6ace3492 Add a pair of special variables to aid debugging. 2016-03-20 17:05:16 +00:00
42b66729b7 Fix potential security vulnerability in new variable parsing. 2016-03-20 16:42:21 +00:00
f4ffa86394 Tweak variable parsing to allow for special variables later. 2016-03-20 16:38:36 +00:00
4adf02a549 Minor improvements to page lists.
Redirect pagse now show in italics, and the pencil icon has a ? cursor and has a tooltip of "Last editor".
2016-03-20 16:30:00 +00:00
10fbe52f27 Implement variables. More testing needed. 2016-03-20 16:16:55 +00:00
96884a5160 Implement templating in parser-parsedown.
Although variables are parsed, they currently aren't used.
2016-03-20 14:05:55 +00:00
142d2b60a8 Add extra info to the dev help page. 2016-03-19 18:41:22 +00:00
c7c0615d63 Correct minor spelling issues in the help 2016-03-19 18:28:27 +00:00
ffa9c7d824 Tweak the description & author of parser-parsedown 2016-03-19 18:24:52 +00:00
f6f38adae3 Improved "there isn't a page..." message on search page. Fixes #49. 2016-03-12 19:02:36 +00:00
111d95081f Update feature-search's description. 2016-03-12 18:52:26 +00:00
3fcbbd8a5e Added recent changes link to "More..." menu. 2016-03-12 18:38:07 +00:00
be2daaa5cc Add unit to image sizing syntax in parser-parsedown. 2016-03-12 18:32:58 +00:00
66ae937cc7 Add help section for parsedown parser. 2016-03-12 18:30:40 +00:00
4e123577ce Moved printable button to bottom bar. 2016-03-12 17:55:35 +00:00
f509db5785 Write extension of parsedown extra and change default parser.
Also automatically download parsedown and parsedownextra to the current directory dynamically instead of including in the parser-parsedown module.
2016-03-12 15:26:30 +00:00
a80a2b677f Add debug action for administrators. 2016-01-23 15:25:36 +00:00
7cdd083ed6 Shink printable logo. Fixes #51. 2016-01-23 14:21:05 +00:00
201308ba86 Categorise settings. Completes #52. 2016-01-23 11:27:44 +00:00
7a6c2de743 Rewrite the settings file & add a config guide to the readme. 2016-01-23 10:43:30 +00:00
59afefc3ce Added icons to the more... menu 2016-01-16 15:12:42 +00:00
31b678668b More recent changes page refinements. 2016-01-16 14:17:55 +00:00
02b6df6ea3 Remove recent changes debug statements 2016-01-16 14:09:51 +00:00
110d5f1ae6 Tweaks and fixes to new recent changes 2016-01-16 13:51:25 +00:00
219eb51964 Initial untested recent changes. Also save preprocessor tweaks. 2016-01-16 13:24:13 +00:00
3ab0d2c5a8 Make tag list inline so it fills with page space 2016-01-14 12:13:29 +00:00
03552b979f Small optimisation to search queries 2015-12-26 13:06:45 +00:00
24a81c2f11 Update build 2015-12-26 12:55:56 +00:00
e1f5283785 Finish revamp of help page. 2015-12-21 14:39:56 +00:00
9e63f0f64b Lots of small stability fixes. 2015-12-21 14:35:27 +00:00
f7af7c455a Bugfix: Silly mistake in add_help_section 2015-12-21 14:30:49 +00:00
12c6affb79 Update build 2015-12-21 14:08:44 +00:00
ea10480183 Add link to tag list at the bottom of the list of apges that belong to a specific tag 2015-12-20 10:54:47 +00:00
c6a70e42c5 Currect the image preview urls. Fixes 48. 2015-12-16 19:14:09 +00:00
f0e18ebf64 Further improvements to all pages listing 2015-12-16 19:05:08 +00:00
319f016146 Improve look of page list 2015-12-16 10:24:13 +00:00
70cda03f8d Bump version to dev 2015-12-13 15:19:50 +00:00
48f77b7b84 Improve appearence of the tag list page. 2015-12-12 20:31:35 +00:00
f39c8f84ca Add all tags to more menu by default 2015-12-12 20:25:03 +00:00
49b31770ce Add padding to the page list 2015-12-12 20:23:17 +00:00
f3feec9a6e Style the tags in the page list 2015-12-12 20:11:17 +00:00
db931e4dd8 Bump version to v0.9.1 2015-12-06 13:02:13 +00:00
3c2c76473b Bugfix: Fix link to list of pages with a particular tag. 2015-12-06 13:01:26 +00:00
b577c813f3 Bump version 2015-12-05 19:18:22 +00:00
f461811050 Minor comment adjustments in settings. 2015-12-05 19:09:19 +00:00
71131f973f Finish bugfixing #35 - search has been implemented at last! 2015-12-05 18:59:23 +00:00
b139f204b4 Debug the pageindex regenerator. Fixes #41. 2015-11-14 21:24:57 +00:00
0e3a7f345a Properly escape search terms in the context highlighter. 2015-11-14 17:02:57 +00:00
b539cb4107 Also delete from searchindex when deleting a page. Speculative fix for #35, but it seems #41 needs fixing first. 2015-11-14 17:01:23 +00:00
e191887bcb Fix #40. 2015-11-14 16:00:51 +00:00
5ef0b1b7c9 Bump version of page-login 2015-11-14 15:55:57 +00:00
10da7a3d60 Fix #39. 2015-11-14 15:48:30 +00:00
1cca9a9f73 Redirect to the last page viewed. Fixes #38. 2015-11-14 15:41:28 +00:00
3711f10e5c Add option to require login before viewing pages. Currently halfway through #38. 2015-11-14 15:22:35 +00:00
1f68038636 Attempt to detect associated files when rebuilding the pageindex. Implements #27. 2015-11-12 11:03:41 +00:00
9c1b5faf28 Switch over another stray path in the core to the new system 2015-11-12 10:01:21 +00:00
414eb58850 A real fix for #36. 2015-11-12 09:59:08 +00:00
839767ad62 Bugfix: unable to disable page protection. Fixes #36. 2015-11-12 09:31:50 +00:00
41d18dc539 Bugfix: Page protection: undefined property defaultaction 2015-11-12 09:29:16 +00:00
6eea1700d6 Delete page names from the id index upon page deletion. 2015-11-11 19:24:40 +00:00
43d15f9212 Update the idindex when moving a page. Fixes #33. 2015-11-11 18:49:08 +00:00
05026b9045 Bugfix the inverted index. Fixes #34. 2015-11-11 18:42:12 +00:00
bf2da0b28c Revise $path integration in move logic. Fixes #32 2015-11-11 18:29:26 +00:00
6217cbb6c0 Add primitive page that lists *all* tags at ?action=list-tags. 2015-11-09 07:37:38 +00:00
97391466ed Re-added mb_stripos_all. How on earth did THAT get removed?! 2015-11-09 07:30:00 +00:00
e7dfda5f75 Umm I forgot to add to the globals list... :P 2015-11-09 07:25:28 +00:00
9489d6a555 More uploaded file preview tidyup. 2015-11-09 07:19:14 +00:00
96783fb4b0 Update file upload preview display 2015-11-09 07:15:12 +00:00
0f18dcdc82 Add better errors by phperror.nnet 2015-11-09 07:08:37 +00:00
d5f1050d79 Update build 2015-11-06 20:11:58 +00:00
8a86c01840 Erm right 2015-11-02 14:42:38 +00:00
173a72fa46 Search page title and tags 2015-11-01 15:05:54 +00:00
9046d72e7c Bugfix: Another (successful this time) attempt to rid ourselves of blank tags 2015-11-01 14:31:51 +00:00
1c58a64134 Bugfix index comparison. I think this fixes #29. 2015-11-01 14:26:13 +00:00
e79e522d78 Integrate search into top bar 2015-11-01 10:13:35 +00:00