Commit Graph

254 Commits

Author SHA1 Message Date
chiu cc4cb9f1a2 try to fix bundle update failed problem 2020-02-19 18:36:14 +08:00
chiu cb328810d7 Update announcement.gemspec 2020-02-19 17:58:34 +08:00
chiu 702f388ffe Update announcement.gemspec 2020-02-19 17:45:55 +08:00
chiu e77f9ba290 Update Gemfile 2020-02-19 17:05:32 +08:00
chiu f5aff775ba fix the error that cannot reopen the site after kill the site 2020-02-18 13:49:10 +08:00
chiu b1e158e7e8 fix error of copy 2020-02-17 22:29:39 +08:00
chiu be6d143cc8 use ; will cause the command not execute after complete bundle update 2020-02-17 21:57:13 +08:00
chiu e7c798ecd5 fix error of changing directory 2020-02-17 21:50:15 +08:00
chiu b6ee458f20 fix some error 2020-02-17 21:23:26 +08:00
chiu 02c1b2685c auto change git remote url 2020-02-16 11:17:52 +08:00
chiu d85331887a remove double thread.new 2020-02-15 15:33:11 +08:00
chiu f1de48f203 add auto restart after bundle update 2020-02-15 15:31:59 +08:00
chiu e64852e86b try fix long update problem 2020-02-15 14:55:22 +08:00
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