Commit Graph

47 Commits

Author SHA1 Message Date
chris 36ddbf68e0 Fix menu_enabled_for 2013-10-29 14:39:23 +08:00
chris a4d1c68299 Structure page with json 2013-10-23 18:39:35 +08:00
chris 5328a26440 Fix structure position 2013-10-08 12:33:24 +08:00
chris 43cf6b70b7 Fix structure reorder position 2013-10-04 15:07:24 +08:00
rulingcom 408bebaa4b Ray's changes in structure 2013-07-22 14:06:58 +08:00
Matt K. Fu 54a35b30be fix design index bug when start start from blank DB.
add delay impressionist.
add several i18n vars
2013-05-23 12:07:43 +08:00
chris c2331695cd Set order of page context to match the order of structure
Add some params to keep the sorting
2013-05-07 11:15:30 +08:00
Matt K. Fu 41168f4c99 fix for fronted routing failed 2013-04-23 10:01:02 +08:00
chris a9aa1dd150 Fix for path renaming 2013-02-19 18:09:55 +08:00
chris 17ac564fbb Fix sitemap nil
Fix namespace of role in subrole
2013-02-19 17:39:43 +08:00
Fu Matthew 76296ab29b Merge branch 'sidebar_config' into ntu
Conflicts:
	app/controllers/admin/object_auths_new_interface_controller.rb
	app/controllers/orbit_backend_controller.rb
	app/controllers/orbit_widget_controller.rb
	app/models/module_app.rb
	app/views/admin/page_parts/_module_widget.html.erb
	config/locales/zh_tw.yml
	lib/parsers/parser_common.rb
	lib/parsers/parser_front_end.rb
2013-01-08 14:17:21 +08:00
chris fa83dbf791 Fix order in structure 2013-01-03 19:15:08 +08:00
chris 37309a452d Fix site map and menu order 2012-12-28 11:37:37 +08:00
Matthew K. Fu JuYuan 6995bb1622 put module app json into init,making orbit app work with module app. 2012-12-24 16:23:16 +08:00
chris fcbba6660b Only one parser for front end
Separate site map for i18n
2012-12-19 17:15:31 +08:00
Matthew K. Fu JuYuan e8317e0a4b 1.Remove category column when category is specified
2.Showing category if not in category browsing
3.Redirect to home and show error if app page is not available for user language
4.Showing no context to display if object has no language for it.
5.Browse new and announcement by unit is now applicable.
2012-08-08 14:46:08 +08:00
Christophe Vilayphiou 9982fd880f Update the path when name is changed in item.rb 2012-08-08 10:53:04 +08:00
Christophe Vilayphiou a8cc581279 Sitemap done for backend and fronted 2012-07-27 19:13:40 +08:00
Christophe Vilayphiou db9c4c0e10 Partial sitemap 2012-07-27 19:13:39 +08:00
Christophe Vilayphiou 49dd3a1770 Remove i18n_variable for controllers, helpers and models 2012-07-27 19:13:39 +08:00
Christophe Vilayphiou 11a371cbb9 Fix destroy in structure
Fix sorting
2012-05-22 17:55:45 +08:00
Christophe Vilayphiou 17b486f9e9 Fix bugs for shift_to and change items.rake for the missing position in db 2012-05-11 17:56:26 +08:00
Christophe Vilayphiou 6a443f0976 Add mongoid-tree to Item 2012-05-11 16:16:09 +08:00
Christophe Vilayphiou 9ead6cafda Ray's changes 2012-05-09 04:15:02 +08:00
Christophe Vilayphiou 8a3f0b9bdc Add menu_enabled_for: the page can be shown even if there's no link in the menu 2012-05-07 15:47:14 +08:00
Christophe Vilayphiou ce1fecaf93 Add position ordering and hiding page for i18n 2012-05-06 00:35:13 +08:00
Christophe Vilayphiou 0b71714d44 Improve code in items, pages, links 2012-02-17 14:54:11 +08:00
Christophe Vilayphiou e0accbecaa Changes into page_part edition.
Can choose between 'text', 'public_r_tag' and 'widget'
2012-02-16 13:09:09 +08:00
chris2tof 7b5ea870a0 Delete page. 2011-06-01 12:00:41 +08:00
chris2tof d9ba76ebd5 - No more Home object
- Sitemap on the left side and view of the current page in the main block
2011-05-09 18:49:57 +08:00
chris 0067ac48a5 include Mongoid::Timestamps 2011-04-13 18:22:52 +08:00
rulingcom c44b86f284 fix bugs for i18n_variable in page and home 2011-04-13 18:22:49 +08:00
chris bda67684bd mongoid rc_6 & fix bugs 2011-04-13 18:22:49 +08:00
ihower 19a7d51e60 Chris's first commit at Fri Jan 28 2011 10:14:32 GMT+0800 (CST) 2011-04-13 18:19:51 +08:00
Wen-Tien Chang 13065aa85a Add devise gem and panel/users controller 2010-03-04 16:33:26 +08:00
Wen-Tien Chang e87b3c1d61 upgrade to mongo_mapper 0.7.0 2010-03-01 16:18:28 +08:00
Wen-Tien Chang 496d73487b Fixed Item#parent_name again 2010-02-22 17:09:39 +08:00
Wen-Tien Chang f9b1618ac7 Fixed Item#parent_name 2010-02-22 15:27:11 +08:00
Wen-Tien Chang 9fa03db2c0 Let nested route works 2010-02-11 16:46:20 +08:00
Wen-Tien Chang 66a462faa8 Add nested route url 2010-02-05 17:18:57 +08:00
Wen-Tien Chang e11dc5dd83 check uniqueness for item, layout and snippet 2010-02-05 17:04:07 +08:00
Wen-Tien Chang 11991320d2 fix foreign key should be ObjectID 2010-02-05 16:53:52 +08:00
Wen-Tien Chang 8da5323fd0 Let page edit from can select layout 2010-01-28 17:42:55 +08:00
Wen-Tien Chang 12de9d2514 Add validation for item.name, only allow [a-zA-z-_] 2010-01-28 17:30:35 +08:00
Wen-Tien Chang aab1199aee Add rake dev:build for pages 2010-01-18 16:23:33 +08:00
Wen-Tien Chang 32e8bd108f Add Item#ancestors 2010-01-18 15:52:52 +08:00
Wen-Tien Chang e1440a79d8 Add Item, Page, Component, Link inheritanced models 2010-01-14 18:30:53 +08:00