aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Wiki.php
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Home page create with new wiki. URL redirects here when no page given. Fixed ↵Andrew Manning2016-05-291-3/+17
| | | | bug with author in wiki item table record.
* Git commit made for the page edits when the page is saved.Andrew Manning2016-05-291-2/+13
|
* Wiki pages can be saved.Andrew Manning2016-05-281-4/+40
|
* Show page content by default. Hide page controls where appropriate. Fix ↵Andrew Manning2016-05-281-2/+10
| | | | sandbox text format.
* Page content is loaded from the file on diskAndrew Manning2016-05-281-3/+11
|
* Wiki page list links work. File content is not yet loaded into the editor. ↵Andrew Manning2016-05-281-6/+4
| | | | Removed some logger calls.
* Wiki page list is fetched and the page widget is updatedAndrew Manning2016-05-281-4/+16
|
* Add new page to wiki and redirect to editor page.Andrew Manning2016-05-271-7/+52
|
* Check if wiki exists and redirect if it does notAndrew Manning2016-05-271-1/+6
|
* Delete wiki (in progress)Andrew Manning2016-05-241-7/+45
|
* List of wikis populates with links according to observer permissions.Andrew Manning2016-05-211-0/+15
|
* Successful new wiki git repo and item table recordAndrew Manning2016-05-211-11/+14
|
* Trying to fix wiki branch starting fresh from devAndrew Manning2016-05-211-0/+113