Commit a9927a26 authored by azul's avatar azul

0.6.0-beta - prerelease of the core rework

This is the first release after the rework of the crabgrass codebase.
Some years ago the crabgrass codebase had diverged into different
incompatible development trees. We're about to bring the different forks
back together in a streamlined version.

The 0.6 series was migrated to rails 3.2 and ruby 1.9.3.

This beta release is mostly stable. The bugtracker lists 36 open bugs
for 0.6.0.
parents 6aff747e 5735d977

Too many changes to show.

To preserve performance only 1000 of 1000+ files are displayed.

......@@ -41,3 +41,5 @@ vendor/crabgrass_plugins/crabgrass_acts_as_locked/test/tests.sqlite
config/database.yml
vendor/plugins/haml/init.rb
.bundle
bin/
config/sphinx/*.conf
language: ruby
# only install ci and assets gems:
bundler_args: --without production:development:test
env:
- RAKE_TASK=test
- RAKE_TASK=test:pages:all
rvm:
- 1.8.7
- 1.9.3
# - 2.0.0
matrix:
fast_finish: true
# allow_failures:
# - rvm: 2.0.0
before_install:
- "bundle --version"
- sudo apt-get update -qq
- sudo apt-get install -qq -y graphicsmagick
- sudo apt-get install -qq -y libreoffice-common
# - sudo apt-get install -qq -y sphinxsearch
- sudo apt-get install -qq -y inkscape
- sudo apt-get update
- sudo apt-get install -y graphicsmagick
- sudo apt-get install -y libreoffice-common
- sudo apt-get install -y sphinxsearch
- sudo apt-get install -y inkscape
before_script:
- "rake create_a_secret"
- "bundle exec rake create_a_secret"
- "cp config/database.yml.example config/database.yml"
- "rake db:create"
- "rake db:schema:load"
- "rake db:test:prepare"
- "rake RAILS_ENV=test db:fixtures:load"
# - "rake RAILS_ENV=test ts:index ts:start"
- "bundle exec rake db:create"
- "bundle exec rake db:schema:load"
- "bundle exec rake db:test:prepare"
- "RAILS_ENV=test bundle exec rake db:fixtures:load"
- "RAILS_ENV=test bundle exec rake ts:index ts:start"
script: "bundle exec rake $RAKE_TASK"
after_script:
- "cat tmp/*.test*.log" # printing logs from the failed integration tests
notifications:
email: false
upgrade to latest thinking sphinx
deleting a page tag causes the discussions to get loaded for the ajax request.
this should not be the case.
destroying groups
needs a lot of work
what to do with orphaned pages?
all the pages that have cached the owner_name should get cleared out.
(or maybe not, instead link to 'anonymous'?)
what about everywhere else? create GroupGhost with the same id but with no content?
when notices are rendered as pages, they still fade.
i18n blows up if the session language is set to swedish.
alert messages don't stack for modalbox
confirmation before destroy contact
page search:
should be 'watching' instead of 'watched'
once active, needs to indicate i clicked on 'my pages -> own'.
need ajaxy history
the split panel is not something that we should keep, unless it can
be made to work when the screen gets small.
wiki:
need history
pages:
need 'show print' option.
Changes since Crabgrass 0.5
---------------------------
New theming engine
Permission system reworked
UI works better on different screen sizes
Updated dependencies
* Rails 3.0 and counting
* Ruby 1.9
* Bootstrap
* No more compass and Susy
* Using bundler
Upgrading to Crabgrass 1.0 from earlier versions
------------------------------------------------
......@@ -17,5 +33,6 @@ configuration changes
enabled_tools is now enabled_pages
added login_redirect_url
config/database.yml
"mysql" must be replaced with "mysql2"
source 'https://rubygems.org'
##
# Core components
##
# Rails is the framework we use.
# use the 3.2 series including all security fixes
gem 'rails', '~> 3.2.19'
# Rake is rubys make... performing tasks
# locking in to latest major to fix API
gem 'rake', '~> 10.0', :require => false
##
# Prototype - yes. we still use it.
# these will be replaced by jquery equivalents at some point:
##
# main part of prototype
# locking so it matches rails version
gem 'prototype-rails', '~> 3.2.1'
# legacy helper for form_remote_for and link_to_remote
# there's only a 0.0.0 version out there it seems
gem 'prototype_legacy_helper', '0.0.0',
:github => 'rails/prototype_legacy_helper'
##
# Upgrade pending
##
# Full text search for the database
# thinking-sphinx version 3 requires activerecord >= 3.1 which we have now
# It also requires sphinx >= 2.06 and probably changes the API
# so, we bind to the latest in the version 2 series for now
gem 'thinking-sphinx', '~> 2.1.0', :require => 'thinking_sphinx'
# Enhanced Tagging lib. Used to tag pages
# Could not get the migration rake task for acts-as-taggable-on 3.x to work
# before rails 3.2.
# So we should run the migration and upgrade now that we are on rails 3.2
gem 'acts-as-taggable-on', '~> 2.4.1'
##
# Backported from rails 4
##
# add a digest of a template and its dependencies to the cache key
# not developed anymore. Fixing major version never the less.
gem 'cache_digests', '~> 0.3'
# protect against malicious parameters by explicitly permitting the ones we want
# part of rails 4, looks like the rails3 version is not in active dev.
gem 'strong_parameters', '~> 0.2'
##
# Required, but not included with crabgrass:
##
# translating strings for the user interface
# locking in to latest major to fix API
gem 'i18n', '~> 0.6'
# improved gem to access mysql database
# locking in to latest major to fix API
gem 'mysql2', '~> 0.3'
# parsing and generating JSON
# locking in to latest major to fix API
gem 'json', '~> 1.8'
# Markup language that uses indent to indicate nesting
# locking in to latest major to fix API
gem 'haml', '~> 4.0'
# Extendet scriptable CSS language
# locking in to latest major to fix API
gem 'sass'
# ?
# locking in to latest major to fix API
gem 'http_accept_language', '~> 2.0'
# Pagination for lists with a lot of items
# 3.0.7 introduced a bug: https://github.com/mislav/will_paginate/issues/400
# we should remove this strict version once that is fixed.
gem 'will_paginate', '= 3.0.6'
# state-machine for requests
# locking in to latest major to fix API
gem 'aasm' , '~> 3.4'
# lists used for tasks and choices in votes so far
# continuation of the old standart rails plugin
# locking in to latest major to fix API, not really maintained though
gem 'acts_as_list', '~> 0.4'
# Check the format of email addresses against RFCs
# better maintained than validates_as_email
# locking in to latest major to fix API
gem 'validates_email_format_of', '~> 1.6'
##
## GEMS required, and compilation is required to install
##
# Formatting text input
# We extend this to resolve links locally -> GreenCloth
# locking in to latest major to fix API
gem 'RedCloth', '~> 4.2'
source :rubygems
gem 'rails', '~> 3.0.20'
gem 'rake', '~> 0.9.2'
gem 'prototype_legacy_helper', '0.0.0', :git => 'git://github.com/rails/prototype_legacy_helper.git'
# HTML parser used inside our own uglify gem
# Deprecated by the original maintainers
# TODO: replace with nokogiri
gem 'hpricot', '~> 0.8'
## from config/environment.rb
##
## GEMS required, included with crabgrass
##
# required, but not included with crabgrass:
gem 'i18n'#, '~> 0.5'
gem 'thinking-sphinx', '~> 2.0', :require => 'thinking_sphinx'
gem 'will_paginate', '~> 3.0'
gem 'sprockets', '~> 2.2'
# extension of the redcloth markup lang
gem 'greencloth', :require => 'greencloth',
:path => 'vendor/gems/riseuplabs-greencloth-0.1'
gem 'mysql', '2.8.1'
# ?
gem 'undress', :require => 'undress/greencloth',
:path => 'vendor/gems/riseuplabs-undress-0.2.4'
# required, and compilation is required to install
gem 'RedCloth', '~> 4.2'
gem 'hpricot', '~> 0.8'
# ?
gem 'uglify_html', :require => 'uglify_html',
:path => 'vendor/gems/riseuplabs-uglify_html-0.12'
# required, included with crabgrass
gem 'greencloth', :require => 'greencloth', :path => 'vendor/gems/riseuplabs-greencloth-0.1'