Ryan Palo
a00d1eb0d2
Refactor ArticleHelper#get_host_without_www ( #4558 ) [ci skip]
...
Also add specs for it
2019-10-23 14:36:32 -04:00
José Chaves Neto
9e6c64fa83
Fix eslint errors in listings/elements/title.jsx ( #4496 ) [ci skip]
2019-10-23 14:21:47 -04:00
Branko Arnaudovski
efbb108061
Implement Moderators audit logs ( #3449 )
2019-10-23 10:30:45 -04:00
Nadiya Karachevska
4dad407289
API: Add pagination to articles ( #4483 )
...
* Add pagination to articles
* Refactoring
* Update specs
2019-10-22 12:41:00 -04:00
José Chaves Neto
f9f7e1813b
refactor initializeTouchDevice ( #4415 )
2019-10-22 11:26:11 -04:00
weiyong
0b052894bd
Fix weird alignment for additional contents ( #4445 )
2019-10-22 10:52:06 -04:00
Saurabh Daware
54daf334c2
removed extra bracket from liquid tags in editor guide ( #4500 )
2019-10-21 16:42:30 -04:00
Mac Siri
6ec8b40051
Only show hello-dev.js in prod ( #4531 ) [ci skip]
2019-10-21 16:33:27 -04:00
Nick Taylor
2fe2e051b2
Little placeholder tweak to encourage using https ( #4510 )
2019-10-21 16:25:06 -04:00
Hoang
7cd279f3e1
Fix article submission clone bug ( #4505 )
2019-10-21 15:40:29 -04:00
Tamas Fodor
0d2506f9ef
Fix eslint issues in article-form's jsx files ( #4217 )
...
* fix eslint issues in article-form's jsx files
* Use e.key instead of deprecated e.keyCode
* Put back whitespace but in html format
* use re-usable SetupImageButton comp, use window.confirm, put back console.log temporarily
* import deep
* fix CoverImage className prop issue
* update jest snap files
* remove no-restricted-globals from eslint-disable-next-line
2019-10-19 17:09:06 -04:00
RakChamp25
5028e1a670
Refactor: component Tags.jsx ( #4448 )
...
* Refactor: component Tags.jsx
* Revamp Changes lint fix.
* Fixes method binding.
* Destructure Fix.
* Lint fix
* Button Lint Fix.
* Event Key Hash Change.
2019-10-19 17:06:48 -04:00
Colby Melvin
fca98d952d
Fix scrollheight calculation bug ( #4279 ) [ci skip]
2019-10-18 16:41:24 -04:00
Omar Bahareth
ccb64e7f25
Refactor UsersController#handle_settings_tab ( #4492 ) [ci skip]
2019-10-18 15:57:12 -04:00
Jacob Herrington
4f0c1bd4b4
Remove unused import ( #4484 ) [ci skip]
2019-10-17 19:02:36 -04:00
Mac Siri
d976eb7ab6
Create InternalPolicy ( #4380 )
...
* Ensure verify_authorized in internal
* Create internal_policy
* Replace ArticlePolicy usage with InternalPolicy
* Replace BufferUpdate&CommentPolicy with InternalPolicy
* Remove verbose authorize_admin
* Forgot to remove coresponding specs
* Create specs for InternalPolicy
* Expand policy access on internal's broadcast
* Refactor
* Create shared spec
* Create request specs
* Add additional test cases
2019-10-17 14:21:43 -04:00
rhymes
232bc48e3e
Fix eager loadings ( #4365 )
2019-10-17 14:08:31 -04:00
RajaSK05
6b83cd0981
Refactor to component model ( #4478 )
2019-10-17 12:56:33 -04:00
Anna Buianova
41ba46623c
Increase redirects limit when fetching podcasts ( #4479 )
2019-10-17 11:24:29 -04:00
Eddie Hale
f7eba319b5
Fixing eslint errors and warnings under /app/javascript/packs ( #4465 )
...
Changes:
- Refactored articleForm.jsx by moving loadForm() before document.ready.then()
- Removed 'function' in .then() and modified to .then(() => {
- Removed unused function 'isUserSignedIn' in Onboarding.jsx
See: #2470
2019-10-17 09:29:40 -04:00
Jacob Herrington
d339bebca0
Remove unused function ( #4467 )
2019-10-17 08:07:49 -04:00
José Chaves Neto
67089f50ff
Refactor initializeTimeFixer.js ( #4416 )
...
* refactor initializeTimeFixer.js
* apply feedback
* apply review
* fix bugs
2019-10-17 08:05:45 -04:00
Kushal Niroula
ae9a10fb4d
Fix post title going out of the box ( #4392 )
2019-10-16 16:35:09 -04:00
Reece Dunham
3bd1b8ac27
Fix some strange wordings on the pro dashboard ( #4461 ) [ci skip]
2019-10-16 16:22:47 -04:00
RakChamp25
00f6f45334
Refactor readingList.jsx ( #4388 ) [ci skip]
2019-10-16 10:40:01 -04:00
Araslanov Evgeny
02a75b6efa
Remove unused methods _without_delay ( #4366 ) [ci skip]
2019-10-16 10:35:49 -04:00
Phong Truong
89af535146
Make follow button vertically-centered ( #4403 ) [ci skip]
2019-10-16 10:33:22 -04:00
Yash Dave
d307ce7469
Fix JavaScript Console errors in /Comments sub-page of any article ( #4446 )
...
* Fix JavaScript Console errors in /Comments sub-page of any article
- Make use of `document.body.contains()` to check if the element is present before trying to Add or Remove Event listeners or assign attribute values to the same.
* Implement recommendations for changes
- Switch String.match() to Regex.test() in order to have consistent Boolean return.
- Switch if(document.body.contains(element)) to if(element) as no need to check if the element is in visible context, only whether present or not.
* Implement recommendations for changes
- Switch String.match() to Regex.test() in order to have consistent Boolean return for isIOSDevice().
- Switch if(document.body.contains(element)) to if(element) as no need to check if the element is in visible context, only whether present or not.
2019-10-16 09:06:28 -04:00
rhymes
9c76663e1a
Fix broken error interface in Article creation API ( #4458 )
2019-10-16 09:02:26 -04:00
Anna Anks Nowak
ee8ae66e47
Add views count for authenticated users articles [ #4250 ] ( #4393 )
...
* Add views count for authenticated users articles [#4250 ]
* Bump API version to 0.5.6 [#4250 ]
2019-10-15 21:39:17 -04:00
Akshay Arora
9b5f57db0e
Fixed Leave organization not working ( #4387 ) ( #4420 )
...
* Fixed Leave organization not working
* Added named route for users_leave_org
2019-10-15 18:04:16 -04:00
Gabe Dunn
1c1a2e44fb
update muteUnmute to use ternaries instead of if/else to avoid duplicated code ( #4442 )
2019-10-15 17:12:27 -04:00
Bolarinwa Balogun
a6b51888c5
Improve error message in Api::V0:ArticlesController#create ( #4417 )
2019-10-15 16:49:26 -04:00
Karin Hendrikse
0ff237cf20
Add specs for errors, mainimage, and notice ( #4453 ) [ci skip]
2019-10-15 16:46:25 -04:00
Araslanov Evgeny
7de692156c
Add ChatChannels::IndexingJob ( #4317 ) [ci skip]
2019-10-15 16:13:10 -04:00
Emilia Muresan
daff71321f
Fix lints in app/javascript/src/components/ ( #4261 ) [ci skip]
2019-10-15 16:11:18 -04:00
Jacob Herrington
7152f07867
Remove unused import and unused props ( #4452 )
2019-10-15 14:12:40 -04:00
Dmitrii Pashutskii
ea4d1fee63
remove a space and refactor conditions ( #4437 )
...
* remove a space and refactor conditions
* fix the condition to present check
2019-10-15 11:24:19 -04:00
Karin Hendrikse
0575648407
Fix lints for sidebarwidget and sidebaruser ( #4418 ) [ci skip]
2019-10-14 14:43:26 -04:00
Hoang Vo
293ba5231b
Fix eslint issues in app/javascript/listings ( #4253 )
...
* Fix some eslint and a11y issues
* Add a11y fixed to snapshot
* Fix missing whitespace that cause test fail
* Fix code duplicate
* Config eslint to allows the label as a sibling
* Use 'error' instead of 2 in eslintrc
* Correct propTypes in SingleListing
* Add missing id prop for select
* Add space between two functions
* onKeyPress only register Enter
* Allow space key also to activate action
* Use a common function for three event handlers
2019-10-14 14:23:20 -04:00
Dmitrii Pashutskii
ab17afc247
Fix display style and extra spaces in internal's articles ( #4364 ) [ci skip]
...
Change display to flex and adjust code to remove the extra characters
2019-10-14 13:55:32 -04:00
José Chaves Neto
3161ab3214
Fix 'use strict' lints ( #4414 ) [ci skip]
2019-10-14 13:46:15 -04:00
Ben Halpern
9299f9500d
Update feed to have popular post stick around less ( #4413 )
2019-10-14 12:34:11 -04:00
Jacob Herrington
742d50f524
Remove unused onboarding files ( #4254 )
...
* Remove commented code
* Format onboarding SCSS
* Remove old onboarding files
* Remove tests for deleted React components
* Remove outdated onboarding stories
2019-10-14 09:35:37 -04:00
aRtoo
296ebeba6b
- created a shared partial logo_design file ( #4347 )
...
- moved text, bg and logo from profile.html.erb to logo_design.html.erb
- used logo_design to org_admin
2019-10-14 09:17:02 -04:00
Josh Bran
5e32dcd9db
Update constants.rb ( #4394 )
2019-10-14 09:15:09 -04:00
Karin Hendrikse
7ab10e709a
Test: add test for ItemListItem and ItemListItemArchiveButton ( #4391 )
2019-10-14 08:54:07 -04:00
Luke Inglis
cb87cfd36e
Resolve linting issue in app/assets/javascript/sendFetch.js ( #4363 )
2019-10-14 08:46:27 -04:00
RakChamp25
e690348824
Refactor: moreConfig.jsx ( #4352 )
...
* Refactor: moreConfig.jsx
* Revamp Changes
* Revamp TextField Proptypes
* Fix Text Field and revamp changes
* Removed trailing spaces
2019-10-14 08:44:45 -04:00
Andrew Bone
b0bf4aecb9
Centre with flex rather than padding ( #4368 )
...
Rather than centring the preview with padding (which may not always be correct) move to flex to calculate for you.
2019-10-14 08:44:15 -04:00