Hi.. Dave

Thank you for the guidance above content was really helped. I have made changes 
as per below

- Added edit permission check if user has no permission displayed a 
notification saying "Changes will not persist"
- Added activity entry as "modified wiki page"
- Tested and no more modifications from anonymous user
- Moved checklist js code from master to page view
- Used only for wiki page content
- Added spam checker line

Here is my idea. Once we make this properly for wiki, We will make for other 
non-repeating things like ticket, blog, forum post. but threads are repeating 
We need to find a proper way to add checklist js sninppet. One easy way is we 
can add inside the loop of threads but there will be more js.

Please check latest test commit  
https://forge-allura.apache.org/u/shalithasuranga/allura/ci/test/

Thanks


---

** [tickets:#8230] Make checklists interactive**

**Status:** open
**Milestone:** unreleased
**Created:** Mon Sep 17, 2018 08:59 PM UTC by Dave Brondsema
**Last Updated:** Thu Oct 04, 2018 12:53 AM UTC
**Owner:** nobody


It would be nice if the new checklists from [#8085] were interactive too for 
people that have edit access.  The markdown-checklist package has some helper 
JS for it, but would take custom code to handle the ajax and do the update.  
Maybe use existing rest APIs for some artifact types, but everything (wiki 
page, ticket, blog post, comment, etc) will need to be handled specifically to 
hit the right endpoint and with the right data format.


---

Sent from forge-allura.apache.org because dev@allura.apache.org is subscribed 
to https://forge-allura.apache.org/p/allura/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://forge-allura.apache.org/p/allura/admin/tickets/options.  Or, if this is 
a mailing list, you can unsubscribe from the mailing list.

Reply via email to