refinerycms 0.9.5.30 → 0.9.5.31
Sign up to get free protection for your applications and to get access to all the features.
- data/.yardopts +15 -5
- data/Rakefile +1 -1
- data/VERSION +1 -1
- data/bin/refinery +9 -9
- data/bin/refinery-update-core +8 -5
- data/config/environment.rb +1 -1
- data/config/routes.rb +1 -0
- data/contributors.md +18 -0
- data/db/migrate/20100127004649_add_reset_code_to_users.rb +9 -0
- data/db/schema.rb +2 -1
- data/db/seeds.rb +11 -1
- data/{LICENSE → license.md} +3 -3
- data/public/javascripts/admin.js +5 -0
- data/public/javascripts/refinery/boot_wym.js +1 -1
- data/public/stylesheets/refinery/refinery.css +7 -0
- data/readme.md +161 -0
- data/themes/demolicious.zip +0 -0
- data/themes/hemingway.zip +0 -0
- data/vendor/plugins/authentication/app/controllers/admin/users_controller.rb +0 -27
- data/vendor/plugins/authentication/app/controllers/sessions_controller.rb +3 -0
- data/vendor/plugins/authentication/app/controllers/users_controller.rb +36 -21
- data/vendor/plugins/authentication/app/models/user.rb +40 -41
- data/vendor/plugins/authentication/app/models/user_mailer.rb +5 -12
- data/vendor/plugins/authentication/app/views/sessions/new.html.erb +3 -0
- data/vendor/plugins/authentication/app/views/user_mailer/reset_notification.html.erb +6 -0
- data/vendor/plugins/authentication/app/views/users/forgot.html.erb +13 -0
- data/vendor/plugins/authentication/app/views/users/reset.html.erb +18 -0
- data/vendor/plugins/authentication/authentication.md +7 -0
- data/vendor/plugins/authentication/config/routes.rb +6 -1
- data/vendor/plugins/dashboard/dashboard.md +22 -0
- data/vendor/plugins/images/images.md +46 -0
- data/vendor/plugins/inquiries/app/controllers/inquiries_controller.rb +0 -8
- data/vendor/plugins/inquiries/app/views/admin/inquiries/show.html.erb +3 -3
- data/vendor/plugins/inquiries/inquiries.md +31 -0
- data/vendor/plugins/news/app/controllers/news_items_controller.rb +9 -19
- data/vendor/plugins/news/app/views/news_items/index.html.erb +1 -1
- data/vendor/plugins/news/app/views/news_items/show.html.erb +13 -18
- data/vendor/plugins/news/news.md +20 -0
- data/vendor/plugins/pages/app/controllers/pages_controller.rb +2 -12
- data/vendor/plugins/pages/app/models/page.rb +5 -5
- data/vendor/plugins/pages/app/presenters/page_presenter.rb +3 -0
- data/vendor/plugins/pages/pages.md +141 -0
- data/vendor/plugins/pages/rails/init.rb +1 -1
- data/vendor/plugins/refinery/app/views/admin/_head.html.erb +1 -0
- data/vendor/plugins/refinery/app/views/layouts/application.html.erb +2 -15
- data/vendor/plugins/refinery/app/views/shared/_head.html.erb +13 -0
- data/vendor/plugins/refinery/app/views/shared/_header.html.erb +1 -1
- data/vendor/plugins/refinery/app/views/shared/_menu.html.erb +4 -15
- data/vendor/plugins/refinery/app/views/shared/_menu_branch.html.erb +20 -25
- data/vendor/plugins/refinery/app/views/shared/_submenu.html.erb +5 -4
- data/vendor/plugins/refinery/crud.md +197 -0
- data/vendor/plugins/refinery/lib/generators/refinery/templates/public_controller.rb +6 -1
- data/vendor/plugins/refinery/lib/refinery/application_controller.rb +18 -5
- data/vendor/plugins/refinery/lib/refinery/application_helper.rb +31 -28
- data/vendor/plugins/refinery/lib/refinery/base_presenter.rb +27 -0
- data/vendor/plugins/refinery/lib/refinery/initializer.rb +7 -3
- data/vendor/plugins/refinery/lib/tasks/doc.rake +4 -4
- data/vendor/plugins/refinery/plugins.md +194 -0
- data/vendor/plugins/refinery/rails/init.rb +5 -0
- data/vendor/plugins/refinery_settings/settings.md +5 -0
- data/vendor/plugins/resources/resources.md +9 -0
- data/vendor/plugins/themes/app/controllers/themes_controller.rb +12 -15
- data/vendor/plugins/themes/app/models/theme.rb +8 -14
- data/vendor/plugins/themes/config/routes.rb +3 -3
- data/vendor/plugins/themes/themes.md +133 -0
- metadata +29 -38
- data/CONTRIBUTORS +0 -11
- data/README.rdoc +0 -78
- data/themes/demolicious/LICENSE +0 -21
- data/themes/demolicious/README +0 -1
- data/themes/demolicious/images/footer_background.png +0 -0
- data/themes/demolicious/images/header_background.png +0 -0
- data/themes/demolicious/preview.png +0 -0
- data/themes/demolicious/stylesheets/application.css +0 -94
- data/themes/demolicious/stylesheets/formatting.css +0 -36
- data/themes/demolicious/stylesheets/home.css +0 -11
- data/themes/demolicious/stylesheets/ie6.css +0 -0
- data/themes/demolicious/stylesheets/ie7.css +0 -0
- data/themes/demolicious/views/layouts/application.html.erb +0 -33
- data/themes/demolicious/views/pages/home.html.erb +0 -1
- data/themes/demolicious/views/pages/show.html.erb +0 -1
- data/themes/hemingway/LICENSE +0 -7
- data/themes/hemingway/README +0 -3
- data/themes/hemingway/images/archives.gif +0 -0
- data/themes/hemingway/images/footer_black.gif +0 -0
- data/themes/hemingway/images/kyle-header.jpg +0 -0
- data/themes/hemingway/images/readon_black.gif +0 -0
- data/themes/hemingway/images/search.gif +0 -0
- data/themes/hemingway/images/spinner.gif +0 -0
- data/themes/hemingway/images/trackback_pingback.gif +0 -0
- data/themes/hemingway/preview.png +0 -0
- data/themes/hemingway/stylesheets/application.css +0 -713
- data/themes/hemingway/views/layouts/application.html.erb +0 -64
- data/themes/hemingway/views/shared/content_page.html.erb +0 -0
- data/vendor/plugins/authentication/app/models/user_observer.rb +0 -11
- data/vendor/plugins/authentication/app/views/user_mailer/activation.html.erb +0 -3
- data/vendor/plugins/authentication/app/views/user_mailer/signup_notification.html.erb +0 -8
- data/vendor/plugins/themes/themes.rdoc +0 -131
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: refinerycms
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.5.
|
4
|
+
version: 0.9.5.31
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Resolve Digital
|
@@ -11,7 +11,7 @@ autorequire:
|
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
13
|
|
14
|
-
date: 2010-01-
|
14
|
+
date: 2010-01-28 00:00:00 +13:00
|
15
15
|
default_executable:
|
16
16
|
dependencies: []
|
17
17
|
|
@@ -24,17 +24,14 @@ executables:
|
|
24
24
|
extensions: []
|
25
25
|
|
26
26
|
extra_rdoc_files:
|
27
|
-
- CONTRIBUTORS
|
28
|
-
- LICENSE
|
29
|
-
- README.rdoc
|
30
27
|
- VERSION
|
28
|
+
- contributors.md
|
29
|
+
- license.md
|
30
|
+
- readme.md
|
31
31
|
files:
|
32
32
|
- .gems
|
33
33
|
- .gitignore
|
34
34
|
- .yardopts
|
35
|
-
- CONTRIBUTORS
|
36
|
-
- LICENSE
|
37
|
-
- README.rdoc
|
38
35
|
- Rakefile
|
39
36
|
- VERSION
|
40
37
|
- app/controllers/admin/base_controller.rb
|
@@ -56,17 +53,20 @@ files:
|
|
56
53
|
- config/preinitializer.rb
|
57
54
|
- config/rackspace_cloudfiles.yml.example
|
58
55
|
- config/routes.rb
|
56
|
+
- contributors.md
|
59
57
|
- db/migrate/20091029034951_remove_blurb_from_news_items.rb
|
60
58
|
- db/migrate/20091109012126_add_missing_indexes.rb
|
61
59
|
- db/migrate/20091130040711_add_down_for_maintenance_page.rb
|
62
60
|
- db/migrate/20091207033335_add_superuser_to_users.rb
|
63
61
|
- db/migrate/20100114092849_add_themes_table.rb
|
62
|
+
- db/migrate/20100127004649_add_reset_code_to_users.rb
|
64
63
|
- db/schema.rb
|
65
64
|
- db/seeds.rb
|
66
65
|
- doc/.yardoc/checksums
|
67
66
|
- doc/.yardoc/objects/root.dat
|
68
67
|
- doc/.yardoc/proxy_types
|
69
68
|
- lib/refinery_initializer.rb
|
69
|
+
- license.md
|
70
70
|
- public/.htaccess
|
71
71
|
- public/404.html
|
72
72
|
- public/422.html
|
@@ -145,6 +145,7 @@ files:
|
|
145
145
|
- public/images/wymeditor/skins/refinery/paragraph.png
|
146
146
|
- public/images/wymeditor/skins/refinery/right.png
|
147
147
|
- public/images/wymeditor/skins/wymeditor_icon.png
|
148
|
+
- public/javascripts/admin.js
|
148
149
|
- public/javascripts/application.js
|
149
150
|
- public/javascripts/builder.js
|
150
151
|
- public/javascripts/controls.js
|
@@ -207,6 +208,7 @@ files:
|
|
207
208
|
- public/wymeditor/GPL-license.txt
|
208
209
|
- public/wymeditor/MIT-license.txt
|
209
210
|
- public/wymeditor/README
|
211
|
+
- readme.md
|
210
212
|
- script/about
|
211
213
|
- script/console
|
212
214
|
- script/dbconsole
|
@@ -221,32 +223,8 @@ files:
|
|
221
223
|
- script/process/spawner
|
222
224
|
- script/runner
|
223
225
|
- script/server
|
224
|
-
- themes/demolicious
|
225
|
-
- themes/
|
226
|
-
- themes/demolicious/images/footer_background.png
|
227
|
-
- themes/demolicious/images/header_background.png
|
228
|
-
- themes/demolicious/preview.png
|
229
|
-
- themes/demolicious/stylesheets/application.css
|
230
|
-
- themes/demolicious/stylesheets/formatting.css
|
231
|
-
- themes/demolicious/stylesheets/home.css
|
232
|
-
- themes/demolicious/stylesheets/ie6.css
|
233
|
-
- themes/demolicious/stylesheets/ie7.css
|
234
|
-
- themes/demolicious/views/layouts/application.html.erb
|
235
|
-
- themes/demolicious/views/pages/home.html.erb
|
236
|
-
- themes/demolicious/views/pages/show.html.erb
|
237
|
-
- themes/hemingway/LICENSE
|
238
|
-
- themes/hemingway/README
|
239
|
-
- themes/hemingway/images/archives.gif
|
240
|
-
- themes/hemingway/images/footer_black.gif
|
241
|
-
- themes/hemingway/images/kyle-header.jpg
|
242
|
-
- themes/hemingway/images/readon_black.gif
|
243
|
-
- themes/hemingway/images/search.gif
|
244
|
-
- themes/hemingway/images/spinner.gif
|
245
|
-
- themes/hemingway/images/trackback_pingback.gif
|
246
|
-
- themes/hemingway/preview.png
|
247
|
-
- themes/hemingway/stylesheets/application.css
|
248
|
-
- themes/hemingway/views/layouts/application.html.erb
|
249
|
-
- themes/hemingway/views/shared/content_page.html.erb
|
226
|
+
- themes/demolicious.zip
|
227
|
+
- themes/hemingway.zip
|
250
228
|
- vendor/plugins/acts_as_indexed/CHANGELOG
|
251
229
|
- vendor/plugins/acts_as_indexed/MIT-LICENSE
|
252
230
|
- vendor/plugins/acts_as_indexed/README.rdoc
|
@@ -328,16 +306,17 @@ files:
|
|
328
306
|
- vendor/plugins/authentication/app/helpers/users_helper.rb
|
329
307
|
- vendor/plugins/authentication/app/models/user.rb
|
330
308
|
- vendor/plugins/authentication/app/models/user_mailer.rb
|
331
|
-
- vendor/plugins/authentication/app/models/user_observer.rb
|
332
309
|
- vendor/plugins/authentication/app/models/user_plugin.rb
|
333
310
|
- vendor/plugins/authentication/app/views/admin/users/_form.html.erb
|
334
311
|
- vendor/plugins/authentication/app/views/admin/users/edit.html.erb
|
335
312
|
- vendor/plugins/authentication/app/views/admin/users/index.html.erb
|
336
313
|
- vendor/plugins/authentication/app/views/admin/users/new.html.erb
|
337
314
|
- vendor/plugins/authentication/app/views/sessions/new.html.erb
|
338
|
-
- vendor/plugins/authentication/app/views/user_mailer/
|
339
|
-
- vendor/plugins/authentication/app/views/
|
315
|
+
- vendor/plugins/authentication/app/views/user_mailer/reset_notification.html.erb
|
316
|
+
- vendor/plugins/authentication/app/views/users/forgot.html.erb
|
340
317
|
- vendor/plugins/authentication/app/views/users/new.html.erb
|
318
|
+
- vendor/plugins/authentication/app/views/users/reset.html.erb
|
319
|
+
- vendor/plugins/authentication/authentication.md
|
341
320
|
- vendor/plugins/authentication/config/routes.rb
|
342
321
|
- vendor/plugins/authentication/lib/authenticated_system.rb
|
343
322
|
- vendor/plugins/authentication/lib/authenticated_test_helper.rb
|
@@ -356,6 +335,7 @@ files:
|
|
356
335
|
- vendor/plugins/dashboard/app/views/admin/dashboard/_recent_activity.html.erb
|
357
336
|
- vendor/plugins/dashboard/app/views/admin/dashboard/index.html.erb
|
358
337
|
- vendor/plugins/dashboard/config/routes.rb
|
338
|
+
- vendor/plugins/dashboard/dashboard.md
|
359
339
|
- vendor/plugins/dashboard/rails/init.rb
|
360
340
|
- vendor/plugins/images/app/controllers/admin/images_controller.rb
|
361
341
|
- vendor/plugins/images/app/helpers/admin/images_helper.rb
|
@@ -369,6 +349,7 @@ files:
|
|
369
349
|
- vendor/plugins/images/app/views/admin/images/insert.html.erb
|
370
350
|
- vendor/plugins/images/app/views/admin/images/new.html.erb
|
371
351
|
- vendor/plugins/images/config/routes.rb
|
352
|
+
- vendor/plugins/images/images.md
|
372
353
|
- vendor/plugins/images/lib/tasks/images.rake
|
373
354
|
- vendor/plugins/images/rails/init.rb
|
374
355
|
- vendor/plugins/inquiries/app/controllers/admin/inquiries_controller.rb
|
@@ -390,6 +371,7 @@ files:
|
|
390
371
|
- vendor/plugins/inquiries/app/views/inquiry_mailer/confirmation.html.erb
|
391
372
|
- vendor/plugins/inquiries/app/views/inquiry_mailer/notification.html.erb
|
392
373
|
- vendor/plugins/inquiries/config/routes.rb
|
374
|
+
- vendor/plugins/inquiries/inquiries.md
|
393
375
|
- vendor/plugins/inquiries/rails/init.rb
|
394
376
|
- vendor/plugins/news/app/controllers/admin/news_items_controller.rb
|
395
377
|
- vendor/plugins/news/app/controllers/news_items_controller.rb
|
@@ -403,6 +385,7 @@ files:
|
|
403
385
|
- vendor/plugins/news/app/views/news_items/index.html.erb
|
404
386
|
- vendor/plugins/news/app/views/news_items/show.html.erb
|
405
387
|
- vendor/plugins/news/config/routes.rb
|
388
|
+
- vendor/plugins/news/news.md
|
406
389
|
- vendor/plugins/news/rails/init.rb
|
407
390
|
- vendor/plugins/pages/app/controllers/admin/page_dialogs_controller.rb
|
408
391
|
- vendor/plugins/pages/app/controllers/admin/page_parts_controller.rb
|
@@ -411,6 +394,7 @@ files:
|
|
411
394
|
- vendor/plugins/pages/app/helpers/pages_helper.rb
|
412
395
|
- vendor/plugins/pages/app/models/page.rb
|
413
396
|
- vendor/plugins/pages/app/models/page_part.rb
|
397
|
+
- vendor/plugins/pages/app/presenters/page_presenter.rb
|
414
398
|
- vendor/plugins/pages/app/views/admin/page_dialogs/_page_link.html.erb
|
415
399
|
- vendor/plugins/pages/app/views/admin/page_dialogs/link_to.html.erb
|
416
400
|
- vendor/plugins/pages/app/views/admin/pages/_form.html.erb
|
@@ -423,6 +407,7 @@ files:
|
|
423
407
|
- vendor/plugins/pages/app/views/pages/home.html.erb
|
424
408
|
- vendor/plugins/pages/app/views/pages/show.html.erb
|
425
409
|
- vendor/plugins/pages/config/routes.rb
|
410
|
+
- vendor/plugins/pages/pages.md
|
426
411
|
- vendor/plugins/pages/rails/init.rb
|
427
412
|
- vendor/plugins/rails_indexes/MIT-LICENSE
|
428
413
|
- vendor/plugins/rails_indexes/README.textile
|
@@ -449,6 +434,7 @@ files:
|
|
449
434
|
- vendor/plugins/refinery/app/views/shared/_content_page.html.erb
|
450
435
|
- vendor/plugins/refinery/app/views/shared/_footer.html.erb
|
451
436
|
- vendor/plugins/refinery/app/views/shared/_google_analytics.html.erb
|
437
|
+
- vendor/plugins/refinery/app/views/shared/_head.html.erb
|
452
438
|
- vendor/plugins/refinery/app/views/shared/_header.html.erb
|
453
439
|
- vendor/plugins/refinery/app/views/shared/_ie6check.html.erb
|
454
440
|
- vendor/plugins/refinery/app/views/shared/_menu.html.erb
|
@@ -468,6 +454,7 @@ files:
|
|
468
454
|
- vendor/plugins/refinery/app/views/welcome.html.erb
|
469
455
|
- vendor/plugins/refinery/app/views/wymiframe.html.erb
|
470
456
|
- vendor/plugins/refinery/config/routes.rb
|
457
|
+
- vendor/plugins/refinery/crud.md
|
471
458
|
- vendor/plugins/refinery/lib/crud.rb
|
472
459
|
- vendor/plugins/refinery/lib/generators/refinery/README
|
473
460
|
- vendor/plugins/refinery/lib/generators/refinery/Rakefile
|
@@ -493,6 +480,7 @@ files:
|
|
493
480
|
- vendor/plugins/refinery/lib/refinery/admin_base_controller.rb
|
494
481
|
- vendor/plugins/refinery/lib/refinery/application_controller.rb
|
495
482
|
- vendor/plugins/refinery/lib/refinery/application_helper.rb
|
483
|
+
- vendor/plugins/refinery/lib/refinery/base_presenter.rb
|
496
484
|
- vendor/plugins/refinery/lib/refinery/form_helpers.rb
|
497
485
|
- vendor/plugins/refinery/lib/refinery/html_truncation_helper.rb
|
498
486
|
- vendor/plugins/refinery/lib/refinery/initializer.rb
|
@@ -502,6 +490,7 @@ files:
|
|
502
490
|
- vendor/plugins/refinery/lib/tasks/doc.rake
|
503
491
|
- vendor/plugins/refinery/lib/tasks/refinery.rake
|
504
492
|
- vendor/plugins/refinery/lib/tasks/yard.rake
|
493
|
+
- vendor/plugins/refinery/plugins.md
|
505
494
|
- vendor/plugins/refinery/rails/init.rb
|
506
495
|
- vendor/plugins/refinery_dialogs/app/controllers/admin/dialogs_controller.rb
|
507
496
|
- vendor/plugins/refinery_dialogs/app/views/admin/dialogs/show.html.erb
|
@@ -518,6 +507,7 @@ files:
|
|
518
507
|
- vendor/plugins/refinery_settings/app/views/admin/refinery_settings/new.html.erb
|
519
508
|
- vendor/plugins/refinery_settings/config/routes.rb
|
520
509
|
- vendor/plugins/refinery_settings/rails/init.rb
|
510
|
+
- vendor/plugins/refinery_settings/settings.md
|
521
511
|
- vendor/plugins/resources/app/controllers/admin/resources_controller.rb
|
522
512
|
- vendor/plugins/resources/app/models/resource.rb
|
523
513
|
- vendor/plugins/resources/app/views/admin/resources/_form.html.erb
|
@@ -528,6 +518,7 @@ files:
|
|
528
518
|
- vendor/plugins/resources/app/views/admin/resources/new.html.erb
|
529
519
|
- vendor/plugins/resources/config/routes.rb
|
530
520
|
- vendor/plugins/resources/rails/init.rb
|
521
|
+
- vendor/plugins/resources/resources.md
|
531
522
|
- vendor/plugins/themes/app/controllers/admin/themes_controller.rb
|
532
523
|
- vendor/plugins/themes/app/controllers/themes_controller.rb
|
533
524
|
- vendor/plugins/themes/app/models/theme.rb
|
@@ -538,7 +529,7 @@ files:
|
|
538
529
|
- vendor/plugins/themes/app/views/admin/themes/new.html.erb
|
539
530
|
- vendor/plugins/themes/config/routes.rb
|
540
531
|
- vendor/plugins/themes/rails/init.rb
|
541
|
-
- vendor/plugins/themes/themes.
|
532
|
+
- vendor/plugins/themes/themes.md
|
542
533
|
has_rdoc: true
|
543
534
|
homepage: http://refinerycms.com
|
544
535
|
licenses: []
|
data/CONTRIBUTORS
DELETED
@@ -1,11 +0,0 @@
|
|
1
|
-
Major Contributors
|
2
|
-
- parndt - Philip Arndt - http://www.resolvedigital.co.nz
|
3
|
-
- djones - David Jones - http://www.d-jones.com http://www.resolvedigital.co.nz
|
4
|
-
|
5
|
-
Minor Contributors
|
6
|
-
- ryanwood - Ryan Wood - http://www.ryanwood.com
|
7
|
-
- hernan - Hernan Fernandez
|
8
|
-
- btucker - Ben Tucker - http://btucker.net
|
9
|
-
- avit - Andrew Vit - http://avit.ca
|
10
|
-
- stevenheidel - Steven Heidel - http://www.livingskywebdesign.com
|
11
|
-
- moretea - Maarten Hoogendoorn
|
data/README.rdoc
DELETED
@@ -1,78 +0,0 @@
|
|
1
|
-
== About Refinery
|
2
|
-
|
3
|
-
Refinery is a simple, easy to use, well presented content manager for small businesses.
|
4
|
-
|
5
|
-
Refinery was born out of Resolve Digital (http://resolvedigital.co.nz).
|
6
|
-
After building 40 real client sites, we began making our own content manager which would suit the small businesses we worked with. We learnt all the common requests and included them and nothing more.
|
7
|
-
|
8
|
-
== License
|
9
|
-
|
10
|
-
Refinery is released under the MIT license and is copyright (c) 2005-2009 Resolve Digital Ltd.
|
11
|
-
A copy of the MIT license can be found in the LICENSE file.
|
12
|
-
|
13
|
-
== Help and Developer Documentation
|
14
|
-
|
15
|
-
For help and general discussion about RefineryCMS, we have set up a Google Group at:
|
16
|
-
http://groups.google.com/group/refinery-cms
|
17
|
-
|
18
|
-
Developer documentation is available here:
|
19
|
-
http://api.refinerycms.org
|
20
|
-
|
21
|
-
== Setup
|
22
|
-
|
23
|
-
Step One: Getting the Refinery code!
|
24
|
-
------------------------------------
|
25
|
-
|
26
|
-
Method One -- RubyGems:
|
27
|
-
|
28
|
-
gem install refinerycms --source http://gemcutter.org
|
29
|
-
refinery /path/to/project
|
30
|
-
|
31
|
-
Method Two -- git:
|
32
|
-
|
33
|
-
git clone git://github.com/resolve/refinerycms.git mynewsite.com
|
34
|
-
cd ./mynewsite.com
|
35
|
-
git remote rm origin
|
36
|
-
git remote add origin git@github.com:you/yournewsite.git
|
37
|
-
mv ./config/database.yml.example ./config/database.yml
|
38
|
-
|
39
|
-
Step Two: Configuration
|
40
|
-
-----------------------
|
41
|
-
|
42
|
-
Edit ./config/database.yml to your database server details.
|
43
|
-
|
44
|
-
Then run this to create your database and fill it with Refinery's default data:
|
45
|
-
rake db:setup
|
46
|
-
|
47
|
-
== Starting up your site
|
48
|
-
ruby script/server
|
49
|
-
|
50
|
-
Now in your browser go to http://localhost:3000 and your site should be running.
|
51
|
-
|
52
|
-
You will be prompted to setup your first user.
|
53
|
-
|
54
|
-
== Environment required
|
55
|
-
|
56
|
-
Refinery runs using a number of gems which (as of Refinery version 0.9.5.29) are outlined below:
|
57
|
-
|
58
|
-
- "rake", :version => ">= 0.8.3"
|
59
|
-
- "friendly_id", :version => ">= 2.2.2"
|
60
|
-
- "will_paginate", :version => ">= 2.3.11"
|
61
|
-
- "rails", :version => ">= 2.3.5"
|
62
|
-
- "aasm", :version => ">= 2.1.3"
|
63
|
-
- "unicode", :version => ">= 0.1"
|
64
|
-
- "slim_scrooge", :version => ">= 1.0.3"
|
65
|
-
- "hpricot", :version => ">= 0.8.1"
|
66
|
-
|
67
|
-
== Updates to core files
|
68
|
-
|
69
|
-
If you are running Refinery as a gem, updates are simple to incorporate into your project.
|
70
|
-
Simply run the command 'refinery-update-core /path/to/project' and the up-to-date core files will be copied from the latest gem into your project's directory.
|
71
|
-
Note: the directory that you specify here must be the Rails root for the project.
|
72
|
-
|
73
|
-
If you are running using a git clone, you can update by running these commands:
|
74
|
-
|
75
|
-
git remote add refinerycms git://github.com/resolve/refinerycms.git
|
76
|
-
git pull refinerycms master
|
77
|
-
|
78
|
-
This will pull in all of the updated files in the project and may result in some merge conflicts which you will need to resolve.
|
data/themes/demolicious/LICENSE
DELETED
@@ -1,21 +0,0 @@
|
|
1
|
-
== MIT License
|
2
|
-
|
3
|
-
Copyright (c) 2005-2009 Resolve Digital Ltd.
|
4
|
-
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
7
|
-
in the Software without restriction, including without limitation the rights
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
10
|
-
furnished to do so, subject to the following conditions:
|
11
|
-
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
13
|
-
copies or substantial portions of the Software.
|
14
|
-
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
-
SOFTWARE.
|
data/themes/demolicious/README
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
Clean simple theme used and provided for free with Refinery. It's used in the demo Refinery site, http://demo.refinerycms.org
|
Binary file
|
Binary file
|
Binary file
|
@@ -1,94 +0,0 @@
|
|
1
|
-
@import url('refinery/application.css');
|
2
|
-
/*
|
3
|
-
Override default refinery application CSS below.
|
4
|
-
Formatting applies to all frontend.
|
5
|
-
*/
|
6
|
-
body {
|
7
|
-
margin: 0px;
|
8
|
-
padding: 0px;
|
9
|
-
}
|
10
|
-
#body_content {
|
11
|
-
margin-top: 36px;
|
12
|
-
}
|
13
|
-
#body_content_left {
|
14
|
-
width: 544px;
|
15
|
-
}
|
16
|
-
#body_content_right {
|
17
|
-
width: 396px;
|
18
|
-
}
|
19
|
-
#body_content_right img {
|
20
|
-
border: 3px solid #c7c7c7;
|
21
|
-
}
|
22
|
-
#page {
|
23
|
-
width: 100%;
|
24
|
-
padding: 0px;
|
25
|
-
margin: 0px;
|
26
|
-
}
|
27
|
-
#body, #header_content, #footer_content {
|
28
|
-
width: 960px;
|
29
|
-
margin: 0px auto;
|
30
|
-
}
|
31
|
-
#header {
|
32
|
-
background: url('/images/theme/header_background.png') repeat-x;
|
33
|
-
}
|
34
|
-
#header_content {
|
35
|
-
position: relative;
|
36
|
-
height: 132px;
|
37
|
-
}
|
38
|
-
#header_content h1, #header_content h1 a {
|
39
|
-
color: #feffff;
|
40
|
-
font-size: 24px;
|
41
|
-
font-weight: normal;
|
42
|
-
left: 0px;
|
43
|
-
text-decoration: none;
|
44
|
-
}
|
45
|
-
#header_content h1, #header_content #menu {
|
46
|
-
position: absolute;
|
47
|
-
bottom: 30px;
|
48
|
-
margin: 0px;
|
49
|
-
}
|
50
|
-
#header_content #menu {
|
51
|
-
right: 0px;
|
52
|
-
padding: 0px;
|
53
|
-
}
|
54
|
-
#menu li {
|
55
|
-
float: left;
|
56
|
-
list-style: none;
|
57
|
-
position: relative;
|
58
|
-
}
|
59
|
-
#menu li a, #menu li:hover ul li a {
|
60
|
-
color: #969792;
|
61
|
-
display: block;
|
62
|
-
padding: 10px 18px;
|
63
|
-
text-decoration: none;
|
64
|
-
cursor: pointer;
|
65
|
-
}
|
66
|
-
#menu li.selected a, #menu li:hover a, #menu li a:hover, #menu li ul li a:hover {
|
67
|
-
color: #32322b;
|
68
|
-
background: white;
|
69
|
-
}
|
70
|
-
#menu li ul {
|
71
|
-
position: absolute;
|
72
|
-
left: -99999px;
|
73
|
-
padding: 0px;
|
74
|
-
margin: 0px;
|
75
|
-
min-width: 140px;
|
76
|
-
max-width: 300px;
|
77
|
-
background: white;
|
78
|
-
}
|
79
|
-
#menu li ul li {
|
80
|
-
float: left;
|
81
|
-
}
|
82
|
-
#menu li:hover ul {
|
83
|
-
left: auto;
|
84
|
-
}
|
85
|
-
#footer {
|
86
|
-
margin-top: 120px;
|
87
|
-
background: url('/images/theme/footer_background.png') repeat-x;
|
88
|
-
}
|
89
|
-
#footer_content {
|
90
|
-
height: 103px;
|
91
|
-
padding-top: 94px;
|
92
|
-
background: url('/images/refinery/logo.png') 0px 80px no-repeat;
|
93
|
-
text-align: right;
|
94
|
-
}
|
@@ -1,36 +0,0 @@
|
|
1
|
-
@import url('refinery/formatting.css');
|
2
|
-
/*
|
3
|
-
Override default refinery formatting below.
|
4
|
-
Formatting applies to backend WYSIWYG editors and all frontend.
|
5
|
-
*/
|
6
|
-
body {
|
7
|
-
font-family: Verdana;
|
8
|
-
font-size: 12px;
|
9
|
-
}
|
10
|
-
#body_content_left *, #body_content_right * {
|
11
|
-
line-height: 22px;
|
12
|
-
color: #585858;
|
13
|
-
}
|
14
|
-
h1, #body_content h1, h1#body_content_page_title {
|
15
|
-
color: #eb1313;
|
16
|
-
font-size: 25px;
|
17
|
-
font-weight: normal;
|
18
|
-
font-family: "Trebuchet MS", Trebuchet;
|
19
|
-
}
|
20
|
-
#body_content_left p, #body_content_right p {
|
21
|
-
margin-bottom: 23px;
|
22
|
-
}
|
23
|
-
h2, h3 {
|
24
|
-
color: #8f8f8f;
|
25
|
-
font-weight: normal;
|
26
|
-
}
|
27
|
-
h2 {
|
28
|
-
font-size: 18px;
|
29
|
-
}
|
30
|
-
h3 {
|
31
|
-
font-size: 16px;
|
32
|
-
}
|
33
|
-
#footer_content * {
|
34
|
-
color: #c7c7c7;
|
35
|
-
font-size: 11px;
|
36
|
-
}
|