Michael Kohl
d64943958d
Prepare for profile column drop ( #11246 )
...
* Add new display area for settings only fields
* Update CSV importer
* Prepare for dropping profile columns from user
* Update spec
* Don't migrate nil values
* Update spec
* Update forem:setup task
2020-11-09 10:17:39 +07:00
Arit Amana
4d93112084
Make final Auth Provider Refactor code changes ( #11303 )
2020-11-07 07:49:16 -05:00
Arit Amana
08796b5cee
[Team Email Login] Refactor Authentication Provider Enable/Disable ( #11185 )
...
* Starting out
* Building away...
* Hooking buttons up
* Hook Auth Provider buttons to Array Field
* trying to fix NoNameError
* Remains InviteOnlyMode disable and tests
* Smashing remaining tasks
* Last of tasks
* add tests
* Complete specs and tests 😅
* Fix bug
* Additional guard
* pass event to functions
* Position Email Auth first
* Fix bug in Email Auth Modal
* Fix spacing issue
* Update docs for adminModal.js
* Show/hide Enabled Indicator with Enable/Undo buttons
* Complete Auth Providers functionality
* Update app/javascript/admin/controllers/config_controller.js
Co-authored-by: Vaidehi Joshi <vaidehi.sj@gmail.com>
* Update app/javascript/admin/controllers/config_controller.js
Co-authored-by: Vaidehi Joshi <vaidehi.sj@gmail.com>
* Update app/controllers/admin/configs_controller.rb
Co-authored-by: Vaidehi Joshi <vaidehi.sj@gmail.com>
* Update helper names
* better implementation of EnabledIndicator show/hide
* Small copy changes
* Update spec/helpers/authentication_helper_spec.rb
Co-authored-by: Vaidehi Joshi <vaidehi.sj@gmail.com>
* Update app/views/admin/configs/show.html.erb
Co-authored-by: Vaidehi Joshi <vaidehi.sj@gmail.com>
* Update app/helpers/authentication_helper.rb
Co-authored-by: Vaidehi Joshi <vaidehi.sj@gmail.com>
Co-authored-by: Vaidehi Joshi <vaidehi.sj@gmail.com>
2020-11-06 18:19:34 -05:00
Krzysztof Rybka
397a1c2389
Update page views counters a little bit more often ( #11286 )
2020-11-06 13:09:11 -05:00
Jacob Herrington
0b8f28e1c8
Render op markers for coauthors ( #11294 )
2020-11-06 12:01:16 -06:00
Rafi
47be7ea322
Fixing missing category in listing modal ( #11301 )
2020-11-06 12:29:20 -05:00
Vaidehi Joshi
97d5bc47b6
Use OPENRESTY_URL over protocol + domain ( #11289 )
...
* Use OPENRESTY_URL over protocol + domain
* Prefer OpenResty over Openresty
2020-11-06 08:58:59 -08:00
Krisan Alifari
81dfded1fc
Fix hidden progress bar ( #11296 )
...
Fix #11293
2020-11-06 10:48:24 +01:00
Fernando Valverde
f11523f29a
Makes Runtime.js detect the generalized ForemWebView User Agent ( #11288 )
...
* Makes Runtime.js detect the generalized ForemWebView User Agent extension
* Adds tests
2020-11-05 14:18:17 -06:00
Ben Halpern
ec5d0d0d93
Wrap siteconfig images in optimizer ( #11276 )
...
* Wrap siteconfig images in optimizer
* Add to admin area
2020-11-05 12:35:07 -05:00
Andy Zhao
a8c3ff8c5a
Add trusted role to new tag moderators ( #11242 )
...
* Don't add to mailchimp for N/A circumstance
* Use class << self over self. methods
* Refactor and make add/remove tag mod idempotent
* Add missing param wiki_body_markdown
* Add errors_as_sentence b/c Tag not inheriting from AppRecord
* Refactor and Crayonsify tag page
* Use proper for attr to make label checkable
* Crayonsify moderator section
* Make placeholder white
* Remove remote: false for sync form submit
* Fix more merge conflicts
* Minor styling adjustments
* Fix color field value
* Don't add to Mailchimp community mod list if not enabled
* Add tests for new tag mod routes
* Add missing line oops
* Use self.method over class << self for new Rubyists
* Use more efficient query for getting tag mods
* Use parentheses to follow convention
* Use cleaner way of routing and controller
* Update tests to match new configuration
2020-11-05 10:36:26 -05:00
Rafi
d80f918efa
Fixing flag user modal ( #11221 )
2020-11-05 10:05:37 -05:00
ludwiczakpawel
ae596f3635
Comments inside article ( #11249 )
...
* tooltips 1.0.1
* tooltips 1.0.1
* init
* .
* drop not needed files
* .
2020-11-05 09:12:22 -05:00
ludwiczakpawel
fd43d6bcd6
Another tooltips fix: pointer-events ( #11267 )
...
* tooltips 1.0.1
* tooltips 1.0.1
* tooltip fix
2020-11-05 11:30:57 +01:00
turara
06c561c418
Refactor DataUpdateScript to make its code simpler ( #11263 )
...
* Update data_update_script.rb
* Fix wrong arguments.
2020-11-05 08:19:36 +01:00
Rafi
01725d9344
Fixing date in listing modal ( #11260 )
...
* Fixing date in listing modal
* Adding test
* Fixing test message
2020-11-05 08:09:43 +01:00
Sarthak Sharma
708791f986
🚀 Feature: Give Tab Notification on New Message ( #9847 )
...
Co-authored-by: Narender Singh <narender2031@gmail.com>
2020-11-04 16:34:01 -05:00
Vaidehi Joshi
6d1aada37b
Conditionally hide onboarding task card ( #11259 )
...
* Hide onboarding task card on feed if user hasn't completed onboarding
* Fix some typos, use consistent capitalization
* Remove unnecessary saw_onboarding: true from test users
* Use predicate method for saw_onboarding?
2020-11-04 11:04:34 -08:00
Lisa Sy
f9e18291eb
[Crayons] Update comments card in Profile ( #11199 )
...
* Update comments card in Profile
* Remove avatar and name
2020-11-04 10:45:17 -08:00
Jacob Herrington
6dbf45775b
List single_resource_admin resources in the UI ( #11049 )
...
* List single_resource_admin resources in the UI
* Add a comment to explain Role#resource_name
2020-11-04 11:03:45 -06:00
Andy Zhao
474ba1688f
Update organization <select> to use Crayons ( #11257 )
...
* Use Crayons select instead of default select styles
* Add max width for mobile view
Co-authored-by: Lisa Sy <lisasyis@gmail.com>
Co-authored-by: Lisa Sy <lisasyis@gmail.com>
2020-11-04 07:13:09 -05:00
Lisa Sy
8d08191e9a
[Front-End Q/A] Config Authentication view ( #11169 )
...
* Update spacing and add Crayons classes
* Update modal interaction and style
* WIP Hide collapsed container
* Refactor invite only mode UX using tooltip
* Fix recaptcha toggle
* Implement button-text change and enabled-indicator hide
* Remove small icon alignment
* Update app/views/admin/configs/show.html.erb
* Fix icon and row alignment
* Fix enabled-indicator bug
Co-authored-by: Arit Amana <msarit@gmail.com>
2020-11-03 20:12:19 -08:00
Josh Puetz
542ee58ab8
Rate Limit Modal - Comments ( #11102 )
...
* Non-preact modal
* Some cleanup
* Toggle modal on navigation
* Use rate limit modal on comments page
* Added JSdocs
* Remove explanation link
* Comment rate limit test
* Tests and method renaming
2020-11-03 15:49:20 -06:00
Rafi
9b02f1619b
Fixing tags in listing modal ( #11251 )
2020-11-03 12:01:55 -05:00
ludwiczakpawel
a1b670e63c
Settings UI fix ( #11250 )
...
* tooltips 1.0.1
* tooltips 1.0.1
* styles fix
* .
2020-11-03 16:04:59 +01:00
Mac Siri
16c3ccb955
Replace SimpleIDN usage with Addressable ( #11238 )
2020-11-03 08:55:31 -05:00
Nick Taylor
9154437fe0
Now themes radio button group are wrapped in a fieldset. ( #11244 )
2020-11-03 08:26:18 -05:00
rhymes
47624ddfcd
Add users param to Feeds::Import ( #11234 )
...
* Add users param to Feeds::Import
* Fix init and specs
* Replace explicit nil check
Co-authored-by: Michael Kohl <me@citizen428.net>
Co-authored-by: Michael Kohl <me@citizen428.net>
2020-11-03 07:02:17 -06:00
ludwiczakpawel
7a5c8d78b6
Z-index fix ( #11248 )
...
* tooltips 1.0.1
* tooltips 1.0.1
* z-index fix
2020-11-03 11:14:35 +01:00
Christopher Wray
9e439fcf6e
Fix Bug: Series index page showing series with 0 articles -#9658 ( #11227 )
...
* added join to index collections controller
* + collections test to not show empty series
2020-11-03 09:10:46 +01:00
Krzysztof Rybka
e3495be608
Render followed tags only if container available ( #11054 )
2020-11-02 16:43:37 -05:00
Andy Zhao
0fc1f55178
Filter by a few other roles when adding potential mods ( #11187 )
...
* Refactor and add a few other roles
* Rename constant
Co-authored-by: Vaidehi Joshi <vaidehi.sj@gmail.com>
* Memoize and use better constant name
* Don't query if state is not an actual role
Co-authored-by: Vaidehi Joshi <vaidehi.sj@gmail.com>
2020-11-02 15:05:19 -05:00
Julianna Tetreault
aa7ef577cb
Adds a Default Color Hex Value to the Admin Tags Color Field ( #11105 ) [deploy]
...
* Adds a default color hex value to the /admin/tags/show color picker
* Rebased against color-picker changes and adds default color to edit.html.erb
* Adds a system spec for admin/tags and adjusts the filename for admin_creates_new_page_spec
* Uses .blank? in place of .nil? in admin/tags/show.html.erb
* Refactors test in admin_updates_tag_spec.rb
2020-11-02 12:50:03 -07:00
Lisa Sy
6a79c85e6b
Update comments label in widget ( #11196 )
...
* Update comments label in widget
* Refactor pluralization
2020-11-02 11:17:19 -08:00
Ridhwana
669d411feb
chore: remove future route ( #11117 )
2020-11-02 13:34:15 -05:00
Molly Struve
1852ff55bf
Refactor:Show Same Number of Articles for all Envs ( #11197 )
2020-11-02 10:39:38 -06:00
Wouter van Marrum
9946ac221a
Added form fields for the admin podcasts dashboard. ( #10517 )
...
* Added form fields for the admin podcasts dashboard.
* Updated podcasts_controller.rb; Added parameters to the allowed params.
Updated edit.html.erb; Removed duplicated field.
Updated podcasts_spec.rb; Updated test.
* Fixed a typo.
* Refactored test which hopefully fixes the build
* Added missing comma.
* Added file fixture uploads.
* Fixed a typo.
* Update spec/requests/admin/podcasts_spec.rb
Co-authored-by: Fernando Valverde <fernando@visualcosita.com>
* Again fixed another typo.
* And again fixed another typo.
* Fixed merge conflicts.
Co-authored-by: Fernando Valverde <fernando@visualcosita.com>
Co-authored-by: rhymes <rhymes@hey.com>
2020-11-02 17:19:39 +01:00
Michael Kohl
2a72dc9951
Remove unused method ( #11226 )
2020-11-02 10:45:02 -05:00
Mac Siri
7c954fa16e
Remove social icons from comment liquid tag ( #11186 )
2020-11-02 09:57:08 -05:00
Molly Struve
6007cadad9
Refactor:Always Load Last 24 Hour Podcasts ( #11198 )
2020-11-02 08:33:16 -06:00
dependabot-preview[bot]
2a31681e87
Bump emoji_regex from 3.0.0 to 3.2.0 ( #11210 )
...
* Bump emoji_regex from 3.0.0 to 3.2.0
Bumps [emoji_regex](https://github.com/ticky/ruby-emoji-regex ) from 3.0.0 to 3.2.0.
- [Release notes](https://github.com/ticky/ruby-emoji-regex/releases )
- [Commits](https://github.com/ticky/ruby-emoji-regex/compare/v3.0.0...v3.2.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
* Bump emoji_regex from 3.0.0 to 3.2.0 (Update vendor/cache)
* Use new ::RGIEmoji instead of deprecated ::Regex
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
Co-authored-by: rhymes <rhymes@hey.com>
2020-11-02 11:44:29 +01:00
ludwiczakpawel
bf2e6d749d
Z-index fix ( #11229 )
...
* tooltips 1.0.1
* tooltips 1.0.1
* z index fix
2020-11-02 11:07:05 +01:00
Ivan
3ad0e27f8c
fix for code fullscreen action on comment page ( #11224 )
2020-11-02 10:57:45 +01:00
Michael Kohl
7b6c5b60c1
Add feature flag for profile admin section ( #11149 )
...
* Add feature flag for profile admin section
* Fix spec description
* Also remove profile admin link from sidebar
* Disable profile admin routes based on feature flag
* Minor fixes
* Remove unnecessary object from spec
* Refactor AdminHelper
* Fix specs
* Fix remaining specs
2020-11-02 08:48:18 +07:00
Eduardo Tapia
28961a279d
feat(themes): add background color to hover and selected rows on cards ( #11179 )
2020-10-30 17:59:40 -04:00
Molly Struve
9cf92d1a9e
Refactor:Remove Unused BufferedArticles Controller ( #11193 )
2020-10-30 15:24:02 -05:00
Spencer
c0168df2a8
API: Endpoint to get an organization's details ( #10931 )
...
* add organizations api request spec
* add organizations api controller
* add organizations api show route
* add show jbuilder file
* fix merge conflict on routes
* add organization show to api docs
* update created_at to iso format
* api docs add format field/cleanup
2020-10-30 16:22:30 -04:00
Andy Zhao
a054b3d02b
[deploy] Set email registration to default: false ( #11195 )
2020-10-30 15:41:37 -04:00
Molly Struve
ca3452f044
Refactor:Remove Production Conditional for Page View Updates ( #11164 )
2020-10-30 13:32:54 -05:00
Alex
cb6781740f
[deploy] Update site config defaults ( #11172 )
...
* Update site config defaultss with specs
* Add missing .freeze
* Fix specs
2020-10-30 13:40:09 -04:00