summaryrefslogtreecommitdiffstats
path: root/app/models/wiki_content.rb
Commit message (Collapse)AuthorAgeFilesLines
* Updates copyright for 2016.Jean-Philippe Lang2016-03-131-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/branches/3.1-stable@15240 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add support for multiple email addresses per user (#4244).Jean-Philippe Lang2015-01-171-3/+5
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13886 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Copyright update.Jean-Philippe Lang2015-01-111-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13872 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Removed unneeded :foreign_key option on belongs_to associations.Jean-Philippe Lang2014-10-221-4/+4
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13484 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged rails-4.1 branch (#14534).Jean-Philippe Lang2014-10-221-8/+9
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13482 e93f8b46-1217-0410-a6f0-8f06a7374b81
* fix typos of source comments at WikiContent modelToshi MARUYAMA2014-04-061-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13058 e93f8b46-1217-0410-a6f0-8f06a7374b81
* update copyright year (#15977)Toshi MARUYAMA2014-01-291-1/+1
| | | | | | Contributed by Daniel Felix. git-svn-id: http://svn.redmine.org/redmine/trunk@12736 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Use AR callbacks instead of observers (removed in Rails4) for notifications.Jean-Philippe Lang2013-07-141-0/+17
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12021 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Copyright for 2013 (#12788).Jean-Philippe Lang2013-01-121-1/+1
| | | | | | Patch by Daniel Felix. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11169 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Group events in the activity view (#12542).Jean-Philippe Lang2012-12-081-0/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10951 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Ability to delete a version from a wiki page history (#10852).Jean-Philippe Lang2012-10-231-0/+15
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10705 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Handle deleted wiki page versions (#10852).Jean-Philippe Lang2012-10-211-4/+12
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10684 e93f8b46-1217-0410-a6f0-8f06a7374b81
* set_table_name and set_locking_column are deprecated.Jean-Philippe Lang2012-04-271-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9549 e93f8b46-1217-0410-a6f0-8f06a7374b81
* WikiContent::Version#text may return ascii-8bit encoded string (#10590).Jean-Philippe Lang2012-04-061-6/+8
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9329 e93f8b46-1217-0410-a6f0-8f06a7374b81
* fix typo "RedMine" at app/models/wiki_content.rbToshi MARUYAMA2012-04-031-2/+2
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9316 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds #current_version? method to wiki content.Jean-Philippe Lang2011-11-281-0/+10
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7972 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Ruby 1.9: fix encoding error on wiki diffs (#4050)Toshi MARUYAMA2011-11-251-1/+3
| | | | | | | | | | | WikiDiff#to_html returns a string with ASCII encoding if the WikiJournal content has been Zlib compressed because Zlib::Inflate.inflate returns strings with ASCII encoding. Forcing the encoding to be UTF8 fixes this bug. Contributed by Moritz Breit. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7927 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove trailing white-spaces from WikiContent model source.Toshi MARUYAMA2011-05-161-15/+15
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5795 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Refactor: use :id instead of :page when linking to Wiki PagesEric Davis2010-10-271-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4296 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix wiki links on the activity page. #6746Eric Davis2010-10-261-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4294 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Makes the wiki sidebar editable (#5208).Jean-Philippe Lang2010-04-111-0/+4
| | | | | | The content of the wiki page named 'Sidebar' is rendered in the sidebar if it exists. Permission to edit protected pages is required to create this page. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3632 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Make sure users don't get notified for thing they can not view (#3589).Jean-Philippe Lang2009-12-131-0/+11
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3169 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds email notification on wiki changes (#413). It's disabled by default and ↵Jean-Philippe Lang2009-05-171-1/+5
| | | | | | can be enabled in application settings. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2749 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Follows r2720 (#3308).Jean-Philippe Lang2009-05-101-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2727 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds wiki comments length validation (#3308).Jean-Philippe Lang2009-05-101-0/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2720 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Display latest user's activity on account/show view.Jean-Philippe Lang2008-11-301-0/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2066 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds a permission 'view wiki edits' so that wiki history can be hidden to ↵Jean-Philippe Lang2008-09-131-2/+2
| | | | | | | | certain users (#1154). A migration automatically adds this permission to roles that were allowed to view wiki pages. git-svn-id: http://redmine.rubyforge.org/svn/trunk@1815 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Activity refactoring.Jean-Philippe Lang2008-07-271-0/+11
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@1701 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add an icon to each event on the activity view.Jean-Philippe Lang2008-04-121-0/+1
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@1342 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Activity enhancements:Jean-Philippe Lang2008-03-111-0/+4
| | | | | | | * overall activity view and feed added, link is available on the project list (#423, #494) * switch added on the project activity view to include subprojects (closes #530) git-svn-id: http://redmine.rubyforge.org/svn/trunk@1227 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added wiki annotate view. It's accessible for each version from the page ↵Jean-Philippe Lang2007-12-201-0/+8
| | | | | | | | history view. Slight style change: pre-wrap added on file/diff contents. git-svn-id: http://redmine.rubyforge.org/svn/trunk@1020 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed warning: toplevel constant User referenced by WikiContent::UserJean-Philippe Lang2007-12-151-2/+2
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@1000 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Merged 0.6 branch into trunk.Jean-Philippe Lang2007-08-291-1/+6
| | | | | | | | | Permissions management was rewritten. Some permissions can now be specifically defined for non member and anonymous users. This migration: * is irreversible (please, don't forget to *backup* your database before upgrading) * resets role's permissions (go to "Admin -> Roles & Permissions" to set them after upgrading) git-svn-id: http://redmine.rubyforge.org/svn/trunk@674 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Added page association on versioned WikiContentJean-Philippe Lang2007-06-171-0/+1
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@565 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Optimistic locking added for wiki edits.Jean-Philippe Lang2007-05-261-0/+1
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@545 e93f8b46-1217-0410-a6f0-8f06a7374b81
* wiki branch merged into trunkJean-Philippe Lang2007-03-101-0/+58
git-svn-id: http://redmine.rubyforge.org/svn/trunk@323 e93f8b46-1217-0410-a6f0-8f06a7374b81