Commit Graph

291 Commits

Author SHA1 Message Date
chiu 22b04ae5a3 avoid server sometime will crash when using io.open to command 2020-02-15 14:37:05 +08:00
chiu b8972a0ef9 fix crash problem in development mode 2020-02-15 10:22:57 +08:00
chiu 215b1c1647 fix error 2020-02-14 23:19:35 +08:00
chiu b63edd5e8c fix bundle update error by this module 2020-02-14 22:31:52 +08:00
chiu 9831147c79 Merge branch 'master' into 'master'
change some translation and reduce the feature of ckeditor in title

field at admin

See merge request !12
2020-02-11 21:15:34 +08:00
chiu 036b3132b1 change some translation and reduce the feature of ckeditor in title
field at admin
2020-02-11 21:12:54 +08:00
chiu fa62f06c9f Merge branch 'master' into 'master'
add ckeditor to title and add title to a tag



See merge request !11
2020-02-06 12:48:41 +08:00
chiu a4ddbb351d add ckeditor to title and add title to a tag 2020-02-06 12:46:38 +08:00
chiu 3c3b7160a2 Merge branch 'master' into 'master'
add new feature: let user can choose whether to show next and prev

option

See merge request !10
2020-02-04 16:36:59 +08:00
chiu 31b331d852 add new feature: let user can choose whether to show next and prev
option
2020-02-01 11:47:52 +08:00
wmcheng 4dfda03bfd Merge branch 'master' into 'master'
add option for user can change image version at subpart



See merge request !9
2020-01-22 01:48:11 +08:00
chiu 5c7dfb0d53 add option for user can change image version at subpart 2020-01-21 22:31:59 +08:00
EricTYL 9883c41966 Merge branch 'master' into 'master'
show / hide image and image description together

show / hide image and image description together

See merge request !8
2020-01-14 13:14:58 +08:00
EricTYL f2916c9e3c show / hide image and image description together 2020-01-14 13:13:13 +08:00
EricTYL 3883e1a661 Merge branch 'master' into 'master'
add i18n, add image description

* add i18n for displaying subtitle / cover image
* add img_description for front-end

See merge request !7
2020-01-13 17:27:42 +08:00
EricTYL 0fa05d46c2 add img_description for front-end 2020-01-13 17:24:21 +08:00
EricTYL 78c62a0633 add i18n for displaying subtitle / cover image 2020-01-13 17:14:53 +08:00
EricTYL 285eef9f8e Merge branch 'master' into 'master'
add checkbox for displaying img / subtitle

add checkbox for displaying img / subtitle

See merge request !6
2020-01-13 15:39:23 +08:00
EricTYL 0cba386e89 return subtitle_ann / img_src when they are displayable 2020-01-13 15:16:46 +08:00
EricTYL 2501d578bd add checkbox for display_subtitle and display_img 2020-01-13 14:51:37 +08:00
EricTYL 43b14b8a79 add fields and model methods to Bulletin 2020-01-13 12:55:14 +08:00
wmcheng ccd06edd25 Merge branch 'master' into 'master'
overide ActionDispatch::Request.original_url method to solve the problem of https review



See merge request !5
2019-11-19 23:39:00 +08:00
chiu f64c421ef5 overide ActionDispatch::Request.original_url method to solve the problem of https review 2019-11-19 22:22:37 +08:00
EricTYL 56822ed38c Merge branch 'master' into 'master'
return subtitle and image for templates

add subtitle and image to return value(hash)

See merge request !4
2019-11-04 12:27:13 +08:00
EricTYL d1957d6b88 remove trailing space 2019-10-29 15:51:02 +08:00
EricTYL 810c283dc6 add img_src for front-end 2019-10-29 15:48:05 +08:00
EricTYL c3c8e4864b add subtitle_ann for front-end 2019-10-29 14:49:10 +08:00
EricTYL 82ab7c40ec auto format 2019-10-29 14:48:02 +08:00
EricTYL 862dc14449 auto format 2019-10-29 14:45:45 +08:00
wmcheng d3fe410df4 Merge branch 'master' into 'master'
Update _form_file.html.erb

avoid the file to being deleted by js

See merge request !2
2019-10-14 13:48:23 +08:00
wmcheng 2208f76337 Merge branch 'master' into 'master'
rake task for remove preview bulletins

add a Ruby scheduler process (not a cronjob) to remove bulletins generated by preview

See merge request !3
2019-10-14 13:47:58 +08:00
EricTYL 7471f40e3f delete preview bulletins at 02:43 daily, using ruby process rather than cronjob 2019-10-09 16:43:37 +08:00
EricTYL 585397f32f let rake task use orbit site's environment 2019-10-09 16:41:17 +08:00
EricTYL 5382ccdd9e create rake task to remove preview bulletins 2019-10-09 16:38:37 +08:00
chiu 2a51723b3f Update _form_file.html.erb
avoid the file to being deleted by js
2019-10-01 20:27:51 +08:00
wmcheng 97da1bc047 Merge branch 'master' into 'master'
delete the empty file when user is in show-page

delete the empty file when user is in show-page to 

achieve Accessibility

See merge request !1
2019-09-16 11:36:17 +08:00
BOHUNG 02e4df8b1f delete the empty file when user is in show-page 2019-09-15 14:35:23 +08:00
Bomrah Harry fb83cc7ec5 sanatized querystring from url 2019-01-16 17:37:32 +08:00
Bomrah Harry ee215cfadb fix for http and https in index page for loading page 2018-10-25 16:44:49 +08:00
Bomrah Harry 87f853242e fix for https 2018-10-17 17:21:06 +08:00
Harry Bomrah a0df7f77f4 language translations 2018-01-19 17:05:26 +08:00
Harry Bomrah 370f3fd325 added postdate search filter in announcement 2018-01-18 20:40:56 +08:00
Harry Bomrah cf5c45cb34 added filter start and end date options 2017-12-11 16:45:01 +08:00
Harry Bomrah 30687d655f Update feed.html.erb 2017-11-30 11:05:55 +08:00
Harry Bomrah 274801b761 Update new.html.erb 2017-11-26 23:03:21 +08:00
Harry Bomrah a040370005 Update new.html.erb 2017-11-26 22:52:19 +08:00
Harry Bomrah 3c3b2f2051 Update edit.html.erb 2017-11-26 22:50:15 +08:00
Harry Bomrah 59a2323760 Update feed.html.erb 2017-11-26 22:48:48 +08:00
Harry Bomrah c118a893e2 Update feed.html.erb 2017-11-26 22:43:23 +08:00
Harry Bomrah c6e4066fd4 Update edit.html.erb 2017-11-26 22:33:54 +08:00