Takuya N
3edffcbb22
Replace #to_s(:format) with #to_fs ( #17219 )
...
https://github.com/rails/rails/pull/43772
https://github.com/rails/rails/pull/44354
Signed-off-by: Takuya Noguchi <takninnovationresearch@gmail.com>
2022-04-11 12:59:54 -04:00
Mac Siri
8379232bb3
Fix missing dc:creator on RSS feed ( #16898 )
...
* Fix missing dc:creator on RSS feed
* Update spec
* Remove aggregate_failures
2022-03-16 17:15:15 -04:00
Ryan Palo
40639ea602
Fix RSS feed validity issue ( #16418 ) ( #16517 )
2022-02-22 09:22:05 -06:00
yheuhtozr
74b065be58
I18nize views misc & non-HTML templates ( #15136 )
2021-12-08 11:28:16 -05:00
Michael Kohl
1ebec4b67f
Remove hardcoded user profile fields ( #14079 )
...
* Remove duplicated work display from header
* Update work profile field handling
* Update DUS + spec
* Delegate more carefully
* Update delegation guard
* Adapt for removed delegation
* Undo accidental schema changes
* Fix seeds
* Remove accidentaly change
* Fix User#processed_website_url
* Update guard clause
* Update profile card content
* Add Organization#profile
* Be more conservative with profile fields
* Spec fixes round 1
* Fix typo
* Update spec
* Limit number of header fields and update card content
* Decorate correct model
* Update factory
* Update schema.rb
* Fix validation
* How bad could this possibly be?
* Pretty bad, nevermind
* Remove obsolete code
* Reset profile fields during test runs
* Move profile fields back to before(:suite)
* Spec fixes
* Remove accidentally re-added files
* More spec fixes
* Specs
* Change User#tag_keywords_for_search
* More spec fixes
* Add comment
* Undo accidental schema changes
* Attempt spec fix
* Remove fix attempt
* Fix e2e test
* Update spec
* Remove guard clause
* Remove hardcoded instances of education field
* WIP Access display_email_on_profile via User Settings
* Remove unused profile column
* WIP fix issues revealed by systems specs
* WIP fix issues revealed by services specs
* WIP Fix failing tests
* WIP Fix spec failures
* wip
* Move two attributes from controller to decorator
* Update comment
* More consistently use user.tag_line
Even before the profile changes we sometimes used the user.summary
attribute directly but used the user.tag_line method in other places.
* Remove education
* Add comment
* WIP
* Clean up mostly_work_with
* WIP
* Update work profile field handling
* More work-related changes
* Remove settings_only from display_area enum
* Remove quickfix from _metadata partial
* Remove special attributes
* Remove leftover spec
* Retrieve location from profile, not user
* Profile.special_attributes no longer exists
* Update specs
* More spec fixes
* Update UsersController
* Update UsersController and spec
* Fix e2e seeds
* Minor cleanup
* More e2e seed fixes
* Fix profile field CSV
* Fix e2e seeds
* Move one more attribute in e2e seeds
* Remove duplicate line
* Clear inputs before typing in them
Co-authored-by: Jacob Herrington <jacobherringtondeveloper@gmail.com>
2021-08-18 11:44:53 +07:00
Michael Kohl
610f6151e6
Split Settings::Community from SiteConfig ( #13403 )
...
* Add settings_community_contents model
* Add settings_communities model
* Update usage
* Add controller and update code
* Add e2e test
* Add data update script
* Update schema.rb
* Fix specs
* PR feedback
* Remove experience_* from Settings::Community
* Update spec
* Fix spec
2021-04-26 10:46:35 +02:00
Alex Timofeev
0ff8284a68
Exclude code highlight panel markup from RSS description ( #11268 )
...
* Introduce `plain_html` method with minified article body
* Add corresponding test case
2021-03-05 12:06:50 +01:00
Julianna Tetreault
ca6ba1af7d
Replace collective_noun with community_name ( #11846 ) [deploy]
...
* Removes collective_noun and collective_noun_disabled from app
* Config Generalization: replaces community_qualified_name with community_name
- Generalizes SiteConfig after the removal of collective_noun field
- Updates copy where necessary to be readable with community_name
- Makes the community_name SiteConfig description more explicit
- Adds flexibility for Admins by removing appended "community"
* Adds a data_update script to remove collective_noun and collective_noun_disabled
* Removes appended community from stories_controller.rb
* Removes unnecessary quotation marks around SiteConfig.community_name.to_s
* Makes SiteConfig community_name description more explicit
* Removes topic from #email_from and replaces arg with _
* Removes argument from #email_from (facepalm)
* Reverts changes to application_mailer and notify_mailer_spec
* Removes default "Community" topic from application_mailer and makes topic optional
* Refactors #prepopulate_new_form to resolve Code Climate failures
* Refactors #email_from even further by use of a ternary operator per review suggestion
* Simplifies the data_update script used to remove collective_noun per review request
* Adds a data_update script to append community to community_name
* Updates data_update script to correctly append Community to community_name
* Removes RemoveCollectiveNounFromConfig and updates other script
* Removes superfluous false from data_update script
* Updates data_update script to be more idiomatic
2020-12-28 09:34:17 -07:00
Jonathan Yeong
977f4d8840
Add image composite element to feed if user exists ( #10739 ) [deploy]
...
* Add image composite element to feed if user exists
If the feed is a tag or the latest feed, user won't exist and we don't want to
render an <image> tag in the feed.
* Use profile_image_90 to limit the width and height
* Add tests for feed; address cr comments
* Fix typo
* Address rubocop issues
* Fix another typo
* Fix tests
Co-authored-by: rhymes <rhymes@hey.com>
2020-12-17 10:27:45 -07:00
rhymes
1f562783fc
Fix new Rubocop violations ( #10808 )
...
* Fix new Rubocop violations
* Use the latest minor version of 0.93
2020-10-20 09:28:53 -04:00
rhymes
0976132425
[deploy] RSS feed: add article tags as categories ( #8046 )
2020-05-26 15:51:33 -04:00
Anna Buianova
983c3d28dd
Replaced remaining hardcoded DEV with the configurable community name ( #7435 )
...
* Replaced hardcoded DEV and dev.to remainders with the configurable name
* Removed hardcoded dev.to from the rss feed
2020-04-22 17:16:21 +03:00
Ben Halpern
de27e7ed34
Allow community admins to alter site description ( #6662 ) [deploy]
...
* Allow community admins to alter site description
* Fix typo
2020-03-16 15:34:49 -04:00
cyrillefr
dea823b6ec
Excludes some files from linting and deletes redundancies ( #6275 )
2020-03-02 12:50:36 -05:00
cyrillefr
4fd66372dc
Enable Layout/AlignParameters ( #2340 )
...
Check if the parameters on a multi-line method call or definition are aligned.
Resolves : #2021
2019-04-08 18:47:34 -04:00
Tim Lange
3494264404
Enabled rubocop/lint ( #2130 )
...
* WIP: Enabled rubocop/lint
* FIX: Fixed failing test
* FIX: Small change to return
* FIX: Changed indent
2019-03-21 10:53:44 -04:00
Keshav Biswa
8d57d45ecc
Rubocop Style cops enabled ( #2056 )
...
* Rubocop enabled style/alias
* Enabled Style/ArrayJoin Cop
* Enabled Style/Attr
* Enabled Case Equality
* Enabled CharacterLiteral
* Enabled ColonMethodCall Cop
* Enabled CommentAnnotation cop
* Enabled PreferredHashMethods Cop
* Enabled DoubleNegation Cop
* Enabled EachWithObject Cop
* Enabled EmptyLiteral Cop
* Enabled EvenOdd Cop
* Enabled IfWithSemicolon Cop
* Enabled Lambda and LambdaCall Cop
* Enabled LineEndConcatenation Cop
* Enabled ModuleFunction Cop;
* Enable NegatedIf and NegatedWhile Cop
* Enabled NilComparison Cop
* Enabled Not Cop
* Enabled NumericLiterals Cop
* Enabled OneLineConditional Cop
* Enabled PercentLiteralDelimiters Cop
* Excluded internal/users_controller from negated_if cop
* Reverted the double negation change from github_issue_tag and github_issue.rb"
* Enabled PerlBackrefs Cop
* Changed Regexp.last_match(1) to Regexp.last_match(0)
* Enabled proc cop
* Enabled RaiseArgs Cop
* Reverted Regexp.last_match(0) to Regexp.last_match(1)
* Enabled SelfAssignment Cop
* Enabled SingleLineMethods Cop
* Enabled SpecialGlobalVars Cop
* Enabled VariableInterpolation Cop
* Enabled WhenThen Cop
* Enabled WhileUntilModifier Cop
* Enabled WordArray Cop
* Enabled IfUnlessModifier Cop
* Enabled GuardClause Cop
2019-03-15 18:33:54 -04:00
Anna Buianova
854c7a773c
Rubocop fixes ( #1966 )
2019-03-04 06:18:09 -08:00
Steve Layton
3cc0f27eb3
Remove stray forward slash in RSS feed builder ( #1943 )
...
closes #1942
- removed stray `/` from lines 17 and 18.
2019-03-02 07:50:57 -08:00
Ben Halpern
7d6c85a294
RSS feed optimizations ( #1752 )
...
* RSS feed optimizations
* Update app/views/articles/feed.rss.builder
Co-Authored-By: benhalpern <bendhalpern@gmail.com>
* Update app/controllers/articles_controller.rb
* Update app/controllers/articles_controller.rb
2019-02-06 20:31:58 -04:00
Kohei Sugi
e772169211
Fix Style/For ( #457 )
2018-08-24 11:00:52 -04:00
rhymes
e588fa7ece
Code cleanups ( #659 )
...
* Initial automatic cleanup with rubocop
* Fix syntax error introduced by rubocop
* Cleanup seeds file
* Cleanup lib folder
* Exclude bin folder because it contains auto generated files
* Make Rubocop a little bit more chatty
* Block length should not include comments in the count
* Cleanup config folder
* Cleanup specs
* Updated Rubocop version and generated a todo file
* Fix broken ArticlesApi spec
* Fix tests
* Restored rubocop pre-commit hook
2018-08-07 11:00:13 -04:00
Ben Halpern
7e9280390c
Add /survey and modified several page titles (droped the the) ( #515 )
...
* Add /survey and modified several page titles (droped the the)
* Add emojis to page title
2018-06-28 11:07:42 -04:00
Mac Siri
301c6080e3
Initial commit
2018-02-28 16:11:08 -05:00