sufia 4.0.0.beta4 → 4.0.0.rc1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (161) hide show
  1. checksums.yaml +4 -4
  2. data/.gitignore +3 -1
  3. data/Gemfile +1 -1
  4. data/History.md +325 -0
  5. data/RELEASING.md +1 -0
  6. data/SUFIA_VERSION +1 -1
  7. data/app/assets/javascripts/sufia.js +2 -2
  8. data/app/assets/javascripts/sufia/batch_edit.js +2 -2
  9. data/app/assets/javascripts/sufia/batch_select_all.js +7 -7
  10. data/app/assets/stylesheets/{dashboard.css.scss → file-listing.css.scss} +7 -1
  11. data/app/assets/stylesheets/styles.css.scss +23 -0
  12. data/app/assets/stylesheets/sufia.css.scss +5 -1
  13. data/app/controllers/concerns/sufia/catalog.rb +4 -4
  14. data/app/controllers/concerns/sufia/controller.rb +0 -4
  15. data/app/controllers/concerns/sufia/my_controller_behavior.rb +1 -5
  16. data/app/controllers/my/collections_controller.rb +7 -0
  17. data/app/controllers/my/files_controller.rb +7 -0
  18. data/app/controllers/my/highlights_controller.rb +7 -0
  19. data/app/controllers/my/shares_controller.rb +7 -0
  20. data/app/helpers/sufia/records_helper_behavior.rb +1 -1
  21. data/app/helpers/sufia/sufia_helper_behavior.rb +2 -2
  22. data/app/models/concerns/sufia/solr_document_behavior.rb +10 -0
  23. data/app/views/_user_util_links.html.erb +1 -1
  24. data/app/views/advanced/index.html.erb +10 -13
  25. data/app/views/batch/_edit.js.erb +15 -0
  26. data/app/views/batch/_metadata.html.erb +1 -1
  27. data/app/views/batch/edit.html.erb +10 -25
  28. data/app/views/batch_edits/_batch_edits_actions.html.erb +1 -1
  29. data/app/views/batch_edits/_check_all.html.erb +1 -1
  30. data/app/views/batch_edits/edit.html.erb +3 -3
  31. data/app/views/catalog/_document_list.html.erb +6 -1
  32. data/app/views/catalog/index.html.erb +34 -21
  33. data/app/views/collections/_action_menu.html.erb +5 -5
  34. data/app/views/collections/_batch_edits_actions.html.erb +1 -1
  35. data/app/views/collections/_collection.html.erb +36 -0
  36. data/app/views/collections/_document_list.html.erb +2 -2
  37. data/app/views/collections/_edit_descriptions.html.erb +1 -1
  38. data/app/views/collections/_form.html.erb +11 -8
  39. data/app/views/collections/_search_collection_dashboard_form.html.erb +1 -1
  40. data/app/views/collections/_sort_and_per_page.html.erb +1 -1
  41. data/app/views/dashboard/index.html.erb +1 -1
  42. data/app/views/generic_files/_descriptions.html.erb +1 -1
  43. data/app/views/generic_files/_edit.js.erb +22 -0
  44. data/app/views/generic_files/_extra_fields_modal.html.erb +18 -14
  45. data/app/views/generic_files/_generic_file.html.erb +36 -0
  46. data/app/views/generic_files/_media_display.html.erb +4 -0
  47. data/app/views/generic_files/_permission.html.erb +1 -1
  48. data/app/views/generic_files/_permission_form.html.erb +40 -36
  49. data/app/views/generic_files/_rights_modal.html.erb +37 -33
  50. data/app/views/generic_files/edit.html.erb +13 -30
  51. data/app/views/generic_files/new.html.erb +3 -3
  52. data/app/views/generic_files/show.html.erb +3 -7
  53. data/app/views/generic_files/stats.html.erb +1 -1
  54. data/app/views/generic_files/upload/_form_fields.html.erb +4 -4
  55. data/app/views/generic_files/upload/_local_file_import_chooser.html.erb +2 -2
  56. data/app/views/generic_files/upload/_script_templates.html.erb +2 -2
  57. data/app/views/homepage/_home_content.html.erb +2 -2
  58. data/app/views/homepage/_home_header.html.erb +1 -1
  59. data/app/views/homepage/_sortable_featured.html.erb +1 -1
  60. data/app/views/layouts/_head_tag_content.html.erb +1 -10
  61. data/app/views/layouts/error.html.erb +0 -9
  62. data/app/views/layouts/homepage.html.erb +1 -1
  63. data/app/views/layouts/sufia-dashboard.html.erb +6 -6
  64. data/app/views/layouts/sufia-one-column.html.erb +2 -2
  65. data/app/views/layouts/sufia-two-column.html.erb +2 -2
  66. data/app/views/mailbox/_notifications.html.erb +1 -1
  67. data/app/views/mailbox/index.html.erb +1 -1
  68. data/app/views/my/_batch_edits_actions.html.erb +1 -1
  69. data/app/views/my/_collection_action_menu.html.erb +4 -4
  70. data/app/views/my/_did_you_mean.html.erb +2 -7
  71. data/app/views/my/_document_list.html.erb +1 -1
  72. data/app/views/my/_facet_layout.html.erb +10 -9
  73. data/app/views/my/_facet_limit.html.erb +9 -9
  74. data/app/views/my/_facet_pagination.html.erb +14 -17
  75. data/app/views/my/_facet_selected.html.erb +1 -1
  76. data/app/views/my/_facets.html.erb +20 -7
  77. data/app/views/my/_index_partials/_default_group.html.erb +4 -4
  78. data/app/views/my/_index_partials/_list_collections.html.erb +1 -1
  79. data/app/views/my/_index_partials/_list_files.html.erb +2 -2
  80. data/app/views/my/_results_pagination.html.erb +7 -4
  81. data/app/views/my/_sort_and_per_page.html.erb +5 -8
  82. data/app/views/my/facet.html.erb +2 -5
  83. data/app/views/my/index.html.erb +1 -1
  84. data/app/views/single_use_links/new_download.html.erb +1 -1
  85. data/app/views/users/_contributions.html.erb +3 -3
  86. data/app/views/users/_profile_tabs.html.erb +3 -3
  87. data/app/views/users/_social_media_info.html.erb +3 -3
  88. data/app/views/users/_trophy_edit.html.erb +2 -2
  89. data/app/views/users/_user_info.html.erb +4 -4
  90. data/app/views/users/edit.html.erb +5 -10
  91. data/app/views/users/show.html.erb +16 -21
  92. data/config/locales/sufia.en.yml +7 -6
  93. data/config/routes.rb +25 -32
  94. data/lib/generators/sufia/sufia_generator.rb +1 -1
  95. data/lib/generators/sufia/upgrade400_generator.rb +87 -0
  96. data/lib/sufia/version.rb +1 -1
  97. data/spec/controllers/catalog_controller_spec.rb +22 -0
  98. data/spec/features/browse_dashboard_files_spec.rb +22 -11
  99. data/spec/features/catalog_search_spec.rb +99 -0
  100. data/spec/features/collection_spec.rb +1 -1
  101. data/spec/helpers/records_helper_spec.rb +1 -1
  102. data/spec/helpers/sufia_helper_spec.rb +4 -3
  103. data/spec/models/generic_file_spec.rb +7 -3
  104. data/spec/models/solr_document_spec.rb +27 -9
  105. data/spec/services/noid_spec.rb +16 -0
  106. data/spec/spec_helper.rb +1 -1
  107. data/spec/views/batch/edit.html.erb_spec.rb +34 -0
  108. data/spec/views/my/facet.html.erb_spec.rb +34 -0
  109. data/sufia-models/app/models/concerns/sufia/generic_file/mime_types.rb +1 -1
  110. data/sufia-models/app/services/sufia/noid.rb +2 -5
  111. data/sufia-models/lib/generators/sufia/models/upgrade400_generator.rb +78 -0
  112. data/sufia-models/lib/sufia/models/engine.rb +1 -1
  113. data/sufia-models/lib/sufia/models/version.rb +1 -1
  114. data/sufia-models/sufia-models.gemspec +3 -3
  115. data/sufia.gemspec +1 -1
  116. data/tasks/sufia-dev.rake +1 -1
  117. metadata +24 -54
  118. data/.gitmodules +0 -4
  119. data/Releasing_sufia.md +0 -6
  120. data/UpgradeGuide.md +0 -3
  121. data/app/views/catalog/_bookmark_control.html.erb +0 -24
  122. data/app/views/catalog/_citation.html.erb +0 -11
  123. data/app/views/catalog/_constraints.html.erb +0 -6
  124. data/app/views/catalog/_constraints_element.html.erb +0 -20
  125. data/app/views/catalog/_did_you_mean.html.erb +0 -10
  126. data/app/views/catalog/_document.html.erb +0 -19
  127. data/app/views/catalog/_email_form.html.erb +0 -11
  128. data/app/views/catalog/_facet_layout.html.erb +0 -12
  129. data/app/views/catalog/_facet_selected.html.erb +0 -12
  130. data/app/views/catalog/_facets.html.erb +0 -7
  131. data/app/views/catalog/_folder_control.html.erb +0 -11
  132. data/app/views/catalog/_index_default.html.erb +0 -11
  133. data/app/views/catalog/_index_header_default.html.erb +0 -20
  134. data/app/views/catalog/_index_partials/_default_group.html.erb +0 -7
  135. data/app/views/catalog/_index_partials/_list_files.html.erb +0 -37
  136. data/app/views/catalog/_marc_view.html.erb +0 -33
  137. data/app/views/catalog/_opensearch_response_metadata.html.erb +0 -2
  138. data/app/views/catalog/_previous_next_doc.html.erb +0 -6
  139. data/app/views/catalog/_refworks_form.html.erb +0 -7
  140. data/app/views/catalog/_results_pagination.html.erb +0 -6
  141. data/app/views/catalog/_show_default.html.erb +0 -9
  142. data/app/views/catalog/_show_sidebar.html.erb +0 -1
  143. data/app/views/catalog/_show_tools.html.erb +0 -46
  144. data/app/views/catalog/_sms_form.html.erb +0 -21
  145. data/app/views/catalog/_sort_and_per_page.html.erb +0 -9
  146. data/app/views/catalog/about.html.erb +0 -0
  147. data/app/views/catalog/citation.html.erb +0 -1
  148. data/app/views/catalog/email.erb +0 -1
  149. data/app/views/catalog/endnote.endnote.erb +0 -1
  150. data/app/views/catalog/index.atom.builder +0 -109
  151. data/app/views/catalog/index.rss.builder +0 -19
  152. data/app/views/catalog/librarian_view.html.erb +0 -3
  153. data/app/views/catalog/opensearch.json.erb +0 -0
  154. data/app/views/catalog/opensearch.xml.builder +0 -10
  155. data/app/views/catalog/send_email_record.erb +0 -0
  156. data/app/views/catalog/show.endnote.erb +0 -1
  157. data/app/views/catalog/show.html.erb +0 -40
  158. data/app/views/catalog/show.refworks.erb +0 -1
  159. data/app/views/catalog/sms.erb +0 -1
  160. data/app/views/collections/_button_for_creating_empty_collection.html.erb +0 -3
  161. data/spec/views/my/facet_limit.html.erb_spec.rb +0 -15
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d8143524ee97650ca264d7daf37e8daf09d3cb7d
4
- data.tar.gz: b4714ff53d0ea22cb0f73df735e3133072daca9c
3
+ metadata.gz: ba41b878b539854a7ac45bdaa3e8e7eeef65e6ab
4
+ data.tar.gz: 1d4bc6af71c96d65611b48c2dbabf1bb87bef5be
5
5
  SHA512:
6
- metadata.gz: aca36c15faed0587db40c7f4b528033b971d3083c14846eda85e1fd45478dd58daef919d688d322ba10eb3d3c9483f4dde6bbb3054010bf22027197525f75fd1
7
- data.tar.gz: 7a76f154841c3cc1b464f9723bd12370a4836ef4ad7c297eae1c73156a84c23193a5299096f437abf90644afa9883abe80bcaf82995928d8e82221e2a637ee61
6
+ metadata.gz: ea0b45add59651469320fc050cc674fdce1688177a881489909019b39c18829d0dfcc9542db65ca86717a6643daebfc389c47e48a31b1ed9abef40ab39bbd455
7
+ data.tar.gz: 4f3743ffb78f0299458d0b473e32870c33ee8e08ea2e916567805148cc2b17d4f654fc6dcb4bfd255511b2f2adbf81924a74a6dc42b8ced54e15ff035135cd02
data/.gitignore CHANGED
@@ -14,6 +14,9 @@ ruby-gemset
14
14
  .rvmrc
15
15
  Gemfile.lock
16
16
 
17
+ # don't push around jetty (for dev envs only)
18
+ jetty
19
+
17
20
  ## MAC OS
18
21
  .DS_Store
19
22
 
@@ -47,7 +50,6 @@ spec/dummy/db/*.sqlite3
47
50
  spec/dummy/log/*.log
48
51
  spec/dummy/tmp/
49
52
 
50
-
51
53
  spec/mock_upload_directory
52
54
 
53
55
  ## PROJECT::GENERAL
data/Gemfile CHANGED
@@ -11,7 +11,7 @@ gem 'sass-rails', '~> 4.0.0'
11
11
 
12
12
  group :development, :test do
13
13
  gem 'sqlite3'
14
- gem 'rspec-rails'
14
+ gem 'rspec-rails', '~> 2.99'
15
15
  gem 'launchy' unless ENV['TRAVIS']
16
16
  gem 'byebug' unless ENV['TRAVIS']
17
17
  gem 'capybara'
data/History.md CHANGED
@@ -1,4 +1,329 @@
1
1
  # History of Sufia releases
2
+
3
+ ## 4.0.0.rc1
4
+
5
+ * Use the bootstrap_form helpers (bootstrap_forms is no longer
6
+ available) [Justin Coyne]
7
+
8
+ * Lock hydra-editor to ~> 0.3.0 [Justin Coyne]
9
+
10
+ * Use mailboxer 0.12.0 [Justin Coyne]
11
+
12
+ * Allow hydra-head 7.1.0 to be used [Justin Coyne]
13
+
14
+ * Drop no longer used submodule for hydra-jetty [Michael J. Giarlo]
15
+
16
+ * Rename releasing document because reasons. [Michael J. Giarlo]
17
+
18
+ * Updating release process documentation. [Michael J. Giarlo]
19
+
20
+ * Moved to release notes [Michael J. Giarlo]
21
+
22
+ * Changing all icons to glyph icons except the social ones because
23
+ bootstrap does not include those [Carolyn Cole]
24
+
25
+ * Adding missing methods to My controllers [Adam Wead]
26
+
27
+ * Added additonal span and classes to fix thumbnail image hogging
28
+ column and refactored HTML/CSS. fixes #SCM-9283 [Carolyn Cole]
29
+
30
+ * Updating modals and fixing facet features #428 [Adam Wead]
31
+
32
+ * Screen reader should say 'items' #485 [Adam Wead]
33
+
34
+ * making new office document thumbnails visible. [Carolyn Cole]
35
+
36
+ * Removing unused blacklight overrides. Only keeping the ones we need
37
+ to change blacklight default behavior. Pinning respec to 2.99 [Carolyn Cole]
38
+
39
+ * Label featured works appropriately and allow overriding this label
40
+ [Michael J. Giarlo]
41
+
42
+ * Creates generators to upgrade 3.7.2 instances to 4.0.0 [Michael J.
43
+ Giarlo]
44
+
45
+ * Refactor views to support collection links [Justin Coyne]
46
+
47
+ * Removing instances of :local_js and :js_head [Adam Wead]
48
+
49
+ * Noid.namespaceize should not append a second namespace onto a pid.
50
+ Previously if the passed in identifier had a namespace that was not the same as
51
+ the configure namespace it would append a second namespace to the identifier.
52
+ This would create an invalid pid. [Justin Coyne]
53
+
54
+ * Adding collections to the filter for searching. resolves #429
55
+ [Carolyn Cole]
56
+
57
+ * Correcting Rails app integration issues [Adam Wead]
58
+
59
+ * removing unused layout method [Carolyn Cole]
60
+
61
+ * Adding bootstrap 3 modal classes to generic_file modals [Carolyn
62
+ Cole]
63
+
64
+ * Changing the layout for the catalog controller to always include two
65
+ columns, since the homepage is now a separate controller [Carolyn Cole]
66
+
67
+ * Add image/tiff as a recognized image type [Justin Coyne]
68
+
69
+ * Preparing for 4.0.0.beta4 release [Justin Coyne]
70
+
71
+ * Bump version to 4.0.0.beta4 [Justin Coyne]
72
+
73
+ * New dashboard functionality with unified search [Adam Wead]
74
+
75
+ * Uploaded and modified dates should not be included in the display of
76
+ descriptive metadata [Michael J. Giarlo]
77
+
78
+ * Moving repeatative html up the stack and removing hard coded labels
79
+ [Carolyn Cole]
80
+
81
+ * Inject Sufia::SolrDocumentBehavior with the sufia generator instead
82
+ of the sufia-models generator. This keeps the module and geneator together in
83
+ the same gem. [Justin Coyne]
84
+
85
+ * Removing sufia route set from catalog path as it does not exist
86
+ there. This causes an error in production only. [Carolyn Cole]
87
+
88
+ * Fixes progress bar for jquery-file-upload [Michael J. Giarlo]
89
+
90
+ * Glyphicons come with bootstrap-sass, remove this old version [Justin
91
+ Coyne]
92
+
93
+ * Upgrade to mailboxer 0.12.0.rc2 (from rc1) [Justin Coyne]
94
+
95
+ * Updating README as per committer's call on May 19th [Adam Wead]
96
+
97
+ * Index title with `_sim` suffix in addition to the existing `_tesim`
98
+ suffix This enables an exact match search on title: ```ruby
99
+ GenericFile.where(desc_metadata__title_tesim: 'anoabo00-00001.jp2').map {|f|
100
+ f.title.first } \# => ["anoabo00-00001.jp2", "anoabo00-00002.jp2",
101
+ "anoabo00-00003.jp2"] GenericFile.where(desc_metadata__title_sim:
102
+ 'anoabo00-00001.jp2').map {|f| f.title.first } \# => ["anoabo00-00001.jp2"] ```
103
+ [Justin Coyne]
104
+
105
+ * Fixed unified search layout and hover states. [mtribone]
106
+
107
+ * Separate model noid concerns from controller noid concerns [Justin
108
+ Coyne]
109
+
110
+ * bump version to beta 3 [Justin Coyne]
111
+
112
+ * Restore schema.org microdata to GenericFile show view; Add
113
+ schema.org microdata to Collection show view; Take advantage of Blacklight's
114
+ schema.org microdata hooks. [Michael J. Giarlo]
115
+
116
+ * Set up all the events in the initializer [Justin Coyne]
117
+
118
+ * Version bump to 4.0.0.beta3 [Justin Coyne]
119
+
120
+ * Cease auto characterizing on save and use a real Actor. This makes
121
+ testing far easier. Fixes #232 [Justin Coyne]
122
+
123
+ * Changing the forwarding location to be where the files now are
124
+ instead of where they once were. resolves #434 [Carolyn Cole]
125
+
126
+ * Changing to only public works can be featured. resolves #395
127
+ [Carolyn Cole]
128
+
129
+ * Fixing sytax error introduced by Ruby/Rails style reformat [Carolyn
130
+ Cole]
131
+
132
+ * Refactor the file controller update method for clarity [Justin
133
+ Coyne]
134
+
135
+ * Use modern Ruby/Rails style guidelines [Michael J. Giarlo]
136
+
137
+ * Generate thumbnails for office documents [Michael J. Giarlo]
138
+
139
+ * Move GenericFile concerns to standard autoload paths [Justin Coyne]
140
+
141
+ * Move the event job launching out of Actions. events aren't in
142
+ sufia-models [Justin Coyne]
143
+
144
+ * Removed duplicate object allocations [Justin Coyne]
145
+
146
+ * Eliminate double save and stop using exceptions for flow control
147
+ [Justin Coyne]
148
+
149
+ * Encapsulate browse_everything upload in a module [Justin Coyne]
150
+
151
+ * Put revert and update actions in the Actions module [Justin Coyne]
152
+
153
+ * Allow users to add files to collections. Use the Boostrap modal
154
+ rather than a custom modal. [Justin Coyne]
155
+
156
+ * Only put the javascript for tinymce on the page one time. This
157
+ allows the javascript test to pass. [Justin Coyne]
158
+
159
+ * added dashboard tabs and moved file list to those tabs [Brian Maddy]
160
+
161
+ * Setting text area id and adding jquery loop to allow for multiple
162
+ content blocks to be on the same page. resolves #415 [Carolyn Cole]
163
+
164
+ * Query Google Analytics for file usage information and display with
165
+ Flot JQuery [Adam Wead]
166
+
167
+ * Moved controller concerns from lib/ to app/controllers/concerns/.
168
+ [dchandekstark]
169
+
170
+ * Added grid view for search results and collections view [Justin
171
+ Coyne]
172
+
173
+ * There is no longer two recent blocks on the home page, so clean up
174
+ the home page controller to only have the one that shows all files. [Carolyn
175
+ Cole]
176
+
177
+ * Refactor the controllers to cleanup after the homepage_controller
178
+ was added [Justin Coyne]
179
+
180
+ * Adding an editable block for marketing content on the homepage
181
+ header [Carolyn Cole]
182
+
183
+ * Add collections [Justin Coyne]
184
+
185
+ * Unify the home page search Fixes http://scm.dlt.psu.edu/issues/9142
186
+ [Justin Coyne]
187
+
188
+ * Add source and bibliographicCitation DC terms to the metadata
189
+ datastream [Justin Coyne]
190
+
191
+ * moving homepage to it's own controller [Carolyn Cole]
192
+
193
+ * added videojs fonts to precompile and made rake clean stop spring
194
+ [Brian Maddy]
195
+
196
+ * Version should be updated in all three locations. [Michael J.
197
+ Giarlo]
198
+
199
+ * add default value so config.usage_statistics is defined [Jim Coble]
200
+
201
+ * Test for an XHR request, not for a javascript format [Justin Coyne]
202
+
203
+ * Check to make sure BrowseEverthing is defined If you're only using
204
+ sufia-models, then BrowseEverthing is not defined and you get an error. [Justin
205
+ Coyne]
206
+
207
+ * Ship the video-js fonts [Justin Coyne]
208
+
209
+ * Allow endnote to be injected into a rails 4.0 or 4.1 file [Justin
210
+ Coyne]
211
+
212
+ * VirusFoundError should live in sufia-models [Justin Coyne]
213
+
214
+ * Allow rails 4.1 to be used [Justin Coyne]
215
+
216
+ * Modify how the pages controller and helper work so that you do not
217
+ have to be logged in before viewing the page. [Carolyn Cole]
218
+
219
+ * Changing to 2.1.1 to avoid the issue with 2.1.0 [cam156]
220
+
221
+ * Update SUFIA_VERSION [cam156]
222
+
223
+ * Update SUFIA_VERSION [cam156]
224
+
225
+ * upping the version so people know the current UI changes are
226
+ breaking [Carolyn Cole]
227
+
228
+ * Refactor styles.css and create additional style sheets for features
229
+ and sections. refs #SCM-9141 [Michael Tribone]
230
+
231
+ * Template, home page, dashboard, edits to upgrade to Bootstrap3 and
232
+ update look [Carolyn Cole]
233
+
234
+ * Fixing dashboard facets to be bootstrap 3 compliant and updating
235
+ pending dashboard test to be a passing test. [Carolyn Cole]
236
+
237
+ * Upgrade mailboxer to 0.12.0.rc1 [Justin Coyne]
238
+
239
+ * Drag and drop to order featured works [Justin Coyne]
240
+
241
+ * [tagcloud] improving sort feature & made tagcloud properly
242
+ configurable [Matt Zumwalt]
243
+
244
+ * Add usage statistics to the user interface [Michael J. Giarlo]
245
+
246
+ * using gsub to remove require tree, which removes javascript error in
247
+ Chrome [Carolyn Cole]
248
+
249
+ * Fix tests that broke as a result of a merge [Justin Coyne]
250
+
251
+ * checking the frame rate as a number so 30 is equal to 30.0 [Carolyn
252
+ Cole]
253
+
254
+ * Re-add the generic_files stylesheet which was removed in #359
255
+ [Justin Coyne]
256
+
257
+ * Use the User.to_param to craft paths. Fixes #367 [Justin Coyne]
258
+
259
+ * Refactor user factories [Justin Coyne]
260
+
261
+ * Add all show fields to default all_fields search in generator, so
262
+ that there's a better search experience out of the box. [dchandekstark]
263
+
264
+ * Initialize the javascript on page:load events for Turbolinks support
265
+ [Justin Coyne]
266
+
267
+ * Factor out PropertiesDatastream behavior to a concern to facilitate
268
+ overriding [dchandekstark]
269
+
270
+ * Add featured works to the homepage [Justin Coyne]
271
+
272
+ * Refactor Trophies javascript. All trophy scripts should use the
273
+ TrophyHelper#display_trophy_link Add the `trophy-class` back to the user's
274
+ profile page. The script now updates the link text depending on the current
275
+ state of the trophy. Trophies should work with Turbolinks now. [Justin Coyne]
276
+
277
+ * Restrict rails to ~> 4.0. 4.1.0 causes errors with mailboxer
278
+ [Justin Coyne]
279
+
280
+ * [tagcloud] adding sort feature to tag cloud [Matt Zumwalt]
281
+
282
+ * switched to ajax and jquery-based tag cloud [Matt Zumwalt]
283
+
284
+ * Don't show the tinymce editor until the edit button is pushed
285
+ [Justin Coyne]
286
+
287
+ * Edit the about page with the TinyMCE editor [Justin Coyne]
288
+
289
+ * only render tag cloud section on homepage if a blacklight query has
290
+ been run. (ie don't render on login page) [Matt Zumwalt]
291
+
292
+ * Added tinymce editor for featured researcher [Justin Coyne]
293
+
294
+ * only render tag cloud section on homepage if a blacklight query has
295
+ been run. (ie don't render on login page) [Matt Zumwalt]
296
+
297
+ * Adding stylesheet and fixing login page error on layout [Carolyn
298
+ Cole]
299
+
300
+ * browse-everything tab uses localization for tab/button labels [Matt
301
+ Zumwalt]
302
+
303
+ * adding tag cloud helper and displaying it in homepage [Matt Zumwalt]
304
+
305
+ * Bootstrap 3 ui changes [Carolyn Cole]
306
+
307
+ * removing dropbox-specific support (replaced by browse-everything)
308
+ [Matt Zumwalt]
309
+
310
+ * added browse-everything for uploads [Matt Zumwalt]
311
+
312
+ * Update to hydra-head 7.0.1 [Justin Coyne]
313
+
314
+ * Upgrading sufia to the Blacklight 5 and Hydra-Head 7 [Carolyn Cole]
315
+
316
+ * Adding a description to the all:release task so it will show up with
317
+ rake -T [Carolyn Cole]
318
+
319
+ * Update video.js to 4.5.1 [Justin Coyne]
320
+
321
+ * Move font-awesome-sass-rails to be an internal dependency and not
322
+ required in the Gemfile [Justin Coyne]
323
+
324
+ * Clean up spacing [Justin Coyne]
325
+
326
+
2
327
  ## 3.7.0
3
328
 
4
329
  * The UsersController needs to set @trophies to a list of GenericFiles [Justin Coyne]
@@ -0,0 +1 @@
1
+ See the [release management process](https://github.com/projecthydra/sufia/wiki/Release-management-process).
@@ -1 +1 @@
1
- 4.0.0.beta4
1
+ 4.0.0.rc1
@@ -132,11 +132,11 @@ Blacklight.onLoad(function() {
132
132
  */
133
133
  $("li.expandable").click(function(){
134
134
  $(this).next("ul").slideToggle();
135
- $(this).find('i').toggleClass("icon-chevron-down");
135
+ $(this).find('i').toggleClass("glyphicon glyphicon-chevron-down");
136
136
  });
137
137
 
138
138
  $("li.expandable_new").click(function(){
139
- $(this).find('i').toggleClass("icon-chevron-down");
139
+ $(this).find('i').toggleClass("glyphicon glyphicon-chevron-down");
140
140
  });
141
141
 
142
142
  $(".sorts-dash").click(function(){
@@ -6,11 +6,11 @@ function batch_edit_init () {
6
6
  $("tr.expandable").click(function () {
7
7
  $(this).next("ul").slideToggle();
8
8
 
9
- $(this).find('i.toggle').toggleClass("icon-chevron-down");
9
+ $(this).find('i.toggle').toggleClass("glyphicon glyphicon-chevron-down");
10
10
  });
11
11
 
12
12
  $("tr.expandable_new").click(function () {
13
- $(this).find('i').toggleClass("icon-chevron-down");
13
+ $(this).find('i').toggleClass("glyphicon glyphicon-chevron-down");
14
14
  });
15
15
 
16
16
 
@@ -5,12 +5,12 @@
5
5
  var n = $(".batch_document_selector:checked").length;
6
6
  if ((n>0) || (forceOn)) {
7
7
  $('.batch-toggle').show();
8
- $('.batch-select-all').show();
9
- $('#batch-edit').show();
8
+ $('.batch-select-all').removeClass('hidden');
9
+ $('#batch-edit').removeClass('hidden');
10
10
  } else if ( otherPage){
11
11
  $('.batch-toggle').hide();
12
- $('.batch-select-all').hide();
13
- $('#batch-edit').hide();
12
+ $('.batch-select-all').addClass('hidden');
13
+ $('#batch-edit').addClass('hidden');
14
14
  }
15
15
  $("body").css("cursor", "auto");
16
16
  }
@@ -26,10 +26,10 @@
26
26
  function toggleStateBool (obj, state) {
27
27
  if (state){
28
28
  obj.attr("data-state", 'on');
29
- obj.find('a i').addClass('icon-ok');
29
+ obj.find('a i').addClass('glyphicon glyphicon-ok');
30
30
  }else {
31
31
  obj.attr("data-state", 'off');
32
- obj.find('a i').removeClass('icon-ok');
32
+ obj.find('a i').removeClass('glyphicon glyphicon-ok');
33
33
  }
34
34
 
35
35
  }
@@ -44,7 +44,7 @@
44
44
  $("input[type='checkbox'].batch_document_selector").each(function(index, value) {
45
45
  value['checked'] = checked;
46
46
  });
47
- toggleButtons();
47
+ toggleButtons();
48
48
 
49
49
  // set menu check marks
50
50
  toggleStateBool($("[data-behavior='batch-edit-select-page']"),checked);
@@ -34,6 +34,10 @@ $gray-lighter: #eee;
34
34
  background-color: #f9f9f9;
35
35
  }
36
36
 
37
+ .file_listing_thumbnail {
38
+ width: 20%;
39
+ }
40
+
37
41
  .nav > li > a.accordion-toggle {
38
42
  padding-left: 5px;
39
43
  padding-right: 5px;
@@ -76,7 +80,9 @@ $gray-lighter: #eee;
76
80
  .sorts-dash, .sorts, .expandable_new {
77
81
  cursor: pointer;
78
82
  }
79
-
83
+ .sort-toggle {
84
+ padding: .5em 0;
85
+ }
80
86
  .caret.up {
81
87
  border-top: 0;
82
88
  border-bottom: 4px solid;