aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Wiki.php
Commit message (Collapse)AuthorAgeFilesLines
* minor cleanup and remove more double encodingMario Vavti2016-11-281-1/+1
|
* Make a git commit when a new page is created, recording who created the page.Andrew Manning2016-11-241-1/+12
|
* whitespace and minor fixesMario Vavti2016-11-231-1/+1
|
* silence headers already sent warning. issue #596Mario Vavti2016-11-231-6/+9
|
* whitespace and coding styleMario Vavti2016-11-231-8/+17
|
* whitespace cleanupMario Vavti2016-11-231-25/+25
|
* display wiki list on wiki landing page.Mario Vavti2016-11-221-18/+31
|
* Hide all content if no wiki is selected except for a message saying to ↵Andrew Manning2016-11-181-2/+3
| | | | choose one.
* Move page list back out to the side menu, but with the new page form below ↵Andrew Manning2016-11-181-0/+1
| | | | the new page button like the new wiki form. Disable text editing if viewer lacks edit permission, and change the tab label to Source instead of Edit in that case.
* wiki: simplify permission model, reduce duplicate calls to get the same ↵zotlabs2016-11-151-115/+102
| | | | channel info and permissions, return the owner permissions with the normal permission check (keeping all permission fetching in one place), rename the 'channel' variable to 'owner' in several places to identify this channel role more clearly as to the way it is being used in this module, update the deprecated call to proc_run (include/notifier) and make several notice messages translatable.
* Moved delete wiki button into new edit wiki form, opened by edit wiki icon ↵Andrew Manning2016-11-141-1/+0
| | | | in wiki list
* zidify wiki contentzotlabs2016-11-131-2/+2
|
* Moved save to bottom. Created Wiki Tools dropdown to be consistent, moved ↵Andrew Manning2016-11-121-0/+2
| | | | page tools in there as well as new page and new wiki
* deprecate/remove get_channel_by_nick() which is just a less generalised ↵zotlabs2016-11-081-11/+11
| | | | variant of channelx_by_nick()
* Add wiki download button to export the selected wiki repo to a zip fileAndrew Manning2016-10-221-0/+30
|
* Merge branch 'dev' of https://github.com/redmatrix/hubzilla into devMario Vavti2016-08-051-2/+3
|\
| * Parse bbcode when page loadsAndrew Manning2016-08-041-2/+2
| |
| * Convert select bbcode tags including [observer], [baseurl], [sitename]Andrew Manning2016-08-031-0/+1
| |
* | multi acl: port /wikiMario Vavti2016-08-041-4/+13
|/
* disable wiki if feature disabled, sync updates of delayed publish postsredmatrix2016-06-301-0/+5
|
* Merge remote-tracking branch 'upstream/dev' into wikiAndrew Manning2016-06-301-1/+18
|\
| * provide wiki as a feature (default is on so there aren't any surprises) and ↵redmatrix2016-06-291-0/+15
| | | | | | | | add to channel menu and profile tabs
| * fix for the rendering side of issue #412. We traditionally store allredmatrix2016-06-261-1/+1
| | | | | | | | | | | | | | | | | | | | "user generated" content with ENT_COMPAT encoding to reduce the attack vector for JS CSS exploits. This may present compatibility issues sharing wikis to platforms which do not provide such CSS protection. We can either decide that wikis are inherently insecure and filter them on render (with an associated performance penalty), or keep the existing method of filtering on store. I'm not making that choice. I'm merely fixing the obvious rendering issue in mono-platform viewing.
| * remove the app $a passed to profile_load, also add profile_load to mod_wiki ↵redmatrix2016-06-261-0/+2
| | | | | | | | which should fix issue #431
* | Replace homemade table of content generator with existing jQuery plugin. Now ↵Andrew Manning2016-06-301-4/+2
| | | | | | | | toc is linked to document headings.
* | Fixed bug with rendering table of contents upon page loadAndrew Manning2016-06-261-2/+3
| |
* | Also generate table of contents when loading the pageAndrew Manning2016-06-261-0/+1
| |
* | Added table of contents generator. Table is inserted wherever [toc] is ↵Andrew Manning2016-06-261-0/+1
|/ | | | encountered.
* A page name wrapped in double brackets is converted into a link to another ↵Andrew Manning2016-06-251-4/+11
| | | | page in the current wiki
* Post generation about new wiki is optional, default is NOT to post. Fixed ↵Andrew Manning2016-06-251-17/+14
| | | | bug in wiki creation. Added embed image dialog and album browser.
* Add formatted heading for revision comparison viewerAndrew Manning2016-06-201-1/+2
|
* Wiki page revision comparison tool with diff displayed in modal dialog. ↵Andrew Manning2016-06-171-2/+40
| | | | Leverages Diff class from http://code.stephenmorley.org/php/diff-implementation with license CC0 1.0 universal http://creativecommons.org/publicdomain/zero/1.0/legalcode
* Rename page feature added. Fixed bug in git commit function and other minor ↵Andrew Manning2016-06-151-4/+50
| | | | fixes.
* some work to provide propagation and honouring of the item_notshown flag.redmatrix2016-06-131-2/+2
|
* Apply purify_html to page content before preview and save to prevent ↵Andrew Manning2016-06-121-15/+3
| | | | JavaScript code injection.
* Revised permissions checks across API and enabled collaborative editing ↵Andrew Manning2016-06-081-79/+60
| | | | using the write_pages per-channel permission.
* Hide page history viewer when viewing sandboxAndrew Manning2016-06-051-1/+4
|
* Custom commit message available. Improved history viewer and feedback from ↵Andrew Manning2016-06-051-1/+10
| | | | revert buttons.
* Basic page reversion implemented. The revert button on the history view ↵Andrew Manning2016-06-051-0/+35
| | | | replaces the editor text but does not save the page.
* Page deletion implemented. Hide the delete button and disallow for Home page.Andrew Manning2016-06-041-4/+51
|
* Wiki and page filenames are abstracted from their displayed names. Special ↵Andrew Manning2016-06-041-20/+22
| | | | characters do not seem to break things.
* Created three distinct names for wiki and page that are suitable for URL, ↵Andrew Manning2016-06-041-6/+10
| | | | HTML, and raw display. Implemented in new wiki POST activity only so far.
* Major corrections to access control and page construction.Andrew Manning2016-06-021-102/+109
|
* Created page history widget to dynamically fetch and display the git commit ↵Andrew Manning2016-05-301-3/+33
| | | | history for wiki pages.
* Replaced wiki item record object field with ActivityStreams information. ↵Andrew Manning2016-05-301-6/+12
| | | | Wiki git repo path is stored in iconfig instead.
* Fixed bug in access control. Hide new wiki/page buttons if not channel owner.Andrew Manning2016-05-291-2/+0
|
* Remove Parsedown library files and remove references.Andrew Manning2016-05-291-2/+0
|
* Only show wiki delete control if channel ownerAndrew Manning2016-05-291-0/+1
|
* Hide page controls when not owner. Fixed some serious access control issues.Andrew Manning2016-05-291-22/+27
|
* Hacked Parsedown and Markdown to add class inline-code to <code> blocks for ↵Andrew Manning2016-05-291-5/+9
| | | | proper inline code rendering. Stopped using Parsedown even though Markdown is slower, hence extra delay when previewing pages.