thredded 0.6.3 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +12 -12
- data/app/assets/images/thredded/follow.svg +1 -0
- data/app/assets/images/thredded/unfollow.svg +1 -0
- data/app/assets/stylesheets/thredded/_thredded.scss +27 -28
- data/app/assets/stylesheets/thredded/components/_alerts.scss +5 -5
- data/app/assets/stylesheets/thredded/components/_base.scss +5 -5
- data/app/assets/stylesheets/thredded/components/_currently-online.scss +1 -1
- data/app/assets/stylesheets/thredded/components/_empty.scss +2 -2
- data/app/assets/stylesheets/thredded/components/_flash-message.scss +5 -5
- data/app/assets/stylesheets/thredded/components/_following.scss +17 -0
- data/app/assets/stylesheets/thredded/components/_form-list.scss +3 -3
- data/app/assets/stylesheets/thredded/components/_icons.scss +1 -1
- data/app/assets/stylesheets/thredded/components/_main-section.scss +1 -1
- data/app/assets/stylesheets/thredded/components/_messageboard.scss +6 -6
- data/app/assets/stylesheets/thredded/components/_pagination.scss +1 -1
- data/app/assets/stylesheets/thredded/components/_post-form.scss +1 -1
- data/app/assets/stylesheets/thredded/components/_post.scss +12 -11
- data/app/assets/stylesheets/thredded/components/_preferences.scss +1 -1
- data/app/assets/stylesheets/thredded/components/_select2.scss +4 -4
- data/app/assets/stylesheets/thredded/components/_topic-delete.scss +4 -8
- data/app/assets/stylesheets/thredded/components/_topic-header.scss +25 -11
- data/app/assets/stylesheets/thredded/components/_topics.scss +37 -15
- data/app/assets/stylesheets/thredded/layout/_main-container.scss +1 -1
- data/app/assets/stylesheets/thredded/layout/_main-navigation.scss +2 -2
- data/app/assets/stylesheets/thredded/layout/_moderation.scss +16 -15
- data/app/assets/stylesheets/thredded/layout/_navigation.scss +6 -6
- data/app/assets/stylesheets/thredded/layout/_search-navigation.scss +1 -1
- data/app/assets/stylesheets/thredded/layout/_user-navigation.scss +13 -13
- data/app/assets/stylesheets/thredded/layout/_user.scss +1 -1
- data/app/assets/stylesheets/thredded/utilities/_is-compact.scss +1 -1
- data/app/assets/stylesheets/thredded/utilities/_is-expanded.scss +1 -1
- data/app/commands/thredded/notify_following_users.rb +1 -1
- data/app/controllers/thredded/messageboard_groups_controller.rb +3 -1
- data/app/controllers/thredded/messageboards_controller.rb +1 -3
- data/app/controllers/thredded/private_topics_controller.rb +1 -1
- data/app/controllers/thredded/topics_controller.rb +16 -9
- data/app/helpers/thredded/application_helper.rb +36 -0
- data/app/models/concerns/thredded/topic_common.rb +2 -2
- data/app/models/concerns/thredded/user_topic_read_state_common.rb +1 -1
- data/app/models/thredded/messageboard.rb +34 -7
- data/app/models/thredded/messageboard_group.rb +8 -1
- data/app/models/thredded/null_user.rb +4 -0
- data/app/models/thredded/post_moderation_record.rb +1 -1
- data/app/models/thredded/private_post.rb +5 -1
- data/app/models/thredded/stats.rb +1 -1
- data/app/models/thredded/topic.rb +5 -3
- data/app/models/thredded/user_detail.rb +2 -0
- data/app/models/thredded/user_extender.rb +4 -2
- data/app/models/thredded/user_topic_follow.rb +12 -1
- data/app/view_models/thredded/base_topic_view.rb +1 -1
- data/app/view_models/thredded/messageboard_group_view.rb +11 -0
- data/app/view_models/thredded/topic_view.rb +15 -2
- data/app/views/thredded/messageboards/_messageboard.html.erb +2 -2
- data/app/views/thredded/moderation/_post.html.erb +1 -1
- data/app/views/thredded/moderation/_post_moderation_record.html.erb +1 -1
- data/app/views/thredded/moderation/user.html.erb +1 -1
- data/app/views/thredded/moderation/users.html.erb +1 -1
- data/app/views/thredded/private_topic_mailer/message_notification.html.erb +1 -1
- data/app/views/thredded/private_topic_mailer/message_notification.text.erb +1 -1
- data/app/views/thredded/private_topics/_private_topic.html.erb +1 -1
- data/app/views/thredded/shared/_currently_online.html.erb +1 -1
- data/app/views/thredded/shared/_nav.html.erb +1 -1
- data/app/views/thredded/shared/_page.html.erb +2 -2
- data/app/views/thredded/topics/_followers.html.erb +12 -0
- data/app/views/thredded/topics/_header.html.erb +10 -9
- data/app/views/thredded/topics/_topic.html.erb +13 -2
- data/app/views/thredded/topics/index.html.erb +5 -0
- data/app/views/thredded/users/_link.html.erb +2 -2
- data/config/locales/en.yml +20 -18
- data/config/locales/pt-BR.yml +14 -9
- data/db/migrate/20160329231848_create_thredded.rb +4 -0
- data/db/upgrade_migrations/20160611094616_upgrade_v0_5_to_v0_6.rb +1 -1
- data/db/upgrade_migrations/20160723012349_upgrade_v0_6_to_v0_7.rb +43 -0
- data/lib/generators/thredded/install/templates/initializer.rb +15 -0
- data/lib/html/pipeline/at_mention_filter.rb +1 -1
- data/lib/thredded.rb +24 -0
- data/lib/thredded/database_seeder.rb +15 -5
- data/lib/thredded/version.rb +1 -1
- metadata +8 -9
- data/CHANGELOG.md +0 -399
- data/Procfile +0 -1
- data/config.ru +0 -3
- data/heroku.gemfile +0 -28
- data/heroku.gemfile.lock +0 -268
- data/thredded.gemspec +0 -78
@@ -240,16 +240,26 @@ module Thredded
|
|
240
240
|
def create(count: (1..1))
|
241
241
|
log "Creating #{count} additional posts in each topic..."
|
242
242
|
seeder.topics.flat_map do |topic|
|
243
|
-
|
244
|
-
|
245
|
-
|
243
|
+
last_post_at = random_duration(0..72.hours).ago
|
244
|
+
posts_count = (count.min + rand(count.max + 1))
|
245
|
+
posts = range_of_dates_in_order(up_to: last_post_at, count: posts_count).map.with_index do |written_at, i|
|
246
|
+
author = i.zero? ? topic.user : seeder.users.sample
|
246
247
|
FactoryGirl.create(:post, postable: topic, messageboard: seeder.first_messageboard,
|
247
|
-
user:
|
248
|
+
user: author, created_at: written_at, updated_at: written_at)
|
248
249
|
end
|
249
|
-
topic.update!(last_user_id: posts.last.user.id, updated_at:
|
250
|
+
topic.update!(last_user_id: posts.last.user.id, updated_at: last_post_at, last_post_at: last_post_at)
|
250
251
|
posts
|
251
252
|
end
|
252
253
|
end
|
254
|
+
|
255
|
+
def range_of_dates_in_order(up_to: Time.zone.now, count: 1)
|
256
|
+
written = up_to
|
257
|
+
Array.new(count - 1) { written -= random_duration(10.minutes..6.hours) }.reverse + [up_to]
|
258
|
+
end
|
259
|
+
|
260
|
+
def random_duration(range)
|
261
|
+
(range.min.to_i + rand(range.max.to_i)).seconds
|
262
|
+
end
|
253
263
|
end
|
254
264
|
|
255
265
|
class PrivatePosts < CollectionSeedData
|
data/lib/thredded/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: thredded
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Joel Oliveira
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-
|
12
|
+
date: 2016-10-13 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bbcoder
|
@@ -609,14 +609,14 @@ executables: []
|
|
609
609
|
extensions: []
|
610
610
|
extra_rdoc_files: []
|
611
611
|
files:
|
612
|
-
- CHANGELOG.md
|
613
612
|
- MIT-LICENSE
|
614
|
-
- Procfile
|
615
613
|
- README.md
|
616
614
|
- app/assets/images/thredded/breadcrumb-chevron.svg
|
615
|
+
- app/assets/images/thredded/follow.svg
|
617
616
|
- app/assets/images/thredded/moderation.svg
|
618
617
|
- app/assets/images/thredded/private-messages.svg
|
619
618
|
- app/assets/images/thredded/settings.svg
|
619
|
+
- app/assets/images/thredded/unfollow.svg
|
620
620
|
- app/assets/javascripts/thredded.es6
|
621
621
|
- app/assets/javascripts/thredded/components/currently_online.es6
|
622
622
|
- app/assets/javascripts/thredded/components/post_form.es6
|
@@ -645,6 +645,7 @@ files:
|
|
645
645
|
- app/assets/stylesheets/thredded/components/_currently-online.scss
|
646
646
|
- app/assets/stylesheets/thredded/components/_empty.scss
|
647
647
|
- app/assets/stylesheets/thredded/components/_flash-message.scss
|
648
|
+
- app/assets/stylesheets/thredded/components/_following.scss
|
648
649
|
- app/assets/stylesheets/thredded/components/_form-list.scss
|
649
650
|
- app/assets/stylesheets/thredded/components/_icons.scss
|
650
651
|
- app/assets/stylesheets/thredded/components/_main-section.scss
|
@@ -828,6 +829,7 @@ files:
|
|
828
829
|
- app/views/thredded/shared/nav/_standalone.html.erb
|
829
830
|
- app/views/thredded/theme_previews/_section_title.html.erb
|
830
831
|
- app/views/thredded/theme_previews/show.html.erb
|
832
|
+
- app/views/thredded/topics/_followers.html.erb
|
831
833
|
- app/views/thredded/topics/_form.html.erb
|
832
834
|
- app/views/thredded/topics/_header.html.erb
|
833
835
|
- app/views/thredded/topics/_topic.html.erb
|
@@ -842,7 +844,6 @@ files:
|
|
842
844
|
- app/views/thredded/users/_post.html.erb
|
843
845
|
- app/views/thredded/users/_posts.html.erb
|
844
846
|
- bin/rails
|
845
|
-
- config.ru
|
846
847
|
- config/i18n-tasks.yml
|
847
848
|
- config/locales/en.yml
|
848
849
|
- config/locales/pt-BR.yml
|
@@ -853,8 +854,7 @@ files:
|
|
853
854
|
- db/upgrade_migrations/20160429222452_upgrade_v0_3_to_v0_4.rb
|
854
855
|
- db/upgrade_migrations/20160501151908_upgrade_v0_4_to_v0_5.rb
|
855
856
|
- db/upgrade_migrations/20160611094616_upgrade_v0_5_to_v0_6.rb
|
856
|
-
-
|
857
|
-
- heroku.gemfile.lock
|
857
|
+
- db/upgrade_migrations/20160723012349_upgrade_v0_6_to_v0_7.rb
|
858
858
|
- lib/generators/thredded/install/USAGE
|
859
859
|
- lib/generators/thredded/install/install_generator.rb
|
860
860
|
- lib/generators/thredded/install/templates/initializer.rb
|
@@ -870,7 +870,6 @@ files:
|
|
870
870
|
- lib/thredded/search_parser.rb
|
871
871
|
- lib/thredded/topics_search.rb
|
872
872
|
- lib/thredded/version.rb
|
873
|
-
- thredded.gemspec
|
874
873
|
homepage: https://thredded.org
|
875
874
|
licenses:
|
876
875
|
- MIT
|
@@ -891,7 +890,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
891
890
|
version: '0'
|
892
891
|
requirements: []
|
893
892
|
rubyforge_project:
|
894
|
-
rubygems_version: 2.
|
893
|
+
rubygems_version: 2.6.6
|
895
894
|
signing_key:
|
896
895
|
specification_version: 4
|
897
896
|
summary: The best Rails forums engine ever.
|
data/CHANGELOG.md
DELETED
@@ -1,399 +0,0 @@
|
|
1
|
-
# v0.6.3
|
2
|
-
|
3
|
-
This is a minor bugfix release.
|
4
|
-
|
5
|
-
## Fixed
|
6
|
-
|
7
|
-
* Last topic post and last messageboard topic is kept in sync correctly with regards to moderation state changes.
|
8
|
-
[#384](https://github.com/thredded/thredded/issues/384) [#387](https://github.com/thredded/thredded/issues/387)
|
9
|
-
* Posts and private posts are now ordered by created at and not by ID, to avoid ordering issues in cases such as
|
10
|
-
imported content. [#360](https://github.com/thredded/thredded/issues/360)
|
11
|
-
* The global preferences URL now works when the Thredde URL helpers are included into another engine.
|
12
|
-
[#355](https://github.com/thredded/thredded/pull/355)
|
13
|
-
|
14
|
-
See the full list of changes here: https://github.com/thredded/thredded/compare/v0.6.2...v0.6.3.
|
15
|
-
|
16
|
-
# v0.6.2
|
17
|
-
|
18
|
-
This is a minor bugfix release.
|
19
|
-
|
20
|
-
## Fixed
|
21
|
-
|
22
|
-
* Moderating posts, topics, and users no longer changes their `updated_at` attribute.
|
23
|
-
* Posts and topics that are not yet visible to all users no longer appear as last posts / topics in the respective
|
24
|
-
topic / messageboard.
|
25
|
-
* Cleaned up dependencies.
|
26
|
-
|
27
|
-
See the full list of changes here: https://github.com/thredded/thredded/compare/v0.6.1...v0.6.2.
|
28
|
-
|
29
|
-
# v0.6.1
|
30
|
-
|
31
|
-
This is a minor bugfix release.
|
32
|
-
|
33
|
-
## Added
|
34
|
-
|
35
|
-
* Adds an Activity tab to moderation, with a list of all the forum topics and posts, most recent first.
|
36
|
-
|
37
|
-
## Fixed
|
38
|
-
|
39
|
-
* Moderation history rendering of deleted content.
|
40
|
-
* Various bugs in @-mentions and highlighting.
|
41
|
-
|
42
|
-
See the full list of changes here: https://github.com/thredded/thredded/compare/v0.6.0...v0.6.1.
|
43
|
-
|
44
|
-
# 0.6.0 - 2016-06-12
|
45
|
-
|
46
|
-
**NB:** If updating to this version from 0.5.x, you will need to copy and run [this migration](https://github.com/thredded/thredded/blob/66f64068b9501ff4e8686c95894b6795aae6082f/db/upgrade_migrations/20160611094616_upgrade_v0_5_to_v0_6.rb).
|
47
|
-
|
48
|
-
## Added
|
49
|
-
|
50
|
-
* Adds a Users tab to moderation, where individual users can be moderated.
|
51
|
-
* Improves the display of posts in the moderation, showing the topic and
|
52
|
-
whether the post started the topic.
|
53
|
-
* Thredded now provides a way to render a user's recent posts in the main_app.
|
54
|
-
|
55
|
-
## Changed
|
56
|
-
|
57
|
-
* Moderators are now shown all content, including blocked content. A notice is shown on blocked content.
|
58
|
-
|
59
|
-
## Fixed
|
60
|
-
|
61
|
-
* Fixed a bug that prevented user deletion in main_app if they had posted on the forums.
|
62
|
-
|
63
|
-
See the full list of changes here: https://github.com/thredded/thredded/compare/v0.5.1...v0.6.0.
|
64
|
-
|
65
|
-
# 0.5.1
|
66
|
-
|
67
|
-
This is a minor bugfix release.
|
68
|
-
|
69
|
-
## Fixed
|
70
|
-
|
71
|
-
* Security: only allow http, https, and relative iframe src protocols.
|
72
|
-
* Security: sanitization filter is applied last (no actual issues were discovered, but this is how it should be).
|
73
|
-
* Fixes multiple issues with @-mentions parsing and highlighting. [e6357ff](https://github.com/thredded/thredded/commit/e6357ffb45bf9118a9f5c7df0d436bdffe0a84c6)
|
74
|
-
* Minor CSS fixes.
|
75
|
-
* Messageboards index page title is now i18n'd.
|
76
|
-
* The "Delete Topic" now shows a confirmation dialog.
|
77
|
-
* Editing posts by deleted users no longer throws an exception.
|
78
|
-
|
79
|
-
See the full list of changes here: https://github.com/thredded/thredded/compare/v0.5.0...v0.5.1.
|
80
|
-
|
81
|
-
# 0.5.0
|
82
|
-
|
83
|
-
**NB:** If updating to this version from 0.4.x, you will need to copy and run [this migration](https://github.com/thredded/thredded/blob/5e203c8eec05919d97f4d26fa2a1fc3081e992a7/db/upgrade_migrations/20160501151908_upgrade_v0_4_to_v0_5.rb).
|
84
|
-
|
85
|
-
## Added
|
86
|
-
|
87
|
-
This release includes two major features:
|
88
|
-
|
89
|
-
* Topic subscriptions and an improved notifications system. [#310](https://github.com/thredded/thredded/pull/310)
|
90
|
-
* A basic [moderation system](https://github.com/thredded/thredded#moderation). [#45](https://github.com/thredded/thredded/issues/45)
|
91
|
-
|
92
|
-
Additionally, content formatting is now easier to configure. [#321](https://github.com/thredded/thredded/pull/321)
|
93
|
-
|
94
|
-
## Changed
|
95
|
-
|
96
|
-
* `<figure>` and `<figcaption>` are now allowed in formatted post content.
|
97
|
-
|
98
|
-
## Fixed
|
99
|
-
|
100
|
-
* YouTube embeds. [#314](https://github.com/thredded/thredded/issues/314)
|
101
|
-
* Creating a topic now marks it as read. [#322](https://github.com/thredded/thredded/issues/322)
|
102
|
-
* Dates older than a year now display the year. [#309](https://github.com/thredded/thredded/issues/309)
|
103
|
-
* `<a>` tags without `href` in posts no longer cause an exception. [#313](https://github.com/thredded/thredded/issues/313)
|
104
|
-
|
105
|
-
See the full list of changes here: https://github.com/thredded/thredded/compare/v0.4.0...v0.5.0.
|
106
|
-
|
107
|
-
# 0.4.0 - 2016-05-21
|
108
|
-
|
109
|
-
**NB:** If updating to this version from 0.3.x, you will need to copy and run [this migration](https://github.com/thredded/thredded/blob/559fc205b9ee405abfe3968b981254f01f928027/db/upgrade_migrations/20160429222452_upgrade_v0_3_to_v0_4.rb).
|
110
|
-
|
111
|
-
## Fixed
|
112
|
-
|
113
|
-
* Results from messageboards that cannot be read by the user no longer appear in the search results. [77293c](https://github.com/thredded/thredded/commit/77293c88980ec97f178d9a47405fdf915cd36ccc)
|
114
|
-
* Word-wrap is no longer a hard one (wraps in the middle of a word), and now wraps in a more
|
115
|
-
acceptable spot - after words, at hyphens, etc.
|
116
|
-
* Mailers now use permalinks to posts that always redirect to the correct page number. [#301](https://github.com/thredded/thredded/pull/301)
|
117
|
-
|
118
|
-
## Added
|
119
|
-
|
120
|
-
* Messageboard groups ([#261](https://github.com/thredded/thredded/issues/261)) and editing ([#303](https://github.com/thredded/thredded/pull/303)).
|
121
|
-
* Spoiler(s) tag for post contents [5c8102a](https://github.com/thredded/thredded/commit/5c8102) `[spoiler]vader is luke's father[spoiler]`
|
122
|
-
* Styled blockquote tags.
|
123
|
-
* Empty partials before and after post textareas (for customization and extensibility) [#293](https://github.com/thredded/thredded/pull/293)
|
124
|
-
* New topic form page now allows pre-filling the fields from URL parameters. [#297](https://github.com/thredded/thredded/issues/297)
|
125
|
-
* Date format fix for dates older than 1 week. [9d71ba](https://github.com/thredded/thredded/commit/9d71ba2f1ddeac761e084e872a4b0a84ab62e35c)
|
126
|
-
|
127
|
-
See the full list of changes here: https://github.com/thredded/thredded/compare/v0.3.2...v0.4.0.
|
128
|
-
|
129
|
-
# 0.3.2 - 2016-05-04
|
130
|
-
|
131
|
-
* Main app routes are delegated correctly when using the standalone layout. [8a2ff56](https://github.com/thredded/thredded/commit/8a2ff56f73afe0d6e8e8ecede9666b8d65817fa3)
|
132
|
-
* Posts now have `word-break: break-all` applied to prevent overly long string form breaking the layout. [#267](https://github.com/thredded/thredded/issues/267)
|
133
|
-
* I18n for [rails-timeago](https://github.com/jgraichen/rails-timeago). [#270](https://github.com/thredded/thredded/issues/270)
|
134
|
-
|
135
|
-
# 0.3.1 - 2016-05-01
|
136
|
-
|
137
|
-
## Fixed
|
138
|
-
|
139
|
-
* Mobile Safari navigation UI bug. [#265](https://github.com/thredded/thredded/issues/265)
|
140
|
-
* iframe security vulnerability. [04fa108a7](https://github.com/thredded/thredded/commit/04fa108a7da177ee25c7d215f4c43dab2875a0c1)
|
141
|
-
* Markdown blockquotes. [#259](https://github.com/thredded/thredded/pull/259)
|
142
|
-
* Read state tracking timestamp issue. [2c85076ba](https://github.com/thredded/thredded/commit/2c85076ba1034a3664abc887f89b22e67405564d)
|
143
|
-
* Search input styles in various OS/Browser combinations.
|
144
|
-
* (Private)Topic read permission denied error. [#269](https://github.com/thredded/thredded/issues/269)
|
145
|
-
|
146
|
-
## Added
|
147
|
-
|
148
|
-
* Brazilian Portuguese translation. [#264](https://github.com/thredded/thredded/pull/264).
|
149
|
-
|
150
|
-
# 0.3.0 - 2016-04-22
|
151
|
-
|
152
|
-
Thredded now supports Rails 4.2+ only.
|
153
|
-
|
154
|
-
Thredded now also fully supports the latest Rails 5 beta, but currently this requires using master versions of certain
|
155
|
-
gems. See [rails_5_0.gemfile](https://github.com/thredded/thredded/blob/master/spec/gemfiles/rails_5_0.gemfile)
|
156
|
-
for more information.
|
157
|
-
|
158
|
-
## Fixed
|
159
|
-
|
160
|
-
* (Private)Topic slugs re-generate at appropriate time
|
161
|
-
[28c09f4](https://github.com/thredded/thredded/commit/28c09f40804d3a71bbc12c56819a8acab3c94f2d)
|
162
|
-
* Editing topics and private message subjects. [#235](https://github.com/thredded/thredded/pull/235)
|
163
|
-
* Require login for `PrivateTopicsController`.
|
164
|
-
[5739f5](https://github.com/thredded/thredded/commit/5739f50a513377392205a41958b5a2d3ca25dc10)
|
165
|
-
* Current user method now configurable via initializer.
|
166
|
-
[#234](https://github.com/thredded/thredded/pull/234)
|
167
|
-
* Pagination and possible route conflicts throughout. [#202](https://github.com/thredded/thredded/pull/202)
|
168
|
-
* Redirects to the correct page after posting a reply. [#205](https://github.com/thredded/thredded/pull/205)
|
169
|
-
* Search with special `by:user` and `in:category` qualifiers. [#206](https://github.com/thredded/thredded/pull/206)
|
170
|
-
* Private topics now validate presence of at least one user other than the creator. [#207](https://github.com/thredded/thredded/pull/207)
|
171
|
-
* "Not found" and "Permission denied" errors now render with the correct response codes. [#208](https://github.com/thredded/thredded/pull/208)
|
172
|
-
* Thredded user associations are now correctly nullified / destroyed when a user is destroyed in the parent app.
|
173
|
-
|
174
|
-
## Added
|
175
|
-
|
176
|
-
* Dummy App renamed to "Thredded Demo" and demo deployed to Heroku
|
177
|
-
* Added vimeo and youtube auto-embed support. [#216](https://github.com/thredded/thredded/pull/216)
|
178
|
-
* Ability to delete posts. [#214](https://github.com/thredded/thredded/pull/214)
|
179
|
-
* Global search across all messageboards. [#215](https://github.com/thredded/thredded/pull/215)
|
180
|
-
* Global notification settings, message notification settings. [#210](https://github.com/thredded/thredded/pull/210)
|
181
|
-
* Private topic user select now looks prettier and loads the user via AJAX, instead of generating a huge select with all
|
182
|
-
the users. [#199](https://github.com/thredded/thredded/pull/199).
|
183
|
-
* The theme is now more customizable thanks to a number of fixes and new variables. [#197](https://github.com/thredded/thredded/pull/197)
|
184
|
-
* The topic read state is now visually updated on click. [#198](https://github.com/thredded/thredded/pull/198)
|
185
|
-
* Email preview classes are now provided. [#196](https://github.com/thredded/thredded/pull/196).
|
186
|
-
* I18n'd a *bunch* of static copy. (Thanks @glebm!)
|
187
|
-
|
188
|
-
## Changed
|
189
|
-
|
190
|
-
* Navigation layout/design updated [ec699fd](https://github.com/thredded/thredded/commit/ec699fd)
|
191
|
-
* Changed from using Bbcode OR Markdown to *both*, simultaneously.
|
192
|
-
[#221](https://github.com/thredded/thredded/pull/221)
|
193
|
-
* Removed Timecop in favor of built-in rails `travel_to` helper.
|
194
|
-
[#226](https://github.com/thredded/thredded/pull/226)
|
195
|
-
* Moved from CanCanCan to Pundit. [#228](https://github.com/thredded/thredded/pull/228)
|
196
|
-
* Renamed "Private Topics" to "Private Messages"
|
197
|
-
* Renamed `$thredded-base-font-color` to `$thredded-text-color`.
|
198
|
-
* Renamed `$thredded-base-background-color` to `$thredded-background-color`.
|
199
|
-
|
200
|
-
# 0.2.2 - 2016-04-04
|
201
|
-
|
202
|
-
## Fixed
|
203
|
-
|
204
|
-
* Gemspec had been missing the file-listing for a while therefore previous gem versions would have
|
205
|
-
had installation issues. To use previous, broken, versions refer to the changelog notes for each
|
206
|
-
below.
|
207
|
-
* Images are now no larger than the post container div. CSS now makes sure the images are
|
208
|
-
appropriately sized.
|
209
|
-
* Fix an incorrectly closed div in `thredded/topics#show`
|
210
|
-
* Small fix for topics count circle - making sure 3 digit numbers fit in container circle.
|
211
|
-
|
212
|
-
## Added
|
213
|
-
|
214
|
-
* Rake task added to copy emojis to correct location in parent application.
|
215
|
-
* Properly styled categories in `thredded/topics#index`
|
216
|
-
|
217
|
-
|
218
|
-
# 0.2.1 - 2016-04-03
|
219
|
-
|
220
|
-
To install, in your Gemfile:
|
221
|
-
|
222
|
-
```
|
223
|
-
gem 'thredded', git: 'https://github.com/thredded/thredded.git', tag: 'v0.2.1'
|
224
|
-
```
|
225
|
-
|
226
|
-
## Changed
|
227
|
-
|
228
|
-
* All migrations have been squashed into one single db-agnostic migration.
|
229
|
-
* README has been updated with better instructions/support
|
230
|
-
|
231
|
-
# 0.2.0 - 2016-04-03
|
232
|
-
|
233
|
-
To install, in your Gemfile:
|
234
|
-
|
235
|
-
```
|
236
|
-
gem 'thredded', git: 'https://github.com/thredded/thredded.git', tag: 'v0.2.0'
|
237
|
-
```
|
238
|
-
|
239
|
-
## TLDR
|
240
|
-
|
241
|
-
A lot was updated. Apologies for not keeping this updated since `0.1.0`!
|
242
|
-
|
243
|
-
## Added
|
244
|
-
|
245
|
-
* Entirely new default theme. Courtesy @kylefiedler
|
246
|
-
* Full-text search abstracted out to gem (db_text_search) thanks to @glebm
|
247
|
-
* Rack-mini-profiler added to dummy app
|
248
|
-
|
249
|
-
## Changed
|
250
|
-
|
251
|
-
* Rails depedency bumped up to raisl 4.1+
|
252
|
-
* User permissions have been simplified considerably. (@glebm)
|
253
|
-
* Changed from using Q gem to ActiveJob
|
254
|
-
* Move SeedDatabase class out of an autoloaded path since it's for dev only (@cgunther)
|
255
|
-
|
256
|
-
|
257
|
-
## Fixed
|
258
|
-
|
259
|
-
* User path corrected (@saturnflyer)
|
260
|
-
* Move requiring turbolinks from thredded to dummy app (@cgunther)
|
261
|
-
* Fix location of layout in install generator (@mlaco)
|
262
|
-
|
263
|
-
##
|
264
|
-
|
265
|
-
# 0.1.0 - 2015-06-29
|
266
|
-
|
267
|
-
## Added
|
268
|
-
|
269
|
-
* Rake task to spin up a web server using the dummy application
|
270
|
-
* Rake task to assign user to a superadmin role
|
271
|
-
* A relatively large effort was put in effect for 0.1.0 to provide more thorough support for themes, new css and design, a small bit of javascript.
|
272
|
-
* Views have had a nice overhaul.
|
273
|
-
* Provide a generator that installs the default theme and integrates the associated css framework (if necessary). In the first theme we're using bourbon and neat. In the future - probably including foundation and bootstrap.
|
274
|
-
* Add a Dockerfile and docker-compose.yml to aid in getting a fully working instance of the thredded dummy app up and running.
|
275
|
-
* Instead of having a messageboard "setup" controller that is only available on the first run of the gem, move it over to `messageboards#new`.
|
276
|
-
|
277
|
-
## Changed
|
278
|
-
|
279
|
-
* Instead of creating a messageboard only once, allow superadmins to create new messageboards whenever through the messageboards resource.
|
280
|
-
* Use Puma instead of Webrick for the dev server
|
281
|
-
* Oft-used form elements (topics, posts) use the required html attribute.
|
282
|
-
|
283
|
-
## Fixed
|
284
|
-
|
285
|
-
* Remove Gemfile.lock from the repo
|
286
|
-
* Active users now shows the current user in addition to everyone else on the first (without having to refresh).
|
287
|
-
|
288
|
-
|
289
|
-
# 0.0.14
|
290
|
-
|
291
|
-
## Changed
|
292
|
-
|
293
|
-
* Until this release PrivateTopic inherited from Topic and used STI to reuse that table. Over time this led to some intermingling of concerns and more than the occasional shotgun surgery. As of now the Topic class has been split into Topic AND PrivateTopic, each with their own table.
|
294
|
-
* Provide means to display, or inspect, the unread private topics count. This now allows us to see if there are any private topics that one has not read.
|
295
|
-
* Add queue support for multiple background job libraries using the Q gem. Previous to now the only instances where we really cared about shoving something in the background was when we sent out mail - this is a bit myopic. There are several cases where some processes could/should be put into the background - hence needing a queue. The explicit requirement of a specific queue library is something we should avoid so the Q gem was pulled in to provide the abstraction layer that allows one of several libraries to be used - resque, sidekiq, delayed_job, or, the default, an in-memory threaded queue.
|
296
|
-
* Update rails dependency from `'~> 4.0.0'` to `'>= 4.0.0'`
|
297
|
-
* Replace nested forms with form objects
|
298
|
-
* Remove unused columns in tables - `state` from `thredded_topics`.
|
299
|
-
* Link to user from post on topic page (thanks @taylorkearns!)
|
300
|
-
|
301
|
-
## Fixed
|
302
|
-
|
303
|
-
* Fix issue where post did not inherit the test filter set per messagebard
|
304
|
-
* Building a new post for reply form must use the parent messageboard filter
|
305
|
-
|
306
|
-
# 0.0.13
|
307
|
-
|
308
|
-
## Fixed
|
309
|
-
|
310
|
-
* Users' messageboard preferences are created if one does not exist for a given messageboard. This had caused people who had not updated their own preferences to NOT receive @ notifications by default. As of this release they will, by default, receive @'s and private thread notifications until they change their preferences.
|
311
|
-
|
312
|
-
## Changed
|
313
|
-
|
314
|
-
* A topic's categories can now be rendered in the view. `categories/category` partial addded.
|
315
|
-
* Adding attachments to a post has been removed. (Attachment model and association will be removed in 0.0.15)
|
316
|
-
|
317
|
-
# 0.0.12
|
318
|
-
|
319
|
-
## Fixed
|
320
|
-
|
321
|
-
* Requiring the sql search builder explicitly fixes the issue where anonymous visitors would not be able to search
|
322
|
-
* Users, when they edit a topic they started, should not be able to pin/lock it. This has been changed to only allow admins to do so.
|
323
|
-
* bbcode now renders line-breaks
|
324
|
-
* html is now better sanitized
|
325
|
-
|
326
|
-
## Changed
|
327
|
-
|
328
|
-
* Replace the previously used inheritance-based filter chain with
|
329
|
-
[html-pipeline](https://github.com/jch/html-pipeline). Much better.
|
330
|
-
* Replace bb-ruby with bbcoder gem.
|
331
|
-
* Replace `redcarpet` with `github-markdown`
|
332
|
-
* Provide a more explicit contract between the gem and the parent application with regards to the layout the thredded views will render within
|
333
|
-
* `:thredded_page_title` and `:thredded_page_id` provided as content blocks that may be yielded to the layout
|
334
|
-
* Allow gravatar image to be overridden in the config
|
335
|
-
* Thredded::PostDecorator#user_link now available for use in post-related views
|
336
|
-
|
337
|
-
# 0.0.11
|
338
|
-
|
339
|
-
## Feature / Bug Fix
|
340
|
-
|
341
|
-
* Up until now the manner by which file uploads (via Carrierwave) had its storage
|
342
|
-
location determined was in the uploaded classes themselves. This commit allows the
|
343
|
-
location to be set from the Thredded module itself - `Thredded.file_storage` - to
|
344
|
-
either :file or :fog.
|
345
|
-
|
346
|
-
# 0.0.10
|
347
|
-
|
348
|
-
## Fixed
|
349
|
-
|
350
|
-
* Fixed: private topics not being created correctly
|
351
|
-
* Test coverage for above
|
352
|
-
|
353
|
-
# 0.0.8
|
354
|
-
|
355
|
-
## Fixed
|
356
|
-
|
357
|
-
* Make sure messageboard slug is populated upon creation
|
358
|
-
|
359
|
-
## Changed
|
360
|
-
|
361
|
-
* Refactor controllers for a little more cleanliness
|
362
|
-
* Exceptions raised and caught instead of asking for existence of objects
|
363
|
-
* Update pagination path format
|
364
|
-
|
365
|
-
# 0.0.7
|
366
|
-
|
367
|
-
## Fixed
|
368
|
-
|
369
|
-
* Get search back to working
|
370
|
-
|
371
|
-
# 0.0.6
|
372
|
-
|
373
|
-
## Changed
|
374
|
-
|
375
|
-
* Update rails dependency in gemspec to use a `~>` instead of `>=`
|
376
|
-
|
377
|
-
## Fixed
|
378
|
-
|
379
|
-
* Fix `convert_textile_to_markdown` migration to use proper sql syntax
|
380
|
-
|
381
|
-
# 0.0.5
|
382
|
-
|
383
|
-
## New Features
|
384
|
-
|
385
|
-
* A CHANGELOG!
|
386
|
-
|
387
|
-
## Fixed
|
388
|
-
|
389
|
-
* Fix `PostsController#topic` to ensure the `user_topic_reads` association is eager loaded
|
390
|
-
* Make that `topic` method pass along to an obviously named and intention revealing method
|
391
|
-
* Delete the filter select from `posts/_form` partial
|
392
|
-
* require `thredded/at_notifier` in `thredded.rb` (thanks @srussking)
|
393
|
-
|
394
|
-
## Changed
|
395
|
-
|
396
|
-
* Introduce a more robust `MessageboardDecorator`
|
397
|
-
* Allow `messagebord` obj or collection to be decorated with `#decorate` method
|
398
|
-
* Introduce `NullTopic` to stand in for instances where a topic is not found
|
399
|
-
* remove `rspec/autorun` from `spec_helper`
|