MediaWiki API result

This is the HTML representation of the JSON format. HTML is good for debugging, but is unsuitable for application use.

Specify the format parameter to change the output format. To see the non-HTML representation of the JSON format, set format=json.

See the complete documentation, or the API help for more information.

{
    "batchcomplete": "",
    "continue": {
        "gapcontinue": "SCSI",
        "continue": "gapcontinue||"
    },
    "query": {
        "pages": {
            "1646": {
                "pageid": 1646,
                "ns": 0,
                "title": "Redmine",
                "revisions": [
                    {
                        "contentformat": "text/x-wiki",
                        "contentmodel": "wikitext",
                        "*": "= Redmine 2.x or 3.x and Ubuntu 14.04  =\n\n== Upgrade ==\n* see: http://www.redmine.org/projects/redmine/wiki/RedmineUpgrade\n\nFirst make a '''backup of both database and redmine dir'''. Then, if you downloaded Remine with SVN this boils down to\n cd /path/to/redmine; \\\n snv update; \\\n bundle update; \\\n bundle exec rake db:migrate RAILS_ENV=production; \\\n bundle exec rake redmine:plugins:migrate RAILS_ENV=production; \\\n bundle exec rake tmp:cache:clear tmp:sessions:clear RAILS_ENV=production; \\\n chown -R www-data:www-data .\n\nVoil\u00e0 ;-)\n\n== Install Ruby, Rails and Redmine manually with rvm, redmine sources for apache2 ==\n'''This is the recommended method for Ubuntu'''\n\nAfter having a lot of problems installing ruby and switching between versions with the ubuntu packaging system (see [[#Do_it_the_Ubuntu_way_.28debs_and_ppa.29|Do it the Ubuntu way (debs and ppa)]], I decided to go with rvm, the standard installation script for ruby. Also I decided to use the stock redmine installation.\n\nFor installing ruby I followed the instructions here:\n* https://gorails.com/setup/ubuntu/14.04\n\nOther helpful sites for dealing with ruby are:\n* https://www.ruby-lang.org/de/documentation/ and\n* http://rvm.io/\n\n\n'''Mainly I followed the installation instructions at [http://www.redminecrm.com/boards/4/topics/448-installing-redmine-2-5-passenger-nginx-rvm-on-ubuntu-12-04-lts-and-14-04-lts RedmineCRM]''' but I used apache2 and the actual version of redmine:\n* http://www.redminecrm.com/boards/4/topics/448-installing-redmine-2-5-passenger-nginx-rvm-on-ubuntu-12-04-lts-and-14-04-lts\n\nBefore you start, it might be wise to create a swap file first, because the compilation task for apache mod_passenger can take a lot of memory:\n* https://www.digitalocean.com/community/tutorials/how-to-add-swap-on-ubuntu-14-04\n\n----\nFirst make a '''backup of redmine''' (this was an Ubuntu-way-installation before, your directories might differ):\n cp -av /etc/redmine /etc/redmine.bak\n cp -av /var/lib/redmine /var/lib/redmine.bak\n cp -av /usr/share/redmine /usr/share/redmine.bak\n # Backup your database:\n # mysqldump / psql --dumpall ... > redmine.sql # you should know how to this \n\nThen we will '''uninstall all packages concerning ruby''', rails and redmine from the system ...\n apt-get remove --purge ruby*\n\n... and cleanup directories:\n /usr/local/bin # check this for leftovers of manual installations of rake, ri, rdoc ...\n rm -rf /var/lib/gems\n \n\nThen we will '''download the latest redmine version''' and afterwards setup ruby and Co. You need subversion installed for this method, but you can also download redmine with wget and unzip it:\n cd /srv/www\n svn co http://svn.redmine.org/redmine/branches/3.1-stable redmine\n\nSet permissions for your redmine installation and create necessary files:\n\n cd /srv/wwww/redmine\n mkdir public/plugin_assets\n chown -R www-data:www-data files log tmp public/plugin_assets config.ru\n chmod -R 755 files log tmp public/plugin_assets\n [ -f Gemfile.local ] || touch Gemfile.local\n chmod 644 Gemfile.local\n chown www-data.www-data Gemfile.local\n\nNow '''copy over necessary files from your old redmine installation'''\n\n rm files/delete.me\n cp -av /var/lib/redmine.bak/default/files files\n cp -av /usr/share/redmine.bak/public/themes/* public/themes/.\n cp -av /usr/share/redmine.bak/plugins/* plugins/.\n cp -av /etc/redmine.bak/default/database.yml config/.\n chmod 644 config/database.yml\n\n\n'''Setup ruby''':\n sudo su \n # You should consider install ruby not as root, but a special user\n # and add that user to the group rvm\n cd ~\n apt-get install libgdbm-dev libncurses5-dev automake libtool bison libffi-dev\n gpg --keyserver hkp://keys.gnupg.net --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3\n curl -L https://get.rvm.io | bash -s stable\n source /etc/profile.d/rvm.sh\n rvm install 2.2.3\n rvm use 2.2.3 --default\n ruby -v\n #> ruby 2.2.3p173 (2015-08-18 revision 51636) [x86_64-linux]\n\nTake care for Gem preferences and install the bundler:\n echo \"gem: --no-ri --no-rdoc\" > ~/.gemrc\n gem install bundler\n\n'''Install rails''':\n gem install rails -v 4.2.4\n \nNext we prepare setting up '''database connection''' (postgres or mysql, also see: https://gorails.com/setup/ubuntu/14.04)\n\nInstall the database gems for postgresql ... (see section [[#Postgres]]):\n gem install pg\n gem install activerecord-postgresql-adapter\n bundle install\n\n... or mysql (see section [[#Mysql]]):\n gem install mysql2\n \nTime to prepare the installation for '''apache2 mod_passenger''':\n gem install passenger --no-ri --no-rdoc\n\nNow you can start the compilation and configuration script for mod_passenger for apache2. The '''compilation script ''passenger-install-apache2-module''''' tells you about everything you need to do (installing additional devs, the lines for the apache configuration file. \n\nIt is very likely that you have to install the development files first:\n apt-get install apache2-threaded-dev libaprutil1-dev libapr1-dev\n\nNo start the script ... which can take some time ... :\n passenger-install-apache2-module\n\n... so go and get a green tee or make your dishes ;-) You are almost there.\n\nThe script output (which you should read carefully!) tells you for example add the corresponding lines from the compilation script output in your '''virtual hosts file''':\n   LoadModule passenger_module /usr/local/rvm/gems/ruby-2.2.3/gems/passenger-5.0.21/buildout/apache2/mod_passenger.so\n   <IfModule mod_passenger.c>\n     PassengerRoot /usr/local/rvm/gems/ruby-2.2.3/gems/passenger-5.0.21\n     PassengerDefaultRuby /usr/local/rvm/gems/ruby-2.2.3/wrappers/ruby\n   </IfModule>\n\nThen you have also to alter the section for ruby at the beginning of my virtual hosts file to point to the right gems directory:\n SetEnv GEM_HOME /usr/local/rvm/gems/ruby-2.2.3/\n\n\nInstall all necessary dev-packages for compiling your database connection and e.g. rmagick (see later sections):\n\nNow install configure the '''database.yml''' and then change to your redmine directory. Pay attention: if you have some plugins, which need special treatment (e.g. special gems), you probably have to resolve this issues before:\n cd /srv/www/redmine\n bundle install\n\n'''Migrate your database and plugins''':\n cd /srv/www/redmine\n bundle exec rake db:migrate RAILS_ENV=production\n bundle exec rake redmine:plugins RAILS_ENV=production\n\nGenerate a secret token:\n bundle exec rake generate_secret_token \n\n'''Restart redmine ''' (because we user passenger)\n touch tmp/restart.txt # IMPORTANT !!!\n service apache2 start\n\nNow everything should work ;-) As I said before, with this method I did not have any single problem. With the next method, using the debian packages I had a lot of trouble. This is sad, because I like the debian packaging.\n\n== Do it the Ubuntu way (debs and ppa) ==\n\n'''NOT RECOMMENDED'''\n\n'''[UPDATE]: this might be a pain when it comes to update ruby, rails or redmine periodically. So I decided to go with rvm (see [[#Install_Ruby.2C_Rails_and_Redmine_manually_with_rvm.2C_redmine_sources_for_apache2|section above]]) which led me to a fully functional redmine version within an hour.'''\n\nI also had to look into some logfiles, but it was less problematic than dealing with the ubuntu packages. Plus: I could choose the ruby, rails and redmine version I liked without any hassle.\n--[[User:Apos|Apos]] ([[User talk:Apos|talk]]) 19:31, 25 October 2015 (CET)\n\n(Credits goto an excerpt from https://gist.github.com/subchen/9a78c399ec150544ac4d / THANKS)\n\n----\n\nsee http://brightbox.com/docs/ruby/ubuntu/\n\nruby 1.9.3\n\n sudo apt-get install ruby\n sudo apt-get install ruby-dev # THIS IS IMPORTANT FOR SOME GEMS TO INSTALL !!!\n\nruby 2.1\n\n sudo apt-get install python-software-properties\n sudo apt-add-repository ppa:brightbox/ruby-ng\n sudo apt-get update\n sudo apt-get install ruby2.1 \n sudo apt-get install ruby2.1-dev # THIS IS IMPORTANT FOR SOME GEMS TO INSTALL !!!\n\nswitch to 2.1\n\n sudo update-alternatives --remove ruby /usr/bin/ruby2.1\n sudo update-alternatives --remove irb /usr/bin/irb2.1\n sudo update-alternatives --remove gem /usr/bin/gem2.1\n\nOR (check your version of ruby, rdoc and gem!)\n\n sudo update-alternatives --remove ruby /usr/bin/ruby1.9.1\n sudo update-alternatives --remove ruby /usr/bin/rdoc1.9.1\n sudo update-alternatives --remove gem /usr/bin/gem1.9.1\n \nThen update the alternatives to ruby 2.1\n\n sudo update-alternatives \\\n      --install /usr/bin/ruby ruby /usr/bin/ruby2.1 50 \\\n      --slave /usr/bin/irb irb /usr/bin/irb2.1 \\\n      --slave /usr/bin/rake rake /usr/bin/rake2.1 \\\n      --slave /usr/bin/gem gem /usr/bin/gem2.1 \\\n      --slave /usr/bin/rdoc rdoc /usr/bin/rdoc2.1 \\\n      --slave /usr/bin/testrb testrb /usr/bin/testrb2.1 \\\n      --slave /usr/bin/erb erb /usr/bin/erb2.1 \\\n      --slave /usr/bin/ri ri /usr/bin/ri2.1\n\n update-alternatives --config ruby\n update-alternatives --display ruby\n\n[...]\n\nIf something goes wrong with your ruby version you can manually set the links for ruby:\n\n ln -s /usr/bin/ruby2.1 /usr/bin/ruby\n ln -s /usr/bin/irb2.1 /usr/bin/irb\n ln -s /usr/bin/rake2.1  /usr/bin/rake\n ln -s /usr/bin/gem2.1  /usr/bin/gem\n ln -s /usr/bin/rdoc2.1  /usr/bin/rdoc\n ln -s /usr/bin/testrb2.1  /usr/bin/testrb\n ln -s /usr/bin/erb2.1  /usr/bin/erb\n ln -s /usr/bin/ri2.1  /usr/bin/ri\n\n=== Update your apache config  ===\n\nThe virtual host file must point to the right ruby version:\n\nsee: [[Apache_2.4]]\n\n=== Update and install your bundle ===\n\nThen update and install your libs necessary to run redmine - this will update and install all neccesary dependencies:\n\n sudo cd /usr/share/redmine\n\nThis is alway necessary if you switch to a new ruby version!:\n sudo gem install bundler\n\nInstall all your bundles:\n sudo bundle install\n\n\nThis might give you some faults, you have to resolve and google for!\n\ne.g. an error for the ''rmagick gem'', after googling I resolved that with:\n\n apt-get install libmagickwand-dev\n\nThen again to check, if everything is in place:\n\n vim Gemfile.local\n \n [...]\n gem 'rmagick'\n\n sudo bundle install\n\nProbably you need to manually create a local Gemfile (see next section about Postgresql).\n\n== Mysql == \nThis is the only thing you should do:\n gem install mysql2\n\n== Postgres == \nIf you are using postgresql for database server:\n\nInstall development files (gcc is needed for compiling pg) :\n apt-get install build-essential bison openssl libreadline6 libreadline6-dev curl git-core zlib1g zlib1g-dev libssl-dev libyaml-dev libxml2-dev autoconf libc6-dev ncurses-dev automake libtool\n\nOn a 64bit environment there could be come the following error:\n /usr/include/ruby-2.0.0/ruby/ruby.h:24:25: fatal error: ruby/config.h: No such file or directory\n\nThen you have to symlink the library path this way:\n mkdir /usr/include/i386-linux-gnu/\n ln -s /usr/include/ruby-2.0.0 /usr/include/i386-linux-gnu/ruby-2.0.0\n\n\nInstall the Postgres PPA for the development files:\n http://www.postgresql.org/download/linux/ubuntu/\n\nAnd the development files for your installed postgresql version:\n apt-get install postgresql-server-dev-PG_VERSION\n # e.g.: postgresql-server-dev-9.3\n apt-get install libdbd-pg-ruby\n apt-get install ruby2.0-dev:i386\n\nCreate a local Gemfile:\n cd /usr/share/redmine\n vim Gemfile.local\n \n # Gemfile.local\n gem 'activerecord-postgresql-adapter'\n gem 'pg'\n\nThen the add the following gems\n cd /usr/share/redmine\n gem install pg\n gem install activerecord-postgresql-adapter\n bundle install\n\n== Apache 2.4 ==\n\nIn your virtual hosts section include this:\n\n\n [...] \n \n ServerAlias projects.yourserver.com\n \n #  If you updated to ruby 2.1.0 - also for others!\n SetEnv GEM_HOME /usr/lib/ruby/gems/2.1.0\n\n DocumentRoot /usr/share/redmine/public\n  <Directory /usr/share/redmine/public>\n    Options -MultiViews\n    AllowOverride All\n    Require all granted\n </Directory>\n\n  # Possible values include: debug, info, notice, warn, error, crit,\n  # alert, emerg.\n  LogLevel warn\n\n  CustomLog /var/log/apache2/access.log combined\n  ErrorLog /var/log/apache2/error.log\n\n  ServerSignature Off\n \n  [...]\n\n= Redmine 2.x and Ubuntu 12.04  =\nMan problems mentioned are solved using a recent version of redmine.\n\nTogether with [Zentyal] you can use [LDAP] to authenticate users of a ''Samba4'' domain.\n\n[ UPDATE --[[User:Apos|Apos]] ([[User talk:Apos|talk]]) 15:54, 16 September 2015 (CEST) ]\nDo not use this ppa with Ubuntu 14.04 LTS because it updates Redmine from the stable 2.4.2 version to the 2.5.x which - my case - produced trouble, trouble, trouble.\n\nUse the ppa for redmine on ubuntu 12.04 LTS:\n\n* https://launchpad.net/~ondrej/+archive/redmine\n\nThen use this guide:\n\n* http://www.redmine.org/projects/redmine/wiki/HowTo_Install_Redmine_in_Ubuntu\n\n== Plugins ==\n\n# Create the directory /usr/share/redmine/'''plugins'''\n# Put plugins into this directory\n# run the as explaned in http://www.redmine.org/projects/redmine/wiki/Plugins\n rake redmine:plugins:migrate RAILS_ENV=production\n\n== LDAP with Zentyal ==\n--[[User:Apos|Apos]] ([[User talk:Apos|talk]]) 10:27, 2 November 2013 (CET)\n\n'''>>> See [[Zentyal#LDAP|LDAP with Zentyal 3.2]].'''\n\n<gallery widths=800px heights=400px perrow=2>\nImage:Redmine LDAP Zentyal.png |Redmine LDAP settings\n</gallery>\n\n= Redmine 1.x on Debian Squeeze (6.x) =\n== Redmine Bugs ==\n=== width of attached images ===\n* [http://www.redmine.org/issues/949 http://www.redmine.org/issues/949]\n\n vim ./public/stylesheets/application.css +740\n <nowiki>#content .wiki img {</nowiki>\n            max-width: 98%;\n }\n \n\nPossible other solutions:\n\n* [http://snippets.dzone.com/posts/show/1173 Resizing images using RMagick]\n* [https://github.com/lest/redmine_thumbnails redmine_thumbnails]\n\n=== Fixing a bug using svn ===\n vim /usr/share/redmine/lib/redmine/scm/adapters/subversion_adapter.rb\n <nowiki># SVN executable name</nowiki>\n -        SVN_BIN = \"svn\"\n +        SVN_BIN = \"/usr/bin/svn\"\n \n\n== Installation mit Postgresql und Apache2 mod_passenger ==\nPrerequisites:\n\n* postgresql server (8.4) installation\n* apache2 with virtual hosts\n\nDebian will configure database and permissions automatically! Be prepared to have an database password for postgres handy.\n\n=== Redmine 1.1.x ===\n apt-get install redmine redmine-pgsql ruby-git libapache2-mod-passenger librmagick-ruby\n \nUpdate to the most recent version\n\n aptitude -t squeeze-backports install redmine\n\n=== Redmine 1.3.x ===\nOr via testing:\n\n root@server:~#  vim /etc/apt/sources.list.d/testing.list\n\n deb http://yourmirror/debian/mirror/ testing main non-free contrib\n deb http://security.debian.org/ testing/updates main contrib non-free\n deb-src http://security.debian.org/ testing/updates main contrib non-free\n\nand \n\n root@server:~# vim /etc/apt/preferences.d/pinning \n\n Package: *\n Pin: release n=squeeze\n Pin-Priority: 900\n \n Package: *\n Pin: release a=testing\n Pin-Priority: 80\n\nthen \n root@server:~# apt-get update &&  aptitude -t testing install redmine redmine-pgsql ruby-git libapache2-mod-passenger librmagick-ruby\n\n\n=== Trouble after install ===\n==== Error with bundler ====\n cd /usr/share/redmine\n gem install bundler\n\n==== Error with Gemfile.lock ====\nCreate the file:\n cd /usr/share/redmine\n touch Gemfile.lock\n chmod 664 Gemfile.lock\n\nAnd fill it with:\n GEM\n  remote: https://rubygems.org/\n  specs:\n \n PLATFORMS\n  ruby\n \n DEPENDENCIES\n\n=== Anyway ===\n\nAlter permissions.\n\n'''This is NOT necessary in ubuntu 12.04 and redmine 2.x.'''\n\n cd /usr/share/redmine/\n mkdir files\n chown -R www-data:www-data public\n chown -R www-data:www-data files\n chmod 777 files\n\n== Apache virtual host ==\n SERVERIP=\"1.2.3.4\"\n MAIL=\"webmaster@mydomain.com\"\n DOMAIN=\"projects.example.com\"\n DOCPATH=\"/usr/share/redmine/public\"\n SSLPATH=\"/var/customers/ssl\"\n CUSTOMER=\"companyname\"\n CHAINFILE=\"/where/is/ssl/CAcert_chain.pem\"\n \n <nowiki>cat << EOF > ${DOMAIN}.conf</nowiki>\n <nowiki><VirtualHost ${SERVERIP}:443></nowiki>\n   ServerAdmin webmaster@${DOMAIN}\n   ServerName  www.${DOMAIN}\n   ServerAlias ${DOMAIN}\n \n   DocumentRoot ${DOCPATH}\n   <nowiki><Directory ${DOCPATH}></nowiki>\n     Options -MultiViews\n     allow from all\n   <nowiki></Directory></nowiki>\n   <nowiki># Possible values include: debug, info, notice, warn, error, crit,</nowiki>\n   <nowiki># alert, emerg.</nowiki>\n   LogLevel warn\n \n   CustomLog /var/log/apache2/access.log combined\n   ErrorLog /var/log/apache2/error.log\n \n   ServerSignature Off\n \n   SSLEngine on\n   SSLCertificateFile ${SSLPATH}/${CUSTOMER}/${DOMAIN}.cert\n   SSLCertificateKeyFile ${SSLPATH}/${CUSTOMER}/${DOMAIN}.key\n   SSLCertificateChainFile ${CHAINFILE}\n \n <nowiki></VirtualHost></nowiki>\n EOF\n\n== Project Migration ==\nActually it is not possible to migrate projects from one to another Redmine instance. But there are efforts:\nDecussion here: http://www.redmine.org/issues/3647\n* https://github.com/delatbabel/redmine-migrator\n\n== Dealing with Plugins ==\n=== Mylyn Connector for Eclipse and Redmine Plugin ===\n\n* General information can be found here - also for newer Redmine versions: [http://www.redmine.org/projects/redmine/wiki/HowTo_Mylyn]\n* I am using currently the Redmine Plugin from here: [https://github.com/joaopedrotaveira/redmine_mylyn_connector] with Redmine 3.2 and the updated Eclipse Mylin Plugin from here: [https://github.com/ljader/redmine-mylyn-plugin] with Eclipse 4.4 (Luna). For the latter use the LATEST stable release [https://github.com/ljader/redmine-mylyn-plugin/releases/tag/release-0.4.0.201602071631]!\n\nI could NOT get this working with Eclipse 4.5 (Mars) yet.\n\n----\nOld and not working any more for newer versions of Eclipse (> Luna / 4.4) and Redmine ( 2.x and older):\n* [http://sourceforge.net/apps/wordpress/redmin-mylyncon/ http://sourceforge.net/apps/wordpress/redmin-mylyncon/]\n1. Install the Redmine Mylin Connector using the update site:\n* http://redmin-mylyncon.sourceforge.net/update-site/N/ \n \n2. Install the Redmine Plugin\n cd /usr/share/redmine\n ruby script/plugin install git://redmin-mylyncon.git.sourceforge.net/gitroot/redmin-mylyncon/redmine-mylyn-connector\n <nowiki># Update</nowiki>\n <nowiki># ruby script/plugin install --force git://redmin-</nowiki>mylyncon.git.sourceforge.net/gitroot/redmin-mylyncon/redmine-mylyn-connector\n\n=== Timesheet Extension ===\n* [https://github.com/nicStuff/redmine_timesheet_extensions/wiki/Plugin-description-and-instructions https://github.com/nicStuff/redmine_timesheet_extensions/wiki/Plugin-description-and-instructions]\n* [https://github.com/nicStuff/redmine_timesheet_extensions https://github.com/nicStuff/redmine_timesheet_extensions]\n\nDownload the files (searching the \u201eDownloads\u201c link) onto the server with\n\n links2 https://github.com/nicStuff/redmine_timesheet_extensions\n\n=== AFTER installation of plugins ===\n\nUpdate the database\n\n cd /usr/share/redmine\n rake db:migrate_plugins RAILS_ENV=production\n\nand for newer version of Redmine (> 2.2)\n rake redmine:plugins:migrate RAILS_ENV=production\n\nIf you have problems use\n rake db:migrate_plugins RAILS_ENV=production '''--trace'''\n\n== Some Basic Plugins ==\n\n=== RedmineCRM - open source and commercial plugins ===\n'''This are absolute MUST-HAVE plugins which are partly free, all open source (!!!) and very pricy, when you will decide to buy some of them.'''\n\nSupport them, they give a lot back to the community through their development of free plugins!\n\nThis includes e.g.:\n\n* Contacts (CRM)\n* Finance (Invoices, Expenses)\n* Nice Themes\n* ...\n\nNot pitfalls, no high prices, no contracts:\n\n* http://www.redminecrm.com/pages/plugins\n\n=== Show project as list items ===\nRedmines default view of the (sub)projects is a very ugly, simple comma separated list on the first page. Not very intuitive dealing.\nThe following deals with this:\n\n* http://www.redmine.org/plugins/projects_show\n\n<cite>\"Project Show is a Redmine plugin to show how simple it is to override default views. This partial one displays the sub-projects in a more readable list instead of the comma separated one. Doing it within a plugin is better than changing the core as when you go thru updates to Redmine you won't have to go back and make the changes again. I got tired of having to do this for multiple installs and versions so I think the plugin is a better idea.\"</cite>\n\n=== Tweaking the project list ===\nProjects list with blackjack and other features for Redmine and ChiliProject\n* http://stgeneral.github.io/redmine-progressive-projects-list/\n\nThis plugin gives a nice view to the projects page, uncluttering all the unnecessary stuff (like the project description).\n\n=== Defining custom landing page ===\nWhen then user opens a redmine project, he will be routed to the landing page which defaults to the Overview. This is not always intended, e. g. when a Wiki is established.\n\nSolution: Use the \"redmine_my_page\" plugin or use the various methods altering the ''/config/route.rb'' file \n\n* http://www.redmine.org/boards/2/topics/32811 \n* and here: http://stackoverflow.com/questions/33295228/how-to-change-default-landing-page-in-redmine-3-x ).\n\n=== Customizing \"my page\" ===\nThe Plugins aims at providing some user specific customization in redmine.\n\n* The user can select Custom Queries defined in his projects to be listed in My Page.\n* User can list all his Custom Queries created across all his projects in a single page.\n* The user can select his selected or filtered activities.\n* The plugin also provides the default page to be shown after login into the system. This can be the My Page or any Projects Issue List or Filtered Issue List.\n\nGit:\n\n* https://github.com/jrupesh/redmine_my_page\n\n=== Clipboard image paste ===\nWorks with pure JavaScript ;-)\n* https://github.com/peclik/clipboard_image_paste\n\nAlso see:\n\n* http://www.redmine.org/plugins/clipboard_image_paste\n\n=== All commercial Plugins from easyredmine ===\nWorking for a company? \nLooking for a bigger scope? \nProbably for more than a couple of employees? \n\n(If you are a stand alone man or woman, better stay with RedmineCRM - its much cheeper ...)\n\n* https://www.easyredmine.com\n\n=== Ultraviolet Syntax Highlighting ===\n<nowiki>* </nowiki>[http://www.redmine.org/plugins/redmine_ultraviolet http://www.redmine.org/plugins/redmine_ultraviolet]\n\n=== DocPu, Document publishing plugin ===\n<nowiki>* </nowiki>[http://www.redmine.org/plugins/redmine_doc_pu http://www.redmine.org/plugins/redmine_doc_pu]\n\nRequires:\n\n gem install RedCloth\n apt-get install tetex-base texlive-latex-extra\n \n\n=== Hudson ===\n<nowiki>* </nowiki>[http://www.redmine.org/plugins/t-ando_redmine_hudson http://www.redmine.org/plugins/t-ando_redmine_hudson]\n\n== SVN integration and https ==\nSee [http://wiki.blue-it.org/SVN#SVN_Integration_with_https SVN integration with apache and https]\n\n\n= Security = \n\n== Fail2ban ==\n* http://www.redmine.org/projects/redmine/wiki/HowTo_Configure_Fail2ban_For_Redmine\n\n== SSH Tunnel for non public installations ==\nIf you like to get access to a certain non public redmine installation you should use an ssh tunnel.\n\n# Create an virtual host with listens e. g. on port 444 \n# Apache: don't forget to add a Listen directive in ports.conf for port 444 !\n\nOnce you establish the following tunnel you are able to reach your redmine installation in your browser through e.g. ''https://localhost:9001''\n\n sudo  su -c \"ssh -L 9001:domain.tld:444 user@domain.tld\"\n\n= Troubeshooting =\n== Test your redmine installation ==\n\nTaken from: http://www.redmine.org/projects/redmine/wiki/HowTo_Install_Redmine_on_Debian_8_with_Apache2-Passenger#24-Test-Redmine\n\nReplace $IP with your external IP:\n\n bundle exec ruby bin/rails server -b $IP webrick -e production\n\nOpen your browser and visit http://$IP:3000\n\n== Uninstall plugins ==\nThe trick is using ''VERSION=0'' with the plugins migrate command:\n cd /srv/www/myredmine # or cd /usr/share/redmine\n rake redmine:plugins:migrate NAME=redmine_plugin_name '''VERSION=0''' RAILS_ENV=production\n service apache2 reload\n\n== Website won't come up ==\nLook at your apache logfile:\n tail -f /var/log/apache2/error.log\n\nIn my case I copied over the databae.yml, but did not pay attention to the rights:\n [!] There was an error parsing `Gemfile`: Permission denied @ rb_sysopen - /srv/www/projects.blue-it.org/config/database.yml. Bundler cannot continue.\n\n chmod 644 /srv/www/redmine/config.yml\n\nThats it ...\n\n== Gemfile.lock - Site won't start ==\n\nAccessing the Webpage you will get:\n There was an error while trying to write to Gemfile.lock. It is likely that \n you need to allow write permissions for the file at path: \n\nSolution:\n sudo apt-get install bundler #Installs ruby-dev, which is ruby1.9-dev\n sudo touch /usr/share/redmine/Gemfile.lock\n sudo chown www-data:www-data /usr/share/redmine/Gemfile.lock\n\n== dpkg-reconfigure redmine witch cache cleaning ==\n\n dpkg-reconfigure -plow redmine\n\n== Migration of plugins  ==\nNew in 2.0.0 the plugins/engines is removed in 2.0.0.\n\n rake redmine:plugins:migrate RAILS_ENV=production --trace\n rake db:migrate_plugins RAILS_ENV=production --trace\n\n== Mysql ==\n\n* http://stackoverflow.com/questions/24798813/activerecordadapternotfound-database-configuration-specifies-nonexistent-mysq\n \nIf you get an error like\n\n No such file or directory - connect(2) for /tmp/mysql.sock (Errno::ENOENT)\n\nOr\n\n database configuration specifies nonexistent mysql adapter (ActiveRecord::AdapterNotFound)\n\nit is likely that your mysl connection cannot be established due to a gem error:\n\nInstall the development files for mysql\n apt-get install libmysqlclient-dev\n\n'''Uninstall any old mysql gems''':\n\n gem uninstall ruby-mysql\n gem uninstall mysql\n gem uninstall activerecord-mysql-adapter\n\nUse the new mysql2 adapter:\n '''gem install mysql2'''\n\nand remove the lines from your Gemfile.local\n\n== Wrong version of active... ==\n\nIf using Redmine 2.x and \n\n bundle show | grep active \n\nshows\n\n activemodel 4.2.1\n\nthen you have to downgrade these:\n\n vim Gemfile.local \n \n gem 'activerecord-mysql-adapter'\n gem 'activemodel', '3.2.15'\n gem 'actionpack', '3.2.15'\n gem 'activesupport', '3.2.15'\n gem 'ruby-mysql'\n\nand e.g. \n\n bundle update activemodel\n\n\nError:\n\n gem install activemodel -v 3.2.14\n gem install actionpack -v 3.2.14\n gem install activeresource -v 3.2.14\n\n* https://github.com/browsermedia/browsercms/issues/615#issuecomment-21426772\n\n[[Category:Project Management]]\n[[Category:Version Control]]"
                    }
                ]
            },
            "1706": {
                "pageid": 1706,
                "ns": 0,
                "title": "Ruby",
                "revisions": [
                    {
                        "contentformat": "text/x-wiki",
                        "contentmodel": "wikitext",
                        "*": "== Gems ==\n\nUninstall all gems\n\n gem list | cut -d\" \" -f1 | awk '{system(\"gem uninstall -aIx\" $0)}'"
                    }
                ]
            }
        }
    }
}