rhymes
2660ae1739
Use cached_tag_list_array for tags ( #2857 )
2019-05-16 23:29:57 -04:00
rhymes
f3496edb1c
Articles update API: send publishing notification and set edited_at ( #2859 )
...
* Send notification on the first publishing
* Update edited_at when appropriate
2019-05-16 23:02:05 -04:00
rhymes
61a6c7f17c
Add description to articles create/update API ( #2858 )
2019-05-16 22:56:37 -04:00
rhymes
7f28a0e44b
Unpack milestone hash ( #2860 )
2019-05-16 22:54:57 -04:00
rhymes
d4b0b3fef2
Ensure the collection always belongs to the article owner ( #2861 )
2019-05-16 20:26:57 -04:00
Ben Halpern
6c2498b1b8
Render correct editor based on article's existing format ( #2856 )
...
* Render correct editor based on article's existing format
* Add check for user in /new
2019-05-16 15:25:43 -04:00
Ben Halpern
fb6904f86d
Fix up articles controller ( #2855 )
...
* Fix up articles controller
* Update request specs
* Add proper post_under_org tests
* Remove create_job_opportunity
* Add user profile back in
2019-05-16 13:56:26 -04:00
cyrillefr
68f06c2076
send_milestone_notification in own job ( #2804 )
...
- that calls a service
- spec for job + move spec to service
- minor refactoring
2019-05-16 13:46:50 -04:00
dependabot[bot]
ccf4926f05
Bump storext from 2.2.2 to 3.0.0 ( #2708 )
...
Bumps [storext](https://github.com/g5/storext ) from 2.2.2 to 3.0.0.
- [Release notes](https://github.com/g5/storext/releases )
- [Changelog](https://github.com/G5/storext/blob/master/CHANGELOG.md )
- [Commits](https://github.com/g5/storext/commits )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-05-16 13:08:54 -04:00
rhymes
941ab4178b
Articles API: create and update ( #2844 )
...
* Add system test to create article from the editor
* Move article creation from API to app controller
* Fix system test to edit posts
* Move article update from API to app controller
* Rewrite create article API using API key
* Add main_image and canonical_url to allowed creation params
* Rewrite update article API using API key
* Fix tests and have Comments API inherit from API
2019-05-16 12:26:24 -04:00
Ben Halpern
e7306d2e63
Fix pink theme button difference issue ( #2852 )
2019-05-16 10:17:57 -04:00
Kobe Raypole
2c6cfb2224
Fix user liquid tag text color ( #2849 )
...
This commit fixes the styles for the user liquid tag to match the
current theme.
2019-05-16 08:10:16 -04:00
Tim Lange
2837e5430a
Refactor Onboardings ( #2475 )
2019-05-15 17:51:19 -04:00
rhymes
89d1be167a
Upgrade fog-aws from 2.0 to 3.5 ( #2800 )
2019-05-15 16:43:56 -04:00
Bruno Konrad
c40cd42286
Fix prefered language checkbox label ( #2820 ) [ci skip]
2019-05-15 16:34:29 -04:00
Ben Halpern
1ddbea31f5
Fiddle with padding and adjust colors on show page ( #2845 )
2019-05-15 12:44:19 -04:00
Andy Zhao
d8e2e8e3d4
Strip org secret before searching and add better error handling for invalid secrets ( #2833 )
...
* Strip the org_secret param of whitespace
* Show an error message instead of 404ing
* Remove quotaton marks oops
2019-05-15 12:38:21 -04:00
Anna Buianova
dd0fbf002b
ActiveJob for updating notifications #1996 ( #2839 )
...
* Notifications::Update service
* Update notifications ActiveJob
* Raise an exception when wrong notifiable class passed to a job
2019-05-15 12:37:25 -04:00
Jess Lee
c225fed1ff
check for optin once more before sending ddigest ( #2840 )
2019-05-15 12:36:46 -04:00
Ben Halpern
9cb8658b38
Adjust bottom action bar padding ( #2843 )
2019-05-15 11:56:39 -04:00
Ben Halpern
a176d461b4
Actually make fixes ( #2842 )
2019-05-15 11:36:34 -04:00
Ben Halpern
2f69ca91ed
Folllow on for show page adjustments and fix uglifier issue ( #2841 )
...
* Simplify article show page reactions
* Clean up styling and adjust zen mode logic
* Remove unused variables
* Update app/views/articles/_actions.html.erb
Co-Authored-By: Nick Taylor <nick@iamdeveloper.com>
* Small style mods
* Slight padding change
* Finalize new show page button design
* Remove uncompileable JS and small css changes
2019-05-15 11:29:46 -04:00
Ben Halpern
dd20e70f12
Simplify article show page reactions ( #2827 )
...
* Simplify article show page reactions
* Clean up styling and adjust zen mode logic
* Remove unused variables
* Update app/views/articles/_actions.html.erb
Co-Authored-By: Nick Taylor <nick@iamdeveloper.com>
* Small style mods
* Slight padding change
* Finalize new show page button design
2019-05-15 10:32:36 -04:00
Ben Halpern
166e26bdf9
Move webcomponents-loader to lib and clean out some dead code (unrelated) ( #2838 )
2019-05-14 22:00:46 -04:00
Jess Lee
8915fe3178
bust ghost cache and reindex articles ( #2837 )
2019-05-14 20:51:47 -04:00
Benny Powers
5f9a8a7501
Add click-to-copy to article share dropdown ( #1579 )
2019-05-14 17:45:40 -04:00
Ben Halpern
d9e11da157
Finalize Medium liquid tag and add video to video article liquid tags ( #2832 )
...
* Finalize Medium liquid tag and add video to video article liquid tags
* Add Medium section to editor guide
2019-05-14 17:02:37 -04:00
Jess Lee
486275cbbb
Implement ghostify ( #2773 )
2019-05-14 16:50:14 -04:00
Mario See
7dd811a578
Utilize ERB template for GitHub Liquid tags ( #2777 ) [ci skip]
2019-05-14 15:21:23 -04:00
Evan Winter
0c969c7b19
Add labels to account settings page's field ( #2835 )
2019-05-14 15:09:35 -04:00
Ben Halpern
3f7ef59d23
Fix text that says publishing for v1 ( #2831 )
...
* Fix text that says publishing for v1
* Remove currently in beta text in settings
2019-05-14 14:08:32 -04:00
Mario See
209f796c8d
Utilize ERB template in MediumTag ( #2786 ) [ci skip]
2019-05-14 10:42:48 -04:00
Mario See
d478cc372b
Utilize ERB Template in GlitchTag ( #2774 ) [ci skip]
2019-05-14 10:26:55 -04:00
Mario See
825bea6e13
Utilize ERB template in SlideShareTag ( #2787 ) [ci skip]
2019-05-14 10:23:42 -04:00
Mario See
64c54bec42
Utilize ERB template in ParlerTag ( #2788 ) [ci skip]
2019-05-14 10:18:09 -04:00
rhymes
571c907ee4
Fix save article button action ( #2823 )
2019-05-13 20:31:22 -04:00
rhymes
66ddcbca02
Upgrade rubocop and rubocop-performance ( #2802 ) [ci skip]
2019-05-13 19:21:24 -04:00
Mario See
419ee34866
Utilize ERB template in GistTag ( #2785 )
2019-05-13 17:01:11 -04:00
Ben Halpern
aa68fee630
Turn blank canonical url into nil ( #2821 )
2019-05-13 16:57:36 -04:00
Ben Halpern
b2110d2d85
Add JS guard ( #2819 )
2019-05-13 16:33:58 -04:00
Anna Buianova
24bdfb1ef5
Remove unused ModerationService ( #2805 ) [ci skip]
2019-05-13 16:16:06 -04:00
Ben Halpern
01d0ff8c1d
Finalize archived posts in dashboard ( #2817 )
2019-05-13 16:11:46 -04:00
Kobe Raypole
2dc7f914ac
Move async user methods to ActiveJob ( #2696 )
2019-05-13 16:02:40 -04:00
Jess Lee
f6b59e56bf
Update internal reports buttons type ( #2816 ) [ci skip]
2019-05-13 15:59:19 -04:00
Dana Scheider
b2a8f69f83
Allow archiving of posts ( #2798 )
...
* This commit adds the "archived" attribute to the Article model, which will
enable users to automatically filter archived articles/drafts from appearing
on their dashboard. It also adds an ellipsis menu with a link to archive the
article. I've also moved the Mute Notifications button into the ellipsis menu
as well.
* Add ellipsis menu and make it work
* Fix logic error
* Hide ellipsis menus when you click elsewhere on the body
* Extract function to remove duplication
* Ensure that menu is hidden when the ellipsis button is clicked on an open menu
* Ensure that archiving post button works and that 'archived' param is accepted by the controller
* Enable link to toggle showing/hiding archived articles
* Make 'mute' and 'archive' buttons in ellipsis dropdown list work
* Refactor to make Code Climate happy
* Minor JS refactors
2019-05-13 15:40:52 -04:00
Ben Halpern
ab344801db
Fix localstorage key ( #2815 )
2019-05-13 15:27:42 -04:00
dependabot[bot]
e54d4c915d
Bump counter_culture from 2.2.1 to 2.2.2 ( #2812 )
...
Bumps [counter_culture](https://github.com/magnusvk/counter_culture ) from 2.2.1 to 2.2.2.
- [Release notes](https://github.com/magnusvk/counter_culture/releases )
- [Changelog](https://github.com/magnusvk/counter_culture/blob/master/CHANGELOG.md )
- [Commits](https://github.com/magnusvk/counter_culture/compare/v2.2.1...v2.2.2 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-05-13 14:19:23 -04:00
dependabot[bot]
9448ebb8d1
Bump intersection-observer from 0.6.0 to 0.7.0 ( #2806 ) [ci skip]
...
Bumps [intersection-observer](https://github.com/w3c/IntersectionObserver ) from 0.6.0 to 0.7.0.
- [Release notes](https://github.com/w3c/IntersectionObserver/releases )
- [Commits](https://github.com/w3c/IntersectionObserver/commits )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-05-13 13:26:17 -04:00
dependabot[bot]
14245f1edf
Bump jsdom from 15.0.0 to 15.1.0 ( #2807 ) [ci skip]
...
Bumps [jsdom](https://github.com/jsdom/jsdom ) from 15.0.0 to 15.1.0.
- [Release notes](https://github.com/jsdom/jsdom/releases )
- [Changelog](https://github.com/jsdom/jsdom/blob/master/Changelog.md )
- [Commits](https://github.com/jsdom/jsdom/compare/15.0.0...15.1.0 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-05-13 12:36:13 -04:00
dependabot[bot]
59c9634de1
Bump webdrivers from 3.8.0 to 3.9.1 ( #2814 ) [ci skip]
...
Bumps [webdrivers](https://github.com/titusfortner/webdrivers ) from 3.8.0 to 3.9.1.
- [Release notes](https://github.com/titusfortner/webdrivers/releases )
- [Changelog](https://github.com/titusfortner/webdrivers/blob/master/CHANGELOG.md )
- [Commits](https://github.com/titusfortner/webdrivers/compare/v3.8.0...v3.9.1 )
Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-05-13 12:34:03 -04:00