Commit Graph

237 Commits

Author SHA1 Message Date
Starbeamrainbowlabs 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
Starbeamrainbowlabs 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
Starbeamrainbowlabs eb137df2b4 Fix apidoc comments & update api docs 2017-06-28 09:45:13 +01:00
Starbeamrainbowlabs bfafaec564 Comment tweak 2017-06-26 12:22:47 +01:00
Starbeamrainbowlabs 7a326cb52f Add api status action for #138 2017-06-26 11:36:49 +01:00
Starbeamrainbowlabs 837cae618b Add avatars to admin list at bottom of page 2017-06-18 14:20:44 +01:00
Starbeamrainbowlabs 9abda2f323 Add link to avatar upload to user preferences page 2017-06-18 14:10:58 +01:00
Starbeamrainbowlabs 1d09c22f3a Add has_action method 2017-06-18 13:54:15 +01:00
Starbeamrainbowlabs 3ec7722453 Initial avatar display! More coming soon, including a button on the user preferences page to the upload page :P 2017-06-18 12:00:40 +01:00
Starbeamrainbowlabs 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
Starbeamrainbowlabs f72a12ee90 Remove that pesky path by using dongles and widgets! For #112. 2017-06-06 21:10:13 +01:00
Starbeamrainbowlabs 94378d8c31 Add str_replace_once to core 2017-05-20 15:58:55 +01:00
Starbeamrainbowlabs f6c9ac075a Fix email_user 2017-05-20 15:35:25 +01:00
Starbeamrainbowlabs c5dbe16222 Update MathJax CDN link 2017-05-13 16:17:17 +01:00
Starbeamrainbowlabs 2407d6e542 Improve makepathsafe() 2017-05-13 15:25:41 +01:00
Starbeamrainbowlabs 409eabd13c Upgrade the core y adding email_user and email_users functions to core 2017-05-12 22:25:05 +01:00
Starbeamrainbowlabs 477e065375 Add startsWith to core 2017-04-17 13:00:40 +01:00
Starbeamrainbowlabs 313bcc7edf Add method to return raw search result information as json 2017-03-23 21:13:20 +00:00
Starbeamrainbowlabs 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
Starbeamrainbowlabs 3c5815bf76 Prevent users from including attacks in their names. 2017-02-18 21:45:52 +00:00
Starbeamrainbowlabs 33b39f46d3 Link usernames in recent changesto their respective user pages 2017-02-12 09:55:37 +00:00
Starbeamrainbowlabs 6b2cdc354a Link own username to your user page 2017-02-11 15:43:18 +00:00
Starbeamrainbowlabs b200820562 Write a few core functions for.... user pages! Yeah, #132, you're up! 2017-02-11 12:01:49 +00:00
Starbeamrainbowlabs 3d728542fb More user preferences stuff for #128 2017-01-26 20:59:04 +00:00
Starbeamrainbowlabs 4e126710aa Correct subsection spelling error on help page. 2017-01-02 20:41:21 +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 855079b438 Put space into settings 2016-12-23 18:36:23 +00:00
Starbeamrainbowlabs c4796c57bd Add user preferences button next to username 2016-12-23 18:18:39 +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 7ba0d62cc8 Update users object to support storing arbitrary data. 2016-12-12 18:38:26 +00:00
Starbeamrainbowlabs 421521ab2b Add master settings filename to env, and describe each env entry in a comment 2016-12-11 19:03:06 +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 9f6336b12d Add Alt + Enter support to the main search box 2016-11-20 11:40:24 +00:00
Starbeamrainbowlabs 0c625cd3da Bugfx: Correct new JS api. 2016-11-05 14:08:50 +00:00
Starbeamrainbowlabs fc87997f77 Create new JS snippet API 2016-10-30 10:06:46 +00:00
Starbeamrainbowlabs 475ae9f805 [stack_trace] in -> calling 2016-10-25 15:39:18 +01:00
Starbeamrainbowlabs 7e662bc835 Add unknown file / line text 2016-10-25 14:57:25 +01:00
Starbeamrainbowlabs b97dfe7d4f Enhance stack_trace() method. 2016-10-25 14:47:53 +01:00
Starbeamrainbowlabs ace3eb61ee Bugfix: Undefined variable in page filename constructor 2016-10-22 16:41:04 +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 9883b58379 Bugfix: Clear up a bunch of issues with the recent history overhaul. 2016-10-18 18:46:41 +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 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 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 60b4bbf125 Allow unicode characters in page names. Fixes #95. 2016-08-21 13:12:28 +01:00
Starbeamrainbowlabs 6411ce9b2a Added wiki size to dev help. Fixes #97. 2016-08-20 13:50:48 +01:00
Starbeamrainbowlabs 6c4c00b156 Added size + decode time for major indexes 2016-08-20 11:27:26 +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 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 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 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 0abc88e98e Squashed login status thingy 2016-06-05 12:26:16 +01:00
Starbeamrainbowlabs 1bf49fe6ae Converted performance timeing comments and headers to use milliseconds 2016-04-30 12:00:48 +01:00
Starbeamrainbowlabs bb10011606 Polyfill getallheaders() 2016-04-10 11:13:24 +01:00
Starbeamrainbowlabs 9b457bb5da Add option to optimise inline css. 2016-04-09 21:48:08 +01:00
Starbeamrainbowlabs 881a5ff345 Fix issue in editor with blockquotes. 2016-04-08 20:13:11 +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 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 b84e4cdadb Add help section on math expression rendering 2016-04-03 17:56:42 +01:00
Starbeamrainbowlabs ba3b3609dd Implement math expression parsing. Closes #61. 2016-04-03 17:49:38 +01:00
Starbeamrainbowlabs f39ea4e138 Rewrite all function comments in the core code. 2016-03-26 15:55:50 +00:00
Starbeamrainbowlabs a80a2b677f Add debug action for administrators. 2016-01-23 15:25:36 +00:00
Starbeamrainbowlabs 7cdd083ed6 Shink printable logo. Fixes #51. 2016-01-23 14:21:05 +00:00
Starbeamrainbowlabs e1f5283785 Finish revamp of help page. 2015-12-21 14:39:56 +00:00
Starbeamrainbowlabs 9e63f0f64b Lots of small stability fixes. 2015-12-21 14:35:27 +00:00
Starbeamrainbowlabs 505b5319f0 Revamp help page. Currenty untested.
I will test it as soon as I have time.
2015-12-21 08:45:38 +00:00
Starbeamrainbowlabs f0e18ebf64 Further improvements to all pages listing 2015-12-16 19:05:08 +00:00
Starbeamrainbowlabs 71131f973f Finish bugfixing #35 - search has been implemented at last! 2015-12-05 18:59:23 +00:00
Starbeamrainbowlabs 29399a379c Bugfix: check whether file is directory unpon pageindex recreation. Fixes #42. 2015-12-05 18:34:50 +00:00
Starbeamrainbowlabs b139f204b4 Debug the pageindex regenerator. Fixes #41. 2015-11-14 21:24:57 +00:00
Starbeamrainbowlabs 10da7a3d60 Fix #39. 2015-11-14 15:48:30 +00:00
Starbeamrainbowlabs 1cca9a9f73 Redirect to the last page viewed. Fixes #38. 2015-11-14 15:41:28 +00:00
Starbeamrainbowlabs 3711f10e5c Add option to require login before viewing pages. Currently halfway through #38. 2015-11-14 15:22:35 +00:00
Starbeamrainbowlabs 1f68038636 Attempt to detect associated files when rebuilding the pageindex. Implements #27. 2015-11-12 11:03:41 +00:00
Starbeamrainbowlabs 9c1b5faf28 Switch over another stray path in the core to the new system 2015-11-12 10:01:21 +00:00
Starbeamrainbowlabs 6eea1700d6 Delete page names from the id index upon page deletion. 2015-11-11 19:24:40 +00:00
Starbeamrainbowlabs 43d15f9212 Update the idindex when moving a page. Fixes #33. 2015-11-11 18:49:08 +00:00
Starbeamrainbowlabs 97391466ed Re-added mb_stripos_all. How on earth did THAT get removed?! 2015-11-09 07:30:00 +00:00
Starbeamrainbowlabs e7dfda5f75 Umm I forgot to add to the globals list... :P 2015-11-09 07:25:28 +00:00
Starbeamrainbowlabs 0f18dcdc82 Add better errors by phperror.nnet 2015-11-09 07:08:37 +00:00
Starbeamrainbowlabs 8425660d6b Update the core to use ->storage_prefix. Currently untested. 2015-11-06 20:11:41 +00:00
Starbeamrainbowlabs af49ad610e More preliminary work on the new variable. Still non-functional. 2015-11-05 21:05:07 +00:00
Starbeamrainbowlabs 14c389810d finish merge 2015-11-05 10:01:13 +00:00
Starbeamrainbowlabs d12271ac3e Merge branch 'master' of github.com:sbrl/Pepperminty-Wiki 2015-11-05 10:00:14 +00:00
Starbeamrainbowlabs 22dad4cab3 Begin work on access control. Add variable and a setting, but they aren't used yet. 2015-11-05 10:00:04 +00:00