ydkn / raki Goto Github PK
View Code? Open in Web Editor NEWWiki written in Rails
Wiki written in Rails
I receive "Nickname or email missing" with my OpenID 2 provider (using delegation). Though, it provides both values. Anyone else?
If I want to save a newly created page, I get a "GitRepo::GitBinaryError"
Entweder löschen nach anlegen vom repo oder hardcoded im code ausschließen.
The rename function has no clear way to change the namespace of a page.
Example: http://cthn.de/user/Main
If someone makes a commit in the git repository (not from the website), the website itself doesn't update it instantly. A button or something ales to update the website is needed.
the link behind "Mehr Informationen dazu unter Projekte/Wiki" in the right end corner of the template is dead - i suggest to set the link directly to "https://github.com/ydkn/raki"
Ich habe versucht mit "\index type=user" eine automatisch generierte Sammlung der Userpages anzulegen - leider ohne Erfolg. Wie ist denn die korrekte Syntax?
"This Page does not ex s ist. You can create it!" ;)
Go to login page and click at logo image.
Template calls page_exists? with name == nil
GitProvider#page_exists? calls GitProvider#exists? and here format_obj is called with nil parameter. At last format_obj try to replace spaces with underscores:
obj.gsub /\ /, '_'
This will raise "private method `gsub' called for nil:NilClass"
--- a/vendor/plugins/git_provider/lib/git_provider.rb
+++ b/vendor/plugins/git_provider/lib/git_provider.rb
@@ -97,6 +97,7 @@ class GitProvider < Raki::AbstractProvider
def exists?(dir, name, revision=nil)
check_repository
+ return false if name.nil?
name = format_obj(name)
revision = 'HEAD' if revision.nil?
cmd = "#{GIT_BIN} --git-dir #{@git_path} ls-tree -l #{shell_quote(revision)}:#{dir}"
Or better catch the error somewhere before.
The last step is to rename/copy the file config/permissions.yml.example to config/permissions.yml and change the permissions if you need to.
But there is no config/permissions.yml.example
YAML.load(File.read("#{Rails.root}/config/permissions.yml")) -> returns false
So following exception occurs: undefined method `[]' for false:FalseClass
/home/cthn/raki/vendor/plugins/file_authorizer/lib/file_authorizer.rb:25:in `authorized_to?'
/home/cthn/raki/lib/raki/authorizer.rb:43:in `authorized_to?'
/home/cthn/raki/app/models/page.rb:134:in `authorized?'
/home/cthn/raki/app/controllers/page_controller.rb:33:in `view'
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.