Commit Graph

459 Commits

Author SHA1 Message Date
Starbeamrainbowlabs 103889d41c Bugfix: Push page path through makepathsafe when detecting redlinks 2016-12-26 18:30:29 +00:00
Starbeamrainbowlabs d17925a662 Improve security of PHP session variable by setting HttpOnly flag. Fixes #129. 2016-12-23 21:31:33 +00:00
Starbeamrainbowlabs c4796c57bd Add user preferences button next to username 2016-12-23 18:18:39 +00:00
Starbeamrainbowlabs fafaf397e9 Bugfix: Make password chainging work. 2016-12-23 18:06:04 +00:00
Starbeamrainbowlabs 7868028f2c Bugfix: Correct user data env population 2016-12-23 17:44:08 +00:00
Starbeamrainbowlabs 3358b8b100 Implement (untested) backend for password changing 2016-12-21 22:03:38 +00:00
Starbeamrainbowlabs 8f7a111b48 Improve the last edited message in the footer. 2016-12-17 20:59:04 +00:00
Starbeamrainbowlabs 51b37ee55b Begin creating a user preferences page! :D 2016-12-16 21:29:55 +00:00
Starbeamrainbowlabs 7ba0d62cc8 Update users object to support storing arbitrary data. 2016-12-12 18:38:26 +00:00
Starbeamrainbowlabs 16f5e8fa2c Improve settings configuration UI text 2016-12-11 19:28:03 +00:00
Starbeamrainbowlabs d4fe19d1ed Begin wiring up settings gui & create settings object generator. 2016-12-11 18:52:53 +00:00
Starbeamrainbowlabs d7a3f88aa9 Fix width sizing of more menu 2016-12-08 20:37:47 +00:00
Starbeamrainbowlabs 75e68e3f53 Create random action 2016-12-07 20:40:16 +00:00
Starbeamrainbowlabs ad0768000b Merge changes 2016-12-06 19:33:27 +00:00
Starbeamrainbowlabs f7d8afd12f FIll in settings that aren't present in peppermint.json. Fixes #83. 2016-12-06 19:17:11 +00:00
Starbeamrainbowlabs 1fe9ffd775 Make dynaimc page suggestor faster. Fixes #124. 2016-11-28 14:05:23 +01:00
Starbeamrainbowlabs 99030913fe Correct error messag when moving a page - fixes #121. 2016-11-25 19:34:20 +00:00
Starbeamrainbowlabs 743028ab10 Bugfix: Make sure images don't flow beyond edge of page 2016-11-24 07:17:36 +00:00
Starbeamrainbowlabs 388cab99d9 Send short datalist if dynamic page listing is turned on - fixes #122 2016-11-22 07:31:58 +00:00
Starbeamrainbowlabs e45e956301 Bugfix: Reset target attribute after submitting form with Alt + Enter 2016-11-20 13:32:49 +00:00
Starbeamrainbowlabs 46e89762af Bump version of feature-search 2016-11-20 13:28:35 +00:00
Starbeamrainbowlabs 44e2348ab2 Add initial dynamic page suggestions. Works better in Firefox than chrome - implements idea in #113 2016-11-20 13:24:35 +00:00
Starbeamrainbowlabs 9f6336b12d Add Alt + Enter support to the main search box 2016-11-20 11:40:24 +00:00
Starbeamrainbowlabs 312de4b341 Add tab indexing to file upload form. Fixes #120 2016-11-20 09:41:23 +00:00
Starbeamrainbowlabs f07cd96691 Bugfix: Tag link escaping at the bottom of every page 2016-11-06 20:51:32 +00:00
Starbeamrainbowlabs 0c625cd3da Bugfx: Correct new JS api. 2016-11-05 14:08:50 +00:00
Starbeamrainbowlabs b7f85b774e Improved recent changes links a bit. 2016-11-02 17:51:00 +00:00
Starbeamrainbowlabs e5d56badf3 Finish gui settings display. Currently it doesn't read them back in again. 2016-10-30 10:50:38 +00:00
Starbeamrainbowlabs fc87997f77 Create new JS snippet API 2016-10-30 10:06:46 +00:00
Starbeamrainbowlabs fb8bc60c44 Update build. 2016-10-25 21:13:11 +01:00
Starbeamrainbowlabs 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
Starbeamrainbowlabs b7b34bff16 Don'tr estore content if there's something in the editor already. 2016-10-22 16:48:21 +01:00
Starbeamrainbowlabs d3b6b1c54e Add 'smart save' feature to page creator.
Never again will people loose their work.
2016-10-22 16:43:53 +01:00
Starbeamrainbowlabs cb75928bd0 Bugfix: Fix undefined index in page view 2016-10-18 19:32:06 +01:00
Starbeamrainbowlabs 7a5ba69ea8 Update build. 2016-10-18 19:29:14 +01:00
Starbeamrainbowlabs 52569bbab2 Correct spelling in comment 2016-10-18 19:08:46 +01:00
Starbeamrainbowlabs 9caadadc66 Link images to their sources, properly handling short image urls. Fixes #111. 2016-10-18 19:08:34 +01:00
Starbeamrainbowlabs 53f4f2227d Trim the image url before short url detection. Fixes #108. 2016-10-18 19:08:12 +01:00
Starbeamrainbowlabs f267c9d5a0 Add header to upload file page 2016-10-18 19:07:44 +01:00
Starbeamrainbowlabs 4dffd8d1cd Bugfix: Always display the footer message at the bottom of the page. 2016-10-18 19:06:47 +01:00
Starbeamrainbowlabs 73a09e8365 Bump versions of modules. 2016-10-18 18:58:19 +01:00
Starbeamrainbowlabs f7a84c011b Bump version to v0.13-dev 2016-10-18 18:58:09 +01:00
Starbeamrainbowlabs 6780ce18bb Enforce day separator on recent changes page mroe strongly. Fixes #110. 2016-10-18 18:57:29 +01:00
Starbeamrainbowlabs 6476877c60 Attempted to implement Opensearch (#112), but it doesn't work :/ 2016-10-18 18:57:24 +01:00
Starbeamrainbowlabs 0ade04c3bb Set the expiry on the session cookie. Fixes #113.\nThis commit adds a new settings property, 'sessionlifetime', so we need to add in #83 now. 2016-10-18 18:57:14 +01:00
Starbeamrainbowlabs fe165bec3e Bugfix: Properly escape page names in the datalist 2016-10-18 18:57:14 +01:00
Starbeamrainbowlabs cbde150075 Bugfix: Add space between new dynamic theming classes 2016-10-18 18:57:14 +01:00
Starbeamrainbowlabs 2ea14bc4ec Add more themeing classes 2016-10-18 18:57:14 +01:00
Starbeamrainbowlabs 0982db9d6c Add extra themeing classes 2016-10-18 18:57:14 +01:00
Starbeamrainbowlabs 73945a4e9b Bump version 2016-10-18 18:57:14 +01:00
Starbeamrainbowlabs eb1a9f9103 Re-update version 2016-10-18 18:55:14 +01:00
Starbeamrainbowlabs c4b1b7c72d Bump version~! 2016-10-18 18:55:06 +01:00
Starbeamrainbowlabs 9f2efb2c02 Correct rendering of recent changes list. Fixes #106. 2016-10-18 18:54:55 +01:00
Starbeamrainbowlabs 06a3a4a19f Suggest appropriate filename when saving a generated preview image. Fixes #105. 2016-10-18 18:54:24 +01:00
Starbeamrainbowlabs 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
Starbeamrainbowlabs eace10e497 Cleanup: Delete rogue exit() call from raw action 2016-10-18 18:47:41 +01:00
Starbeamrainbowlabs 9883b58379 Bugfix: Clear up a bunch of issues with the recent history overhaul. 2016-10-18 18:46:41 +01:00
Starbeamrainbowlabs dfeb2a9399 Added history support to the raw action. 2016-10-18 18:38:34 +01:00
Starbeamrainbowlabs 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
Starbeamrainbowlabs d9b5bdfb3e Add debug idindex-show action. 2016-08-26 17:47:46 +01:00
Starbeamrainbowlabs 3ddd63909e Redirect the user if they have already logged in. Fixes #102. 2016-08-24 19:12:37 +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 9ef2cfce32 Bugfix: Fix edit button for pages that contain quotes. 2016-08-22 15:59:30 +01:00
Starbeamrainbowlabs 2861731c83 Fiddle with the file uploader to fix #100. 2016-08-22 14:56:34 +01:00
Starbeamrainbowlabs 215fe4461a Added broken bar character support to the image syntax 2016-08-22 11:14:49 +01:00
Starbeamrainbowlabs 4accd65ca8 Bump verion of parser 2016-08-22 09:40:37 +01:00
Starbeamrainbowlabs 181d7f95da Add more comment headings to parser 2016-08-22 09:40:17 +01:00
Starbeamrainbowlabs 31999e2627 Added the broken bar character (¦) as an alternative internal link / template splitting character. 2016-08-22 09:36:22 +01:00
Starbeamrainbowlabs ca89ccd33d Bugfix: Pageindex data for parent pages disappears when a child page is edited. Fixes #98. 2016-08-21 21:02:36 +01:00
Starbeamrainbowlabs 320c871495 Fix bug in new redirect code 2016-08-21 14:10:40 +01:00
Starbeamrainbowlabs 60b4bbf125 Allow unicode characters in page names. Fixes #95. 2016-08-21 13:12:28 +01:00
Starbeamrainbowlabs f6c9ff6101 Bum version of parser 2016-08-21 12:02:34 +01:00
Starbeamrainbowlabs 7589605c81 Bump version of feature-search 2016-08-21 10:59:41 +00:00
Starbeamrainbowlabs 6411ce9b2a Added wiki size to dev help. Fixes #97. 2016-08-20 13:50:48 +01:00
Starbeamrainbowlabs 84f6005db0 Added search time to searchr results page 2016-08-20 11:35:04 +01:00
Starbeamrainbowlabs 6c4c00b156 Added size + decode time for major indexes 2016-08-20 11:27:26 +01:00
Starbeamrainbowlabs 75cb609b82 Don't get Travis CI to test against PHP 5.5 2016-08-19 20:28:47 +01:00
Starbeamrainbowlabs d72cd50ba1 Bump moar module version numbers. 2016-08-19 19:56:37 +01:00
Starbeamrainbowlabs e3683f218f Bump versions of modules 2016-08-19 19:54:27 +01:00
Starbeamrainbowlabs 63d0bdd5d6 Allow hashes in redirects. Also fix bug in page moving. 2016-08-19 19:49:39 +01:00
Starbeamrainbowlabs 16076a8d8f Allow linking in internal links to subheadings. 2016-08-19 19:39:53 +01:00
Starbeamrainbowlabs 042479e6aa Tweaked display of result numbers. 2016-08-19 13:51:38 +01:00
Starbeamrainbowlabs aae9365f5a Refine appearance of search contexts. 2016-08-19 13:47:56 +01:00
Starbeamrainbowlabs 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
Starbeamrainbowlabs 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
Starbeamrainbowlabs 70f9c398cc Enchance internal link by adding page scanner. Fixes #87. 2016-08-19 10:59:49 +01:00
Starbeamrainbowlabs 12af85ee82 Made background of tags slightly lighter.
Fixes #91.
2016-08-19 10:13:57 +01:00
Starbeamrainbowlabs ade3d15bca Add class to search term highlighting. Fixes #92. 2016-08-19 10:06:21 +01:00
Starbeamrainbowlabs 27acc2420b Make sure that all files are stored in the data directories.
Fixes #89.
2016-08-19 10:00:03 +01:00
Starbeamrainbowlabs 3a7b9412ac Re-fix #84 2016-08-18 20:53:19 +01:00
Starbeamrainbowlabs c17830883d Allow the entry of tab characters into the edit page textarea. Fixes #84. 2016-08-18 19:38:40 +00:00
Starbeamrainbowlabs 7723c52d7e Naturally sort all tags list alphabetically. Fixes #88. 2016-08-18 19:05:16 +00:00
Starbeamrainbowlabs 5dea574825 Fix #86 by altering the default permissions on mkdir. 2016-08-18 13:07:00 +00:00
Starbeamrainbowlabs f21e305821 Bump version, ready for release! 2016-07-05 15:31:07 +01:00
Starbeamrainbowlabs ff4d065b1f Update readme & prepare for next beta version 2016-07-05 15:25:30 +01:00
Starbeamrainbowlabs b1417729e3 Update build 2016-06-26 20:33:46 +01:00
Starbeamrainbowlabs 21609fd61d Change revision display text 2016-06-26 20:32:51 +01:00
Starbeamrainbowlabs 1b2a70629f Bump version 2016-06-26 18:08:24 +01:00
Starbeamrainbowlabs 60856e4046 Fix login issues under new settings system, and tweak login bar a bit too 2016-06-22 13:04:04 +01:00
Starbeamrainbowlabs ad6a12da5b Finish initial settings rewrite 2016-06-22 09:13:32 +01:00
Starbeamrainbowlabs a2900d4fb2 Reindent comment 2016-06-15 19:38:34 +01:00
Starbeamrainbowlabs c76602f5de Document a bunch more stuff 2016-06-13 11:55:40 +01:00
Starbeamrainbowlabs 2716a9e86a Correct syntax error that broke travis CI 2016-06-13 06:41:50 +01:00
Starbeamrainbowlabs 77ffa2bcfc apidoc is awesome. document a bunch of stuff, more to go 2016-06-12 21:15:43 +01:00
Starbeamrainbowlabs fb0389576d Reversed the display order of page history. Fixes #80. 2016-06-08 18:06:16 +01:00
Starbeamrainbowlabs d1320aa467 Rename rchange functions. Fixes #74. 2016-06-08 17:41:30 +01:00
Starbeamrainbowlabs 78a3a866dd Bugfix: Fixed CSS content unicode character 2016-06-06 19:04:20 +01:00
Starbeamrainbowlabs 06653661a2 Improved robustness of page deleter and id system 2016-06-05 15:16:44 +01:00
Starbeamrainbowlabs 9f5e52d76f Make move action aware of page revisions 2016-06-05 14:35:09 +01:00
Starbeamrainbowlabs 0abc88e98e Squashed login status thingy 2016-06-05 12:26:16 +01:00
Starbeamrainbowlabs 618fa54423 Fixed #77 (Logins don't redirect...) 2016-06-04 20:27:14 +01:00
Starbeamrainbowlabs ff577f1ed8 Add history link to "More..." menu. 2016-06-04 20:19:41 +01:00
Starbeamrainbowlabs cb31dadb9f Linkify history list. 2016-06-04 20:16:30 +01:00
Starbeamrainbowlabs b168dbb811 Display revision details. Fixes #75 and #76. 2016-06-04 19:55:22 +01:00
Starbeamrainbowlabs 446ca98c23 Point page viewer at the correct filename based on the revision # 2016-06-04 19:13:40 +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 020b1ff32f Only show checkerboard background on mouse hover. 2016-06-04 13:35:34 +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 8f564194e8 Add transparent checkerboard pattern to preview image backgrounds 2016-06-04 11:59:35 +01:00
Starbeamrainbowlabs ab5fabe643 Fix centre alignment of preview images. 2016-06-04 11:22:57 +01:00
Starbeamrainbowlabs 8332cd955d Fix #73. Also put some image captions in their place. 2016-06-03 09:32:26 +01:00
Starbeamrainbowlabs 51d4749915 Implement UI for page history. 2016-06-03 09:16:16 +01:00
Starbeamrainbowlabs eb8daf2ce6 Initial history implementation. Save prev. revs of pages. 2016-06-03 08:45:17 +01:00
Starbeamrainbowlabs b8f680a2bf Added tag list text to tag list pages 2016-05-30 16:12:29 +01:00
Starbeamrainbowlabs b008ec608e Convert theme css to heredoc string 2016-05-30 15:53:02 +01:00
Starbeamrainbowlabs df7c36afcb Update help for parser and bump parser version 2016-05-30 12:35:23 +01:00
Starbeamrainbowlabs a075f8aa0a Implement short image links. Fixes #24. 2016-05-30 10:54:09 +01:00
Starbeamrainbowlabs 4953b6f1fa Add support for image captions. 2016-05-29 20:34:34 +01:00
Starbeamrainbowlabs a09d8c0115 Widen more menu 2016-05-01 15:17:49 +01:00
Starbeamrainbowlabs 7035fa66ec Add unified diff to edit conflict page + tweak line height 2016-05-01 15:06:27 +01:00
Starbeamrainbowlabs 380c9c0740 Fix display of last modified time. 2016-04-30 12:25:50 +01:00
Starbeamrainbowlabs 9e9ad02bd6 Added last modified time to bottom of page. Fixes #67. 2016-04-30 12:21:54 +01:00
Starbeamrainbowlabs 344bd76e1b Shrunk padding at bottom of page 2016-04-30 12:12:33 +01:00
Starbeamrainbowlabs c247616e04 Bumped version for dev work 2016-04-30 12:01:32 +01:00
Starbeamrainbowlabs 1bf49fe6ae Converted performance timeing comments and headers to use milliseconds 2016-04-30 12:00:48 +01:00
Starbeamrainbowlabs e86c67dcad Implement delayed indexing. Fixes #66. 2016-04-30 11:40:18 +01:00
Starbeamrainbowlabs c41c76688f Minor correction 2016-04-23 16:34:51 +01:00
Starbeamrainbowlabs b7defb58da Correct readme 2016-04-11 08:06:52 +01:00
Starbeamrainbowlabs 81d5e61cc7 Bump version 2016-04-10 11:50:35 +01:00
Starbeamrainbowlabs 6e92025963 update changelog 2016-04-10 11:49:50 +01:00
Starbeamrainbowlabs 70f944864c Update build 2016-04-10 11:36:57 +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 8352e0e1bc Add credits 2016-04-10 08:50:44 +01:00
Starbeamrainbowlabs 9b457bb5da Add option to optimise inline css. 2016-04-09 21:48:08 +01:00
Starbeamrainbowlabs 3961c4977a Implement conflict resolution. 2016-04-09 17:04:43 +01:00