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

922 commits

Author SHA1 Message Date
9021afe851 Create statistics calculation core. More statistics coming soon! Personally, I'm most excited about the most wanted pages....! :D 2017-07-13 20:48:57 +01:00
1236ce8e4d Add search index rebuilding action to master settings screen 2017-07-11 20:21:20 +01:00
576b293c4e Update apidoc comment & changelog 2017-07-10 22:10:18 +01:00
80158541cb Make invindex-rebuild admin only, but allow access via a POST request with the secret attached 2017-07-10 22:06:41 +01:00
c2dcf43bc2 Add progress to invindex-rebuild - ready for addition to the master control panel 2017-07-10 21:53:52 +01:00
e3fcecdc1a Fix small bug in new preview function.
https://github.com/sbrl/Pepperminty-Wiki/pull/140#issuecomment-31269952
2017-07-03 18:33:25 +01:00
7e14eb609a Bump version of page-edit module after PR 2017-07-03 18:23:22 +01:00
356d9c3982 Update credits & changelog after merging PR 2017-07-03 18:21:07 +01:00
51cea83402 Merge branch ikisler's preview-changes branch into master 2017-07-03 18:14:27 +01:00
e9381da756 Fix permissions 2017-07-03 18:05:57 +01:00
Isabeau Kisler
070afff19b Add preview functionality -- actually change preview message this time 2017-07-02 14:15:20 -07:00
Isabeau Kisler
8eee12bd6b Add page preview functionality -- more tweaks
Change order of save and preview buttons, tweak HTML and styling for preview message.
2017-07-02 13:14:50 -07:00
Isabeau Kisler
5e51ebf213 Add preview page -- Make changes based on code review
Adjust styles, add preview header, change underbar to dash.
2017-06-28 22:33:57 -07:00
57acbc85b8 Add rawurlencode() calls everywhere in the redirect logic to fix #139 2017-06-28 11:42:11 +01:00
4ea4315c5a Allow access to opensearch-description when not logged in, and make opsearch description use search-redirect 2017-06-28 11:21:42 +01:00
60ebd1340c Improve dynamic page suggestions, and add option to output OpenSearch-compatible search suggestions 2017-06-28 10:44:44 +01:00
eb137df2b4 Fix apidoc comments & update api docs 2017-06-28 09:45:13 +01:00
Isabeau Kisler
c478f50f68 Add preview page edit functionality
Make changes to edit action, add preview_edit action, adjust styles
2017-06-27 22:44:05 -07:00
7a326cb52f Add api status action for #138 2017-06-26 11:36:49 +01:00
9c5f5d12a4 Add avatars to comments 2017-06-18 16:21:08 +01:00
cf866e92c5 Fix bug in avatar action 2017-06-18 16:21:01 +01:00
967eb1ad13 Add section to help on commenting 2017-06-18 15:53:21 +01:00
e01f8d9852 Add help section on avatars 2017-06-18 15:29:25 +01:00
a5b8bad725 Send the last-modified header with the view action 2017-06-18 14:54:52 +01:00
6bc2259139 Send last-modified header with generatetd previews 2017-06-18 14:52:04 +01:00
4aea4e64ca Add avatars to page history 2017-06-18 14:18:14 +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
9abda2f323 Add link to avatar upload to user preferences page 2017-06-18 14:10:58 +01:00
2e1e6a5b2b Add avatar action 2017-06-17 16:40:48 +01:00
1b25416b6b Tweak & update avatar upload logic - we're nearly there~! :D 2017-06-17 15:36:11 +01:00
dbc9488129 Add ikisler to credits 2017-06-06 21:46:13 +01:00
677e1340aa Fight the build system to make open search work. I win! I should really consider upgrading it though. 2017-06-06 21:33:11 +01:00
e2f87f80de Tweak the formatting of the new code
I'm just picky ;-)
2017-05-28 19:42:17 +01:00
Isabeau Kisler
9ed0d666f9 Fix repeated page names on sidebar
Check if page already appears in sidebar.  If so, continue the loop
2017-05-28 10:48:59 -07: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
adc6b93f6d Reverse the order comments are displayed in 2017-05-22 20:30:26 +01:00
27c8037506 Fix & finish jump to comments button 2017-05-22 20:01:25 +01:00
bf7583acf1 Add fixme 2017-05-20 16:08:27 +01:00
6835c77384 Add initial jump to comments link, but it doesn't work yet. 2017-05-20 16:07:42 +01:00
fa1f03f38a Make comment recent changes dislpay more robust 2017-05-20 15:40:59 +01:00
b621c13c03 Add comments to recent changes 2017-05-20 15:18:22 +01:00
4c57ae8c37 Fix warnings on recent changes page 2017-05-20 15:05:25 +01:00
06ddf4c454 Fix nasty bug in find_comment 2017-05-20 14:50:17 +01:00
0f30af6f83 Add comment_time_icon setting and add link to edit master settings from credits 2017-05-20 12:33:26 +01:00
6969417004 Fix concatenation error 2017-05-16 20:42:15 +01:00
367b6da149 Refine commenting form some more 2017-05-14 21:51:04 +01:00
d3d56bdaa7 Fix comment replies on the server-side 2017-05-13 17:03:25 +01:00
83ab6bf5b3 Fix the reply box 2017-05-13 16:37:06 +01:00
d00c6c1b9b Create commenting system for logged in users. It's currently untested! 2017-05-13 15:59:39 +01:00
e2661a5ebb Add stacked bar to show where your space has gone 2017-04-17 14:01:19 +01:00
725a472880 Move the bottom help section to the top 2017-04-17 12:46:11 +01:00
dac4684c14 Add default param to errorimage() 2017-04-17 12:44:27 +01:00
96fcbb90de Bugfix: Don't search page titles and tags for stop words 2017-03-23 21:25:55 +00:00
313bcc7edf Add method to return raw search result information as json 2017-03-23 21:13:20 +00:00
d83bbb3527 Clear out the id index when rebuilding the inverted index - it sometimes goes all funny otherwise, apparently 2017-03-23 20:48:42 +00:00
d19d83d99a Make page names that are redirects italics in search results. 2017-03-20 20:21:25 +00:00
8404b0cec6 Default to snippet from the page source in search result context generation - some pages may appear when the search terms appear only in the title or tags, and not the page source. 2017-03-20 20:08:56 +00:00
86ebcf57a0 Link to master settings from user preferences for admins 2017-03-20 19:57:50 +00:00
bdbb40070c Bugfix: Link pages with "'" in their names correctly in page lists 2017-03-09 15:53:29 +00:00
e0cedbf9b7 Monkeypatch new internal link logic 2017-03-09 10:47:25 +00:00
191d5370e0 Make editing textarea automatically expand with it's contents! 2017-03-05 16:15:50 +00:00
b693953a5c Bugfix: Include the rest of a word in internal links. 2017-02-25 10:57:10 +00:00
65f7fef345 Add user list action 2017-02-18 21:52:05 +00:00
9702343735 Added help section for user pages. 2017-02-18 20:55:25 +00:00
33b39f46d3 Link usernames in recent changesto their respective user pages 2017-02-12 09:55:37 +00:00
355d6fbb56 Sort the registered actions list on the dev help page 2017-02-11 15:29:25 +00:00
94e597a895 Restrict editing of user pages correctly. 2017-02-11 15:22:04 +00:00
0c8d62b5be Tweak user preferences a bit more 2017-02-11 11:58:00 +00:00
21e49fb87a Bugfix: Fix email address saving. 2017-02-10 19:58:16 +00:00
23a2e24238 Finish user preferences email address saving 2017-02-10 19:55:56 +00:00
3d728542fb More user preferences stuff for #128 2017-01-26 20:59:04 +00:00
5d9e464ce5 Improve search performance - fixes #130 2017-01-26 20:55:46 +00:00
50140cbf18 Improve help page description for random redirector 2017-01-02 21:25:18 +00:00
433b83072a Bump versions & tweak help page ordering a bit 2017-01-02 20:39:52 +00:00
3e58a7b03d Add conditional user preferences section to help page. 2017-01-02 20:38:18 +00:00
abfeea06a8 Move password changing apidoc comment 2017-01-02 20:25:46 +00:00
103889d41c Bugfix: Push page path through makepathsafe when detecting redlinks 2016-12-26 18:30:29 +00:00
fafaf397e9 Bugfix: Make password chainging work. 2016-12-23 18:06:04 +00:00
3358b8b100 Implement (untested) backend for password changing 2016-12-21 22:03:38 +00:00
8f7a111b48 Improve the last edited message in the footer. 2016-12-17 20:59:04 +00:00
51b37ee55b Begin creating a user preferences page! :D 2016-12-16 21:29:55 +00:00
7ba0d62cc8 Update users object to support storing arbitrary data. 2016-12-12 18:38:26 +00:00
16f5e8fa2c Improve settings configuration UI text 2016-12-11 19:28:03 +00:00
d4fe19d1ed Begin wiring up settings gui & create settings object generator. 2016-12-11 18:52:53 +00:00
75e68e3f53 Create random action 2016-12-07 20:40:16 +00:00
Starbeamrainbowlabs
1fe9ffd775 Make dynaimc page suggestor faster. Fixes #124. 2016-11-28 14:05:23 +01:00
99030913fe Correct error messag when moving a page - fixes #121. 2016-11-25 19:34:20 +00:00
46e89762af Bump version of feature-search 2016-11-20 13:28:35 +00:00
44e2348ab2 Add initial dynamic page suggestions. Works better in Firefox than chrome - implements idea in #113 2016-11-20 13:24:35 +00:00
312de4b341 Add tab indexing to file upload form. Fixes #120 2016-11-20 09:41:23 +00:00
f07cd96691 Bugfix: Tag link escaping at the bottom of every page 2016-11-06 20:51:32 +00:00
0c625cd3da Bugfx: Correct new JS api. 2016-11-05 14:08:50 +00:00
9d25376d82 Correct spelling mistake 2016-11-03 20:29:15 +00:00
b7f85b774e Improved recent changes links a bit. 2016-11-02 17:51:00 +00:00
e5d56badf3 Finish gui settings display. Currently it doesn't read them back in again. 2016-10-30 10:50:38 +00:00
fc87997f77 Create new JS snippet API 2016-10-30 10:06:46 +00:00
81bcef9a24 Improve search engine indexer. Fixes #117.
It is now more liberal when deciding on word boundaries.
2016-10-25 21:12:39 +01:00
b7b34bff16 Don'tr estore content if there's something in the editor already. 2016-10-22 16:48:21 +01:00
d3b6b1c54e Add 'smart save' feature to page creator.
Never again will people loose their work.
2016-10-22 16:43:53 +01:00
49a1153083 Fix bug in update action api docs. 2016-10-19 07:30:59 +01:00
cb75928bd0 Bugfix: Fix undefined index in page view 2016-10-18 19:32:06 +01:00
2eacd31577 Add additional types to gui generator. 2016-10-18 19:08:46 +01:00
52569bbab2 Correct spelling in comment 2016-10-18 19:08:46 +01:00
286f2b72f0 Start work on gui by creating module & setting things up. 2016-10-18 19:08:34 +01:00
9caadadc66 Link images to their sources, properly handling short image urls. Fixes #111. 2016-10-18 19:08:34 +01:00
53f4f2227d Trim the image url before short url detection. Fixes #108. 2016-10-18 19:08:12 +01:00
f267c9d5a0 Add header to upload file page 2016-10-18 19:07:44 +01:00
4dffd8d1cd Bugfix: Always display the footer message at the bottom of the page. 2016-10-18 19:06:47 +01:00
73a09e8365 Bump versions of modules. 2016-10-18 18:58:19 +01:00
6780ce18bb Enforce day separator on recent changes page mroe strongly. Fixes #110. 2016-10-18 18:57:29 +01:00
6476877c60 Attempted to implement Opensearch (#112), but it doesn't work :/ 2016-10-18 18:57:24 +01:00
9f2efb2c02 Correct rendering of recent changes list. Fixes #106. 2016-10-18 18:54:55 +01:00
06a3a4a19f Suggest appropriate filename when saving a generated preview image. Fixes #105. 2016-10-18 18:54:24 +01:00
673fe033ee Bugfix: Recent changes break when the number of changes reach $settings->max_recent_changes. Fixes #104. 2016-10-18 18:51:14 +01:00
eace10e497 Cleanup: Delete rogue exit() call from raw action 2016-10-18 18:47:41 +01:00
9883b58379 Bugfix: Clear up a bunch of issues with the recent history overhaul. 2016-10-18 18:46:41 +01:00
dfeb2a9399 Added history support to the raw action. 2016-10-18 18:38:34 +01:00
0253ab6c0e Moved history logic to core & tied it in with $env.
Also fixed a few bugs in view & upgraded the display mode.
2016-10-18 18:34:27 +01:00
f18da4858b Remove full stop from apidoc comment 2016-08-26 17:55:50 +01:00
d9b5bdfb3e Add debug idindex-show action. 2016-08-26 17:47:46 +01:00
3ddd63909e Redirect the user if they have already logged in. Fixes #102. 2016-08-24 19:12:37 +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
215fe4461a Added broken bar character support to the image syntax 2016-08-22 11:14:49 +01:00
4accd65ca8 Bump verion of parser 2016-08-22 09:40:37 +01:00
181d7f95da Add more comment headings to parser 2016-08-22 09:40:17 +01:00
31999e2627 Added the broken bar character (¦) as an alternative internal link / template splitting character. 2016-08-22 09:36:22 +01:00
ca89ccd33d Bugfix: Pageindex data for parent pages disappears when a child page is edited. Fixes #98. 2016-08-21 21:02:36 +01:00
320c871495 Fix bug in new redirect code 2016-08-21 14:10:40 +01:00
f6c9ff6101 Bum version of parser 2016-08-21 12:02:34 +01:00
367f4e5ebf In last commit: Allow spaces in image filenames 2016-08-21 12:00:40 +01:00
7589605c81 Bump version of feature-search 2016-08-21 10:59:41 +00:00
6411ce9b2a Added wiki size to dev help. Fixes #97. 2016-08-20 13:50:48 +01:00
84f6005db0 Added search time to searchr results page 2016-08-20 11:35:04 +01:00
6c4c00b156 Added size + decode time for major indexes 2016-08-20 11:27:26 +01:00
75cb609b82 Don't get Travis CI to test against PHP 5.5 2016-08-19 20:28:47 +01:00
d72cd50ba1 Bump moar module version numbers. 2016-08-19 19:56:37 +01:00
e3683f218f Bump versions of modules 2016-08-19 19:54:27 +01:00
63d0bdd5d6 Allow hashes in redirects. Also fix bug in page moving. 2016-08-19 19:49:39 +01:00
16076a8d8f Allow linking in internal links to subheadings. 2016-08-19 19:39:53 +01:00
aae9365f5a Refine appearance of search contexts. 2016-08-19 13:47:56 +01:00
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
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
21609fd61d Change revision display text 2016-06-26 20:32:51 +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
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
97de1974aa Update hash module. 2016-06-12 13:40:28 +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
618fa54423 Fixed #77 (Logins don't redirect...) 2016-06-04 20:27:14 +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
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
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
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
7035fa66ec Add unified diff to edit conflict page + tweak line height 2016-05-01 15:06:27 +01:00
7aabf91d1e Bump version of view module 2016-05-01 14:48:29 +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
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
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
8352e0e1bc Add credits 2016-04-10 08:50:44 +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
8e9254774f Add pageindex size to dev help 2016-04-09 08:14:55 +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
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
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
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
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
7f771423da Fix issue with redirects on the recent changes page 2016-04-02 13:49:45 +01:00
d887c80f32 Fix strange conflict 2016-03-28 14:45:52 +01: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
f49a89cbff Add license to credits page. 2016-03-25 11:41:55 +00:00
0c85ac9df1 Correct minor error with page-view description. 2016-03-25 11:41:30 +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
705406deb9 update changelog 2016-03-21 16:36:34 +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
5af09f20dc Renamed parser-default to match new id 2016-03-19 21:11:49 +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
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
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
3c14063f0d Remove old 307 redirect from raw action. 2016-01-23 14:33:18 +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
03552b979f Small optimisation to search queries 2015-12-26 13:06:45 +00:00
801369387d Cleaned up comments and added more title texts. 2015-12-26 12:55:19 +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
be86dac917 Continue writing help section for various modules. 2015-12-21 14:03:21 +00:00
505b5319f0 Revamp help page. Currenty untested.
I will test it as soon as I have time.
2015-12-21 08:45:38 +00:00
78f7cfdb24 Bump version of page-list (no build update) 2015-12-21 08:32:09 +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
48f77b7b84 Improve appearence of the tag list page. 2015-12-12 20:31:35 +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
3c2c76473b Bugfix: Fix link to list of pages with a particular tag. 2015-12-06 13:01:26 +00:00
71131f973f Finish bugfixing #35 - search has been implemented at last! 2015-12-05 18:59:23 +00:00
8924c7b9ac Only build an index for the old version if it actually exists 2015-12-05 17:37:45 +00:00
d55132fd19 Rebuild the inverted index if it doesn't exist on search. 2015-12-05 17:27:01 +00:00
c6442565bf Add returnto to anonymous edit denied message. 2015-12-05 17:26:22 +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
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
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
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
5e28a9e98e Finish updating modules. Next up is bugfixing :D 2015-11-09 06:58:42 +00:00
c7348d9c74 Begin updating module to use the new path system. Currently untested. 2015-11-08 21:15:08 +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
2dff5fe655 Bugfix: empty tag appearing when I didn't enter any tags 2015-11-01 10:17:14 +00:00
e79e522d78 Integrate search into top bar 2015-11-01 10:13:35 +00:00
7957b3ca2e Update the pageindex when saving an edit. 2015-11-01 09:30:29 +00:00
3baf2535ab Add resultl number to left hand side of result 2015-10-31 14:16:19 +00:00
559191757f Add search box to search page 2015-10-31 14:05:00 +00:00
77e4cdcc7d Refactor context highlighter out of context extraction 2015-10-31 13:52:50 +00:00
5a3a501c08 Add todo comments - I'm out of time now. 2015-10-29 11:32:45 +00:00
4157a9fb6c Begin interface work. Why is the <strong> being inserted into another <strong>??? 2015-10-29 11:21:04 +00:00
e016c5f9a7 begin writing the search engine itself O.o 2015-10-28 20:56:10 +00:00
29acc3a5e2 More work on inverted indexes. I think we're getting there. 2015-10-28 14:31:27 +00:00
777a27064e Erm right. More line ending weirdness....? 2015-10-28 11:36:07 +00:00
221c61a1b3 Refine indexer by removing 'stop words'.
More information at https://en.wikipedia.org/wiki/Stop_words
2015-10-28 09:14:41 +00:00
be9c822e17 Bugfix: warning when editing page that doesn't have any tags 2015-10-28 08:43:59 +00:00
725452a172 Continue working on indexer. Why is it converting to html entities....? 2015-10-28 08:03:56 +00:00
db7bf0f7ec begin playing around with indexing 2015-10-27 21:10:05 +00:00
bab0f67da0 Don't display message if page doesn't have any tags 2015-10-25 16:06:47 +00:00
394a60e849 Display tag at bottom of page and link to list of page with that tag 2015-10-25 15:45:25 +00:00
8fe437050c Display tags a bottom of page 2015-10-25 14:10:56 +00:00
f04773a76b Add support for editing tags 2015-10-25 11:26:35 +00:00
3e47422cc6 Tidy up page moving code a tad 2015-10-25 11:11:41 +00:00
7577a6669c Delete associated file when deleting page. Fixes #23 2015-10-25 11:11:04 +00:00
fe978fa980 Bugfix: update the filename when moving page 2015-10-25 11:09:26 +00:00
7d3d190661 Bump version of page-move module 2015-10-25 11:02:55 +00:00
7fbfb722ed Move associated file when moving a page. Fixes #22. 2015-10-25 11:02:20 +00:00
b62e28db88 Add link display box for files 2015-10-24 21:03:18 +01:00
1d91b3ed81 Display uploaded images & make max upload size readable 2015-10-24 14:28:56 +01:00
855e1f6d46 Comment cleanup 2015-10-24 10:09:15 +01:00
5004544b25 Finish preview generator 2015-10-24 10:04:24 +01:00
db81d17c5e Continue work on aspect ratio of preview images 2015-10-23 21:04:58 +01:00
612bf0ce74 Begin work on preview generator 2015-10-22 09:56:42 +01:00
19c4e36754 Add upload=success url paramter to later 2015-10-22 09:03:31 +01:00
fea2a8b004 Tweak the uploaded filename 2015-10-22 08:59:03 +01:00
093960133b Allow *single* dots in page names 2015-10-22 08:54:59 +01:00
35a1161be4 Bugfix: Include system_mime_type_extensions not system_extension_mime_types 2015-10-22 08:51:43 +01:00
15885200eb Bugfix: Check imagesize correctly 2015-10-22 08:47:21 +01:00
e09533659a Close the mime checker after use 2015-10-22 08:44:55 +01:00
aea3294c92 Bugfix: open mimechecker correctly 2015-10-22 08:43:29 +01:00
5f360a422d Add extra comments. 2015-10-22 08:41:01 +01:00
02d4659a32 Initial (untested) image uploader. 2015-10-22 08:38:50 +01:00
92b3dbaeb0 Implement some error conditions for the file uploader. 2015-10-19 08:03:38 +01:00
1c99138c72 Add initial upload page. 2015-10-18 21:01:18 +01:00
7fd3d452d4 Forgot to actually commit the code.... oops :P 2015-10-18 13:23:02 +01:00
00dab816fb Create skeleton for image uploader 2015-10-18 13:20:09 +01:00
293f9e94f0 Add use_sha3 option to settings in light of recent developments with sha256 2015-10-10 13:00:46 +01:00
839de3f063 Bugfix: Don't hash the closing html tags in action-hash 2015-10-10 12:51:55 +01:00
0687610598 Upgrade credits page to display installed modules 2015-10-08 17:59:14 +01:00
67dc28cae1 Todo comment tidyup 2015-10-08 10:12:45 +01:00
db7ee5bc1c Baked image size / floating support into parsedown 2015-10-04 15:20:47 +01:00
d8352c9647 Comment out advanced image processing - It doesn't play nicely with parsedown atm. 2015-10-04 14:14:43 +01:00
e149c35357 Bugfix: parser-default: Don't convert # into header unless it's at the beginning of a line 2015-10-04 14:08:40 +01:00
f5555bad3e Bugfix: isseet -> isset 2015-10-04 14:04:42 +01:00
edf2c88d12 Add optional parsedown module 2015-10-04 13:37:12 +01:00
4a8f0d608a Add option to clean raw html and fixed new parser system 2015-10-04 13:08:59 +01:00
2b2cd7b396 Add option to clean raw html on save 2015-10-04 12:42:53 +01:00
bdfec1c6f3 Rewrite parser backend. Currently untested. 2015-10-04 09:10:14 +01:00
93492c7ddc Bump version of page-edit 2015-10-04 09:00:10 +01:00
8788b89ce5 Resave the pagedata if it has been changed by the preprocessors 2015-10-04 08:59:35 +01:00
e2d6a7f425 Carry action across redirect 2015-10-03 13:36:46 +01:00
3ea7d60e00 Add italics message on page after redirect 2015-10-03 13:35:44 +01:00
f1824243f5 Fix redirect sending conditions 2015-10-03 13:29:07 +01:00
00940645c7 Remove debug statemenets 2015-10-03 13:28:12 +01:00
1052d76184 Bugfix: Fill $matches with the redirect pattern matches 2015-10-03 13:21:43 +01:00
5b6bc5da7a Bugfix: Don't follow page redirect upon saving an edit 2015-10-03 13:21:22 +01:00
cad2270512 Bugfixes: undefine property protect 2015-10-03 12:41:35 +01:00
4c93418f85 Add untested redirect front end 2015-10-03 12:26:46 +01:00
f5fba6e431 Bugfix: Make sure the page exists when checking for protection 2015-10-03 12:26:32 +01:00
77027da111 Bugfix: missing dollar sign from variable name 2015-10-03 12:22:54 +01:00
e5468d656e Add todo comment 2015-10-03 10:27:18 +01:00
bb21686a84 Add (untested) redirect page backend 2015-10-03 10:26:25 +01:00
faaa2a21ac Move save preprocessor handling to after metadata calculation 2015-10-03 10:18:26 +01:00
8e627c552c Create new blank file for redirect page module 2015-09-30 14:03:41 +01:00
6ad834247f Implemented page protection backend 2015-09-30 11:26:22 +01:00
1f1d1cd685 Add (untested) support for save preprocessors. 2015-09-30 08:08:10 +01:00
756814a160 Add page protection 2015-09-30 07:08:03 +01:00
f5b0b85603 Add editing message that appears just before the edit button 2015-09-30 06:44:12 +01:00
7da73d7c70 Bugfix: Undefined variable $isloggedin on edit page 2015-09-22 14:49:39 +01:00
745c3cb072 Bugfix: Faltal error on edit page 2015-09-22 14:48:59 +01:00
2daca17294 Bugfix: Missing Semicolon in module page-delete 2015-09-22 14:39:59 +01:00
4cabf42666 Convert all existing modules over to new $env 2015-09-22 14:34:18 +01:00
cab6f9f414 Add action-raw module 2015-09-21 18:04:51 +01:00
e465a05083 Erm what's happening here...? 2015-09-19 10:19:56 +01:00
87b3bd7d81 sort the sidebar alphabetically. Fixes #17. 2015-08-05 13:12:25 +01:00
eb58c7921e extra-sidebar: Don't show the sidebar on printable pages. Fixes #16. 2015-08-05 12:51:38 +01:00
978d3ef880 cleaned up sidebar css 2015-08-04 20:12:18 +01:00
441a3c5ec2 Finished theming sidebar 2015-08-04 20:03:25 +01:00
2201b06143 implementated sidebar & begun css theming 2015-08-04 10:44:23 +01:00
e8ae17d4ae Enhance sidebar display logic 7 bugfixes 2015-07-28 13:32:18 +01:00
4d7dd3a0a8 Style inputs and textareas 2015-07-27 15:06:41 +01:00
99d92cd928 Added link to new export module in the credits page 2015-07-18 11:02:48 +01:00
2c2325ad40 Created new page-export module 2015-07-18 10:58:42 +01:00
505eae21d0 continuing work on the new theme. $settings->navlinks is now $settings->nav_links 2015-07-16 10:16:02 +01:00
f6e3b9803d Sort entries in all pages alphabetically. Fixes #15 2015-07-15 17:11:32 +01:00
3126322148 more comment tidyups 2015-07-14 17:05:20 +01:00
ce43496df3 Bugfix get_subpages() and add subpage list to bottom of page 2015-07-14 16:59:29 +01:00
3fa1905070 Enhanced credits page and cleaned up comments 2015-07-14 16:11:59 +01:00
52821d1a87 Add function to make sure parent pages exist. Fixes #12 2015-07-14 15:47:05 +01:00
f12aedb9cb added todo 2015-07-13 20:28:09 +01:00
f8cddda19e Update for page-edit module: allow saving of subpages 2015-07-13 15:22:57 +01:00
8384638817 several more spelling corrections 2015-05-27 10:53:42 +01:00
5f33d9a6a4 Moved markdown parser to a module 2015-05-27 10:32:13 +01:00
6bf33a415a another small fix to the help page 2015-05-26 18:25:48 +01:00
639b208f80 Updated the help page to add the new syntax 2015-05-26 18:24:14 +01:00
2326bc479e another fix in the page viewer 2015-05-24 21:05:45 +01:00
81dfe2267b updated modules & fixed bugs in initial implementation 2015-05-24 21:00:30 +01:00
80afa3d415 Preliminary testing done! I think it works!!! 2015-05-08 20:30:32 +01:00
96a1b4db9b added php script to auto-build the module index 2015-04-25 14:33:09 +01:00
58456834c6 begun modularisation process. Everything is broken! (no new build though.) 2015-04-11 18:30:01 +01:00