Ben Halpern
eb768a24ad
[deploy] Add explicit robots instruction meta tag and adjust cloudinary ( #9601 )
...
* Add explicit robots instruction meta tag and adjust cloudinary
* Fix tests
* Fix test to account for random input
* Skip test
2020-08-02 11:25:46 -04:00
PrimeNoodles
f940b1fdc5
Search: replace replaceState with pushState to fix the back button ( #9557 )
...
* Made changes from replaceState to pushState for backbutton browsing
* Fixed typo and replaced replaceState with pushState for consistency
2020-07-31 06:59:24 -04:00
Takuma
2650092abb
[deploy] Fix showing unpublished article edit link ( #9511 )
...
* Fix showing unpublished article edit link
* Change if clauses to surround only edit link
* Fix: use ArticlePolicy.update? instead of checking article update authority manually
2020-07-30 15:18:30 +02:00
Alberto Pérez de Rada Fiol
115adbb1bd
[deploy] Add index and show pages for series ( #9201 )
...
* Add index and show pages for series
* Address code review
* Use `id` instead of `slug` to get collections
* Extract `collection_link` into the application helper
* Only count published articles
* Get rid of the `collection_link_class` method
* Add tests
* Fix test
* Use `**kwargs` instead of `options = {}`
2020-07-29 10:01:52 -04:00
Ben Halpern
8d1a9e7a1c
Show article year if article published last year ( #9547 )
...
* Show article year if article published last year
* Fix tests
2020-07-28 10:32:20 -04:00
Takuma
3fd01c326d
Bug Fix: Article Posted Date and Author Card Posted Date do not match ( #9272 )
...
* Refactor: move has_long_markdown from view to helper, and change it from variable to method
* Fix: Article Posted Date and Author Card Posted Date do not match #8789
* Add test case for Article Posted Date and Author Card Posted Date do not match #8789
* Use our custom URL helper module instead of manually constructing URL
* Move long_markdown? from ArticlesHelper to ArticleDecorator
* Change method name from has_long_markdown? to long_markdown?
* Add test suites for long_markdown? method to ArticleDecorator spec
* Use << over +=
* Fix typo
* Remove unnecessary cache
2020-07-22 16:34:55 +02:00
Fernando Valverde
154a3629ee
Add Native bridge video support ( #9303 )
2020-07-20 11:22:32 -04:00
Michael Kohl
a4dadfb728
Standardize ActiveRecord order clauses ( #9395 )
...
* Change simple order clauses
* Change nested order clauses
2020-07-20 10:00:51 -04:00
Michael Kohl
8dd4a85fba
Introduce domain model for campaigns ( #9300 )
...
* Introduce domain model for campaigns
* Move main_tag method to decorator
* Add options argument to decorator method
* Change more code to use Campaign domain model
* active? -> show_in_sidebar? and fix spec
* Switch back to leading dots after merge
2020-07-20 09:04:53 -04:00
Pavel Tkachenko
9e94b80741
[deploy] Add local_date helper to handle dates with respect of user timezone ( #9285 )
...
* Add local_date helper to handle dates with respect of user timezone
* Fix date timezone bug for articles/show
* Fix date_helper to meet system specs requirements
2020-07-16 08:45:44 -06:00
Arit Amana
a78ccf2310
[deploy] [ModCenter] Fix "FlagUser" Modal functionality ( #8995 )
...
* Make FlagUserModal show up on click
* Explain extra div
* Make sure "Vomit All" reaction fires accurately
* Make test-file comment clearer
* Fix bug when 2 articles are open and the FlagUser modal does not open for the first article
* Still working it out ...
* Tests broken; need help
* Get rid of debugging alerts
* Fixed broken tests for <SingleArticle />
* Write tests for ModerationArticles component
* Complete tests for ModerationArticles component
* Employ safer Preact testing techniques
* Query all articles using "data-testid"
* Revert changes
* Got it working with portals for non-iframe implementation.
* wip tests
* Got mod tools flag user modal wprking on article page again.
* Added some documentation the code.
* Now confirm is disabled until you select an item in the flag user modal.
* Revert "wip tests"
This reverts commit fb7a0825039fd377cad04d9dedad9d1146b03978.
* test prep
* Fixed broken test.
* Refactored to use useRef hook.
* Rename a variable
* remove unnecessary comments
Co-authored-by: Nick Taylor <nick@dev.to>
2020-07-15 13:54:52 -04:00
Ben Halpern
da6a6739e5
[deploy] Invite users to join and create password ( #9294 )
...
* Initial invitation work
* Add more invitation code
* Add proper registration page
* Fix up tests
* Fix failings
* Fix spec
* Add self-serve auth config
* Add registered condition
* Change profile image call and registered_at test
* Change comment
* Fix copy test
* Stub emojipedia
* Linting
* Add registered at to factory
* Ensure registered for user tag
* Update app/views/internal/invitations/index.html.erb
Co-authored-by: Michael Kohl <citizen428@dev.to>
* Update app/controllers/internal/invitations_controller.rb
Co-authored-by: Michael Kohl <citizen428@dev.to>
* Slight changes
* Update recover password flow
* Update app/views/internal/invitations/index.html.erb
Co-authored-by: Michael Kohl <citizen428@dev.to>
* Update app/controllers/internal/invitations_controller.rb
Co-authored-by: Michael Kohl <citizen428@dev.to>
* Update db/schema.rb
Co-authored-by: Michael Kohl <citizen428@dev.to>
2020-07-15 11:37:19 -04:00
Ben Halpern
70a060b71c
[deploy] Make sidebar sponsor headline configurable ( #9251 )
...
* Make sidebar sponsor headline configurable
* Fix spec
* Fix spec typo
2020-07-14 20:18:59 -04:00
Vaidehi Joshi
ca06e4e357
[deploy] Fix TypeError: Cannot set property 'innerHTML' of null ( #9306 )
...
Should fix https://app.honeybadger.io/fault/67192/f79e24dfb4e4364da09dda6380e9d2ff .
2020-07-14 15:03:34 -04:00
Rembrandt Reyes
14b410cb39
Article page: edit and manage button spacing ( #9230 )
2020-07-10 11:54:57 -04:00
Ridhwana
6029948c1a
[deploy] Make the mobile Navigation icons configurable ( #9056 )
...
* chore: make the icons dynamic from site config
* feat: update the navbar icons
* feat: update the descriptions
* chore: update the icons
* chore: update the names to be more reflective
* chore: freeze mutable objects assigned to constants
* chore: update Line is too long.
* icons
* update lightning icon
* chore: read from file
* path here is relative, so use Rails root
* revert to original icons and run svgo on it
* no newline
* feat: update height, width
2020-07-08 20:09:48 +02:00
Ben Halpern
b3f97f95e5
[deploy] Remove unnecessary ?url= param from report-abuse ( #9203 )
2020-07-08 10:50:21 -04:00
ludwiczakpawel
9ee54bfe45
[deploy] Add crayons to pages ( #9175 )
...
* flare tag line height
* .
* dropdown fix + actions bar fix
* actions bar on mob
* .
* .
2020-07-07 09:43:54 -04:00
Michael Kohl
fb27f52ed0
[deploy] Display banner if site hasn't been configured (PRE DEPLOYMENT TASKS) ( #8435 )
2020-07-07 07:37:04 -05:00
ludwiczakpawel
e67df7e94d
Fix action icons in dark themes ( #9177 )
...
* flare tag line height
* .
* dropdown fix + actions bar fix
* actions bar on mob
* .
2020-07-07 14:07:47 +02:00
Ben Halpern
f2890f7757
[deploy] Remove unnecessary fragment cache ( #9159 )
2020-07-06 09:26:55 -04:00
Alex
f86b8a55a4
[deploy] UserSubscription liquid tag update & re-enable JS ( #9082 )
2020-07-06 08:26:40 -05:00
ludwiczakpawel
30c9175f80
Tags index design update ( #9072 )
...
* flare tag line height
* .
* dropdown fix + actions bar fix
* actions bar on mob
* .
* .
* js
* little updates
* improve contrast ratio
* Remove unused id and duplicated element id
Co-authored-by: rhymes <rhymes@hey.com>
2020-07-06 11:43:58 +02:00
Ben Halpern
4a8936a18e
[deploy] Slight fix in dropdown menu code ( #9095 )
2020-07-03 00:08:22 -04:00
Ben Halpern
5c18f8cb67
[deploy] Only include community sponsors header if sponsors truly exist ( #8942 )
2020-07-01 10:37:41 -04:00
ludwiczakpawel
de358f8eec
[deploy] Word-break utility-first class ( #9049 )
...
* flare tag line height
* .
* dropdown fix + actions bar fix
* actions bar on mob
* .
2020-07-01 10:26:15 -04:00
Ben Halpern
0de6e7db5e
[deploy] Add slash back for root link ( #9043 )
2020-06-30 19:17:18 -04:00
OmarElKhatib
f3501d32f5
fix Issue #9013 , badge responsivity ( #9014 )
...
* fix Issue #9013 , badge responsivity
* remove d- prefix from d-block
* remove block because it behave the same without it
2020-06-30 12:52:47 +02:00
Mac Siri
d0b0944b32
Disable UserSubscriptionTag::script ( #9005 )
2020-06-30 09:13:44 +02:00
ludwiczakpawel
3a69f349be
[deploy] Refactor code blocks styling ( #8975 )
...
* flare tag line height
* .
* dropdown fix + actions bar fix
* actions bar on mob
* .
* missing bit
* document
* .
* little fix
* btn--highlight
2020-06-29 21:15:11 -04:00
Ben Halpern
aa855e5f9b
[deploy] Remove dead styling code ( #8991 )
2020-06-29 20:26:49 -04:00
Ben Halpern
8e0972dd33
[deploy] Remove sort links from tags for logged-out (SEO) ( #8932 )
...
* Remove sort links from tags for logged-out (SEO)
* Fix tests
* Fix tests take 2
* Final test fix
* Read error message more clearly
* Adjust tests
* Final test fix
2020-06-26 17:21:18 -04:00
Alex
db4e37781f
[deploy] User subscriptions liquid tag MVP ( #8871 )
...
* UX (view, style, JS) progress
* base_data updates
* More JS updates
* Remove unnecessary param of author_id
* Remove author_id from controller
* Restrict email to admins
* Introduce profile images
* Remove base_data and update tag for source
* Use .key?
* I gotchu Codeclimate, don't worry :)
* Add click event listeners to modal buttons
* Refactor
* More refactor
* Refactor subscriber
* Use userData() for subscriber
* Reorganize
* Code cleanup
* Add subscription API call and favor textContent
* Fix API call and showSubscribed
* Add Apple Auth logic and change links to buttons
* Update success message
* Add Apple email check and spec
* Fix default sign in state
* Remove email from async_info :(
* Refactor markdown classes
* Single quote consistency
* Modal bug attempt & subscriber image on success
* Refactor passing source to tags and fix preview
2020-06-25 13:13:19 -04:00
ludwiczakpawel
dbe6f81b43
Actions bar fix on Article view ( #8903 )
...
* flare tag line height
* .
* dropdown fix + actions bar fix
* actions bar on mob
* revert
2020-06-25 13:02:38 +02:00
Ben Halpern
cfa5e882ce
[deploy] Add SiteConfig for feed style ( #8721 )
...
* Add SiteConfig for feed style
* Merge master
* Merge master
* Fix typo
2020-06-24 12:14:33 -04:00
Jacob Herrington
b8c35a86d9
Fix accessiblity issues flagged by axe on articles ( #8840 )
2020-06-23 08:55:15 +02:00
Vaidehi Joshi
c4d9c4aed9
Remove trailing slashes from URLs to improve SEO ( #8836 ) [deploy]
2020-06-22 13:44:58 -07:00
ludwiczakpawel
8c83aa3365
Table component & Dashboard update ( #8778 )
...
* flare tag line height
* .
* .
* .
* .
* specs
* spec
* .
* spec
2020-06-22 18:47:17 +02:00
Ben Halpern
6f735a5a27
[deploy] Fix div/aside mismatch ( #8784 )
2020-06-18 20:58:16 -04:00
Ben Halpern
0e765b47de
[deploy] Modify articles below content for SEO and efficiency ( #8755 )
...
* Modify articles below content for SEO and efficiency
* fix Travis and code climate failures
Co-authored-by: mstruve <mollylbs@gmail.com>
2020-06-18 15:04:29 -04:00
Nick Taylor
e117c7b766
nickytonline/comment subscription fix ( #8768 )
2020-06-18 11:26:48 -04:00
ludwiczakpawel
cb1f03ce9f
[deploy] CSS fixes ( #8764 )
...
* flare tag line height
* .
* fix editor overflow issue
* fix editor overflow issue
* themable actions colors
* name position
2020-06-18 09:16:13 -04:00
Michael Kohl
158b3f1307
Display 'Originally published' for canonical URLs ( #8761 )
2020-06-18 08:10:47 -04:00
Ben Halpern
478b048fc5
[deploy] Fix article preamble style ( #8756 )
...
* Fix article preamble style
* Proper tests
2020-06-17 20:10:41 -04:00
Ben Halpern
fc667e5177
[deploy] Small css fixes ( #8743 )
...
* Small css fixes
* Update app/views/articles/_org_branding.html.erb
Co-authored-by: ludwiczakpawel <ludwiczakpawel@gmail.com>
Co-authored-by: ludwiczakpawel <ludwiczakpawel@gmail.com>
2020-06-17 16:11:36 -04:00
ludwiczakpawel
cd97ce10f0
[deploy] Ludwiczakpawel/hotfix article ( #8738 )
...
* flare tag line height
* .
* .'
'
2020-06-17 12:14:03 -04:00
Ben Halpern
329f1d3825
[deploy] Hide HTML Variant ( #8731 )
2020-06-17 11:14:21 -04:00
ludwiczakpawel
16f4d7d46a
[deploy] Article Design update ( #8234 )
...
* flare tag line height
* .
* init
* widgets
* widgets lists
* new tabs on home
* instantclick
* .
* rethinking css
* .
* .
* empty space
* init
* campaign widget
* .
* merge
* .
* update layout
* fix sidebars on home page
* .
* fix onboarding x
* test
* spec
* test
* toolbar fix
* more
* test
* better handling ads
* .
* spec
* card border
* .
* .
* actions bar
* cleanup
* animation
* test
* button width
* .
* better responsiveness and author boxes
* meta info
* padding
* better animation
* optimize videos
* fixes
* spec
* .
* codeblocks in comments
* whoops
* Use .present? correctly as it preloads items
* sticky nav
* Update app/views/articles/_sticky_nav.html.erb
I don't know what I'm doing but @benhalpern says so! e8c0f337a5 (r440248874)
Co-authored-by: Ben Halpern <bendhalpern@gmail.com>
* Update app/views/articles/show.html.erb
I don't know what I'm doing but @benhalpern says so! e8c0f337a5 (r440247802)
Co-authored-by: Ben Halpern <bendhalpern@gmail.com>
* little fixes
* Update app/assets/stylesheets/article-show.scss
Co-authored-by: Ben Halpern <bendhalpern@gmail.com>
* pawel updating ruby code......
* actually better merge
* semantic updates
* .
Co-authored-by: rhymes <rhymesete@gmail.com>
Co-authored-by: Ben Halpern <bendhalpern@gmail.com>
2020-06-17 09:57:57 -04:00
Ben Halpern
e6abadff6c
Generalize editor logo ( #8720 )
2020-06-17 10:51:50 +02:00
Jacob Herrington
ad9c7797ec
Fix accessibility warnings from axe ( #8718 )
2020-06-17 10:48:38 +02:00