jabbett / stetson Goto Github PK
View Code? Open in Web Editor NEWThe elegant wiki for small enterprises
License: GNU General Public License v3.0
The elegant wiki for small enterprises
License: GNU General Public License v3.0
Sisyphus-js for automatically storing form content in browser storage. Add a message at top of form to notify user that unsaved content was restored. Give option to clear away unsaved content (if truly unwanted).
Probably should have this in place first, then the paste from clipboard feature will be possible.
Rouge gem integrates with redcarpet
Helpful article:
http://www.tom-meehan.com/posts/how-i-get-this-awesome-syntax-highlighting-using-redcarpet-and-rouge
Every version is viewable. (No diff or revert yet.)
Once resolved, let user undo (unresolve).
When user visits page anew, unresolved comments won't appear.
show to right of body field.
hide on narrow screens
[[The Page Name]]
should yield a link to /pages/the_page_name
Found this code from the irwi project that matches link structure and replaces with link:
IRWI_LINK_REGEXP =
/\[\[
(?:([^\[\]\|]+)\|)?
([^\[\]]+)
\]\]
(\w+)?/xu
def wiki_linkify(str)
str.gsub IRWI_LINK_REGEXP do |_m|
text = "#{Regexp.last_match(2)}#{Regexp.last_match(3)}"
link, anchor = Regexp.last_match(1) ? Regexp.last_match(1).split('#', 2) : Regexp.last_match(2)
"<a href=\"#{wiki_link link}#{'#' + anchor if anchor}\">#{text}</a>"
end.html_safe
end
![Uploading...]()
Add client_side_validators
gem, some model validators.
Thought I'd set up the pundit gem, but this is the only "controlled" action in the system right now. Will save pundit for later.
seeds.rb
will create a "root user" ([email protected]) that will be the creator of the home page.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.