Didier Lafforgue
8f1ac5968f
better way of declaring a hosting env
2012-02-18 15:55:20 +01:00
Didier Lafforgue
ffee024a96
a little bit of cleaning + prepare the engine to make it work with the hosting extensions
2012-02-18 01:57:06 +01:00
Didier Lafforgue
085a54d7c1
introduce the proxy collection liquid drop so that we can paginate for real + fix the cucumber features for the public part of the engine
2012-02-17 00:51:33 +01:00
Didier Lafforgue
02e48f5c36
fix the specs for the page model
2012-02-16 22:07:00 +01:00
Didier Lafforgue
6619d4e5dc
all the non-models specs have been fixed
2012-02-16 02:45:14 +01:00
Didier Lafforgue
64a050dff9
fixing specs (wip) + cell specs are fine
2012-02-16 01:32:37 +01:00
Didier Lafforgue
87c8f3bfd7
enhance the nav tag (allow custom css classes for the list and the selected menu item) + clean the locomotive.rb template file
2012-02-15 18:26:58 +01:00
Didier Lafforgue
3b5d04238f
remove deprecated warning about ActiveSupport::Concern + add the handle property to Page in order to retrieve them more easily (very useful to display a page from an external controller for instance
2012-02-11 00:39:06 +01:00
Didier Lafforgue
ca380de115
the admin path is not used anymore (use Locomotive.mounted_on instead)
2012-02-10 10:05:56 +01:00
Didier Lafforgue
62eaeb10f5
templatized page can now use models from the main app + add new liquid filters
2012-02-10 00:57:57 +01:00
Didier Lafforgue
39d9c354da
API access for the current site + easy way to specify the localization of any controllers + fix a minor bug about adding/removing domains
2012-02-09 11:36:10 +01:00
Didier Lafforgue
51a0862d89
use a string instead of a symbol for X-Message-Type causing an error in Passenger
2012-02-07 12:19:54 +01:00
Didier Lafforgue
f1662770e7
use the default carrierwave settings for envs other than development and production + does not include the templates of snippets in the theme assets index page (it was breaking the layout in locomotive for some snippets)
2012-02-07 11:17:56 +01:00
did
5fd244e66c
do not mention DelayedJob anymore
2012-02-06 02:44:02 -08:00
did
fa36b95a9d
get rid of warnings about InstanceMethods (deprecated) + make the engine work smoother with an existing app + clean code
2012-02-06 00:54:09 +01:00
did
25e08596ef
refactor the code (move some pieces of code into the custom_fields gem) + solve a ton of bugs: circular dependencies inside the content_entry presenter, fix Locomotive.mounted_on (broken in rails 3.2), js errors when creating a page, locale switcher broken if a page was not translated in the target locale
2012-02-04 02:10:55 +01:00
did
9e9fe49ccf
the has_many ui component is done
2012-02-02 16:53:26 +01:00
did
dfd437a762
fix an issue with compass + move to rails 3.2 + switch from mongoid_acts_as_tree to mongoid_tree + implement the UI to deal with has_many field types (wip)
2012-02-01 02:01:42 +01:00
did
c9f07c823f
remove the old way of doing cross domain authentication (use the :domain => all option) + fix a couple of tiny bugs
2012-01-30 10:56:38 +01:00
did
b93c7f8f51
remove the import/export functionalities (replaced by the API and the new locomotive editor) + upgrade gems (codemirror, ...etc)
2012-01-28 12:41:00 +01:00
did
b33d081c28
use the view_context method to reach helper methods from a controller
2012-01-28 01:05:26 -08:00
did
c5692aeb2a
fix errors when deploying a new brand new engine instance
2012-01-27 02:27:26 +01:00
did
b5fa2c761a
change the location url for the API responses + force the use of the default site locale when creating a new entry, content type or page
2012-01-26 07:51:32 -08:00
did
192518d258
disable the rethrow exceptions option for the liquid templates
2012-01-26 02:43:55 +01:00
did
50917a919e
Use the 2.0.0.rc branch for the custom_fields gem
2012-01-26 02:41:31 +01:00
did
c0b8587eb2
rename the i18n site module into locales in order to avoid conflicts with the original i18n + rendering a page according to a locale specified in the url seems to work (tests are following)
2012-01-26 02:33:39 +01:00
did
4600f94922
extend i18n to pages (wip)
2012-01-25 22:07:10 +01:00
Mario Visic
5c191e59cd
Merge remote-tracking branch 'origin/2.0.0.rc' into 2.0.0.rc
...
Conflicts:
Gemfile.lock
2012-01-25 22:20:05 +11:00
Mario Visic
840609cbce
Merge remote-tracking branch 'origin/master' into rails_3_1
...
Conflicts:
Gemfile
Gemfile.lock
app/cells/locomotive/menu_cell.rb
app/helpers/admin/content_types_helper.rb
app/models/content_instance.rb
app/models/page.rb
app/views/admin/shared/menu/_contents.html.haml
config/initializers/locomotive.rb
config/locales/admin_ui.de.yml
config/locales/admin_ui.en.yml
config/locales/admin_ui.es.yml
config/locales/admin_ui.fr.yml
config/locales/admin_ui.it.yml
config/locales/admin_ui.nl.yml
config/locales/admin_ui.no.yml
config/locales/admin_ui.pt-BR.yml
config/locales/admin_ui.ru.yml
lib/generators/locomotive/install/templates/locomotive.rb
lib/locomotive/configuration.rb
locomotive_cms.gemspec
spec/models/locomotive/account_spec.rb
2012-01-25 22:16:43 +11:00
Corey Woodcox
7aadd9d129
add a message for deprecated config option
2012-01-25 18:52:55 +11:00
Corey Woodcox
81db1da423
fix spelling error in locales
2012-01-25 18:52:54 +11:00
did
0534c5504f
prevent pow to crash when no flash message (bug) + add api resources for pages
2012-01-24 01:00:41 +01:00
did
739d2db0a9
first api draft
2012-01-23 09:05:50 +01:00
Gil Vandendriessche
d665a85591
Add sample option on import rake task
2012-01-21 16:05:36 +11:00
did
4d0f8610c5
bad display of content types if none + add new gems for tinymce and aloha
2012-01-21 01:48:00 +01:00
did
7af9ea34a6
trying to make it work with the precompilation of assets (issue with Aloha and TinyMCE)
2012-01-20 14:46:09 +01:00
did
09d6060633
refactoring (rename modules, clean code, remove useless files, ...etc) + improve the inline editor module (locale picker + better ui workflow)
2012-01-17 17:04:45 +01:00
did
801f7bfca5
Merge branch 'rails_3_1' of github.com:locomotivecms/engine into rails_3_1
2012-01-17 12:05:52 +01:00
did
e210953d01
inline editor work in progress
2012-01-17 12:05:39 +01:00
did
ebe149110b
first draft of the new inline editing toolbar
2012-01-16 23:59:59 +01:00
did
4060b1859f
use the right path to the back-office in the js components as well as in the middlewares
2012-01-14 14:54:01 +01:00
Mario Visic
a50715091d
Merge remote-tracking branch 'origin/rails_3_1' into rails_3_1
2012-01-15 00:03:06 +10:30
Mario Visic
8ac8289394
Merge remote-tracking branch 'origin/master' into rails_3_1
...
Conflicts:
app/models/content_instance.rb
config/locales/admin_ui.de.yml
public/javascripts/admin/inline_editor_toolbar.js
spec/models/content_instance_spec.rb
2012-01-15 00:02:46 +10:30
did
531017ab62
merging
2012-01-14 13:14:59 +01:00
did
50a2453995
polish again the content_locale picker
2012-01-14 13:12:44 +01:00
Mario Visic
75b0137230
Merge remote-tracking branch 'origin/master' into rails_3_1
...
Conflicts:
Gemfile
Gemfile.lock
features/support/env.rb
locomotive_cms.gemspec
spec/cells/locomotive/global_actions_spec.rb
spec/cells/locomotive/main_menu_cell_spec.rb
spec/cells/locomotive/settings_menu_cell_spec.rb
2012-01-14 16:37:24 +10:30
did
0489bbe4c2
implement the mechanism to pick a different locale for content types + implement multi-language for content types + rename scss files to css.scss
2012-01-14 01:38:09 +01:00
did
01c5de36a5
add the ui element to select the languages for a site
2012-01-09 17:24:34 -08:00
did
4c204ef6a6
refactor and clean code (wip) + the api controller has been deleted and replace by the entry_submission_controller (+ custom responder)
2012-01-09 06:49:59 -08:00
Paul Sponagl
27dd3b2001
Fit issue 240 by using slug to find content-type
...
export.rb exports targets with
field_attributes['target'] = target_klass._parent.slug
but import imports it with:
target_content_type = site.content_types.where(:name => association.target).first
this fails if one uses capitalized names for Models.
i changed the default.zip to contain a site yaml with capitalized
Model-Names too.
2012-01-09 15:01:51 +01:00
did
435d4067c0
namespace vendor assets
2012-01-08 16:27:13 -08:00
did
5dfbb2bdb7
upgrade to the last version of delayed_job_mongoid gem + remove reference to the previous handlebars-rails gem (just add the js file instead) + refactor the way to display the list of content types in the back-office menu
2012-01-08 16:17:31 -08:00
did
0f1b4f59d3
listing all entries (done) + fix bugs + tweak ui
2012-01-04 02:07:53 +01:00
did
912251d49b
big refactoring (wip) + add/edit entries for content types
2012-01-02 05:54:01 -08:00
did
e9ef4d48c3
content_instance becomes now content_entry with its shortcut content_type.entries + change references to the old custom_fields API
2011-12-23 00:45:32 +01:00
did
81a6569fe7
UI compoment to add options for the select type field (wip)
2011-12-22 02:59:30 +01:00
did
00283993c0
minimal version of the new UI for content types
2011-12-21 15:24:39 +01:00
did
217000042a
refactoring the content types section (wip)
2011-12-19 14:15:11 +01:00
Mario Visic
9a1a0f016f
Merge branch 'master' into rails_3_1
...
Conflicts:
app/models/content_type.rb
config/boot.rb
2011-12-15 22:29:07 +08:00
Mario Visic
4ae6fe7977
False values for custom fields are now correctly exported. Fixes #250 .
2011-12-15 22:11:54 +08:00
did
8271782284
refactoring of the import UI is done
2011-12-11 23:33:38 +01:00
did
a25009824c
fix some bugs + refactor look and feel of the import screens (wip)
2011-12-08 07:47:17 -08:00
did
d21f32d849
upload many theme assets at once
2011-12-07 03:25:30 -08:00
did
4da434deb1
replace Asset by ContentAsset in the export module
2011-12-07 00:52:13 -08:00
did
368f643cf0
theme assets page in progress
2011-12-07 02:09:13 +01:00
did
af955ef927
delete snippets in ajax + new way of render theme assets in the back-office (backbone view) + change the way to fire growl messages
2011-12-06 12:39:32 +01:00
Mario Visic
4e6fc04889
Use contents_custom_fields instead of content_custom_fields
2011-12-05 22:29:32 +08:00
did
3fffe7bd91
new way of handling ajax post requests (redirecting if everything is fine)
2011-12-02 18:20:59 +01:00
did
87a04aafe9
rename namespace for the sites backbone views + create backbone view for the creation of a new site
2011-12-02 06:59:41 -08:00
did
35012ca2b2
polishing the current site editing screen (wip)
2011-11-29 02:24:02 +01:00
Mario Visic
cecdfa4762
Merge branch 'master' into rails_3_1
2011-11-27 21:17:58 +11:00
Mario Visic
791c5f9d43
Merge pull request #223 from frisoft/master
...
Method missing "disable_parent_editable_elements" for nil
2011-11-27 01:53:25 -08:00
Mario Visic
9f56eecd56
Merge branch 'master' into rails_3_1
...
Conflicts:
Gemfile
Gemfile.lock
config/boot.rb
2011-11-27 20:33:45 +11:00
Mario Visic
5c6794d69c
Fixed some failing dragonfly specs.
2011-11-27 19:02:20 +11:00
Mario Visic
7f7ed896cf
use starts_with? instead of start_with, fixes #253 and #251
2011-11-27 18:22:00 +11:00
Mario Visic
ad6273e2fd
Lots of spec fixes (mostly namespacing), down to 107 failing specs.
2011-11-26 17:24:34 +11:00
Mario Visic
fa138b28d0
Fixed some failing export specs.
2011-11-26 16:22:48 +11:00
did
47625dfa17
refactor code (wip) + fix bugs (wip) + tweak ui + save an existing page in ajax (HTML5 + FormData) + create a new page in ajax (wip)
2011-11-25 02:04:42 +01:00
did
a50df5ad8e
menu and submenu in full css3 (without any images) + delete useless images + clean the code (wip)
2011-11-23 05:01:15 -08:00
did
0b7cc6ebd2
merging
2011-11-21 02:28:12 +01:00
did
1a1a92e12f
refactor the presenters + convert the editable_elements partial into a full backbone, coffeescript, handlebar, json stack
2011-11-21 02:27:05 +01:00
Mario Visic
769cf7548c
Updated gemfile with kaminari again.
2011-11-20 21:36:10 +11:00
Mario Visic
5f893d51c0
Merge remote-tracking branch 'origin/master' into rails_3_1
...
Conflicts:
Gemfile
Gemfile.lock
config/initializers/will_paginate.rb
lib/locomotive/engine.rb
lib/locomotive/hosting/bushido/account_ext.rb
lib/locomotive/hosting/bushido/enabler.rb
lib/locomotive/hosting/bushido/hooks.rb
2011-11-20 21:08:23 +11:00
did
72c2cb2059
rename asset to content_asset + clean the locomotive_media plugin for tinyMCE (wip)
2011-11-19 15:47:56 +01:00
Sean Grove
ef5caad897
Proper mongoid exists? syntax
2011-11-16 12:04:51 -08:00
Sean Grove
d1306aec53
Horrific rebasing strategy, but working code.
2011-11-16 11:39:47 -08:00
Sean Grove
ed96ab1cf5
BUSHIDO_FIX: Adds bushido hooks user.added user.removed, and updates app.claimed to work with bushido_user_id as the permanent id
...
Conflicts:
lib/locomotive/hosting/bushido/hooks.rb
2011-11-16 11:38:23 -08:00
Sean Grove
43dee9391d
Uses a more careful approach when removing a user based on the bushido user.removed hook
2011-11-16 11:38:01 -08:00
Sean Grove
5a4a9f5475
BUSHIDO_FIX: Adds bushido hooks user.added user.removed, and updates app.claimed to work with bushido_user_id as the permanent id
...
Conflicts:
lib/locomotive/hosting/bushido/hooks.rb
2011-11-16 11:37:30 -08:00
Sean Grove
b2bfec1bc4
BUSHIDO_FIX: Adds hooks for user.added and user.removed, updates app.claimed event, switches to using bushido_user_id as permanent unchanging user id
2011-11-16 11:32:00 -08:00
did
80a9a11c7b
javascript for add/edit page (wip)
2011-11-14 01:13:58 -08:00
did
596eb78a55
first draft for the json template response (tested on sorting pages)
2011-11-11 00:39:25 -08:00
did
bef9dd8e67
fix various namespace errors issues and api changes for the models
2011-11-10 13:41:20 -08:00
did
6122983835
fix the annoying bug of duplicated flash messages + first backbone view for the index pages section
2011-11-10 13:29:59 +01:00
did
aa1abd2e92
remove useless piece of code
2011-11-10 02:47:26 +01:00
did
599b1d6395
first work on migrating the javascripts to coffeescript and backbone (wip)
2011-11-10 02:43:19 +01:00
did
248d3803c2
use the last version of formtastic + tweak the css for formtastic with scss + compass (wip) + clean code (wip)
2011-11-09 02:35:59 +01:00
did
1b015efd48
cleaning stylesheets so that they fit the new assets system
2011-11-08 15:34:25 +01:00
did
b383086242
wip
2011-11-06 12:18:34 +01:00
did
a3f66e19b5
fix issue #243 (Kaminari causing error on Bushido)
2011-11-05 15:18:15 +01:00