Commit graph

1602 commits

Author SHA1 Message Date
Ali Spittel
2a9421bf4b Update shecoded.html.erb (#2005) 2019-03-08 12:31:05 -05:00
rhymes
ca79dac1bc Fix sidebar widget header for she coded (#2004) 2019-03-08 12:26:53 -05:00
Ben Halpern
27662eb924
Ben/shecoded tweaks (#2007)
* A few shecoded tweaks

* Refactor code
2019-03-08 08:16:10 -08:00
Ben Halpern
cd36d097ca
Fix social card aspect ratio problem (#2006) 2019-03-08 07:12:53 -08:00
Ben Halpern
138278462a
Add shecoded sidebar/homepage decorations (#2003)
* Add shecoded sidebar/homepage decorations

* Add additional functioanlity to /shecoded

* Fix typo
2019-03-08 04:47:31 -08:00
Ben Halpern
8149a72efb
Nevertheless, She Coded (#2000) 2019-03-07 18:52:09 -08:00
Glenn Carremans
14f8e8888e Use latest Node.js LTS Dubnium version (#1998) [ci skip] 2019-03-07 18:45:30 -05:00
Gabriel Lebec
5626fbe622 Fix runkit's strict preamble (#1938) 2019-03-07 16:41:14 -05:00
Ben Halpern
825aa9be91
Add page_view model (#1985)
* Add page_view model

* Uncomment DJ routes

* Add time on site max and don't update article page views every time
2019-03-07 11:53:33 -08:00
Mac Siri
a18a4523a1
Specify node version to v10.15.0 (#1997) 2019-03-07 13:25:25 -05:00
Mikhail Korolev
7f94b2c2e5 Clean relative paths for both anchors and images in GitHub liquid embeds. Fixes #1976 (#1987) 2019-03-07 07:38:59 -08:00
Glenn Carremans
cb7ee46e35 Fix Mixed Content error in O RLY Parody Book Generator (#1993)
* Fixed image not loading + hide invalid gif

* Replaced other URLs with HTTPS
2019-03-07 07:10:58 -08:00
Andy Zhao
5c116c4881 Update tag admin page(#1990) 2019-03-06 14:28:30 -05:00
Mac Siri
9c6a567556
Update Stale.yml [ci skip] 2019-03-06 12:20:38 -05:00
Ben Halpern
a17cfe7d33
Add time ago to recent posts in feed (#1981)
* Add time ago to recent posts in feed

* Modify time details
2019-03-05 13:40:27 -08:00
Ali Spittel
0c7690333b change media query to 950 instead of 800px (#1983) 2019-03-05 11:49:15 -08:00
Andy Zhao
d94f11fbf7 Add ability to add pro role to internal (#1980)
* Add ability to add pro role in internal

* Remove debug statement
2019-03-05 10:44:56 -08:00
Ben Halpern
3f25d52aba
Adjust rankings to squash lingering popular stuff (#1982) 2019-03-05 10:43:40 -08:00
Conlin Durbin
14beb68fd3 Add new gifs to random_gif.rb (#1944)
* Add new gifs to random_gif.rb

* Update app/labor/random_gif.rb

Co-Authored-By: wuz <conlindurbin@protonmail.com>
2019-03-05 08:09:06 -08:00
Anna Buianova
0ac8eb1f73 Make less queries when displaying articles flare tags (#1957)
* Make less queries when displaying flare tag

* Make less sql queries to display articles flare tags
2019-03-05 07:27:51 -08:00
Ben Halpern
e491cf1f65
Allow non-logged-in proper redirect for template posts (#1977) 2019-03-04 15:50:36 -08:00
Ben Halpern
b271e96965
Add shecoded social preview template (#1975) 2019-03-04 13:18:32 -08:00
Ali Spittel
99f2383ded update shecoded copy (#1974) 2019-03-04 12:42:06 -08:00
Ben Halpern
fd83b33603
Add shecoded template to v2 (#1972) 2019-03-04 12:41:37 -08:00
Ben Halpern
8d0f0946a0
Basics of pro dashboard (#1971) 2019-03-04 12:10:09 -08:00
Anna Buianova
7e568921a8 Enable delayed_job web interface for admins (#1967)
* Enable delayed_job web interface for admins

* Fix delayed_job web interface spec descs
2019-03-04 10:12:42 -08:00
Ben Halpern
7f37d88ce7
Add shecoded meta tags (#1969) 2019-03-04 08:54:31 -08:00
dependabot[bot]
91b77b068b Bump devise from 4.6.0 to 4.6.1 (#1961)
Bumps [devise](https://github.com/plataformatec/devise) from 4.6.0 to 4.6.1.
- [Release notes](https://github.com/plataformatec/devise/releases)
- [Changelog](https://github.com/plataformatec/devise/blob/master/CHANGELOG.md)
- [Commits](https://github.com/plataformatec/devise/compare/v4.6.0...v4.6.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-03-04 11:47:38 -05:00
dependabot[bot]
934ed6279f Bump lint-staged from 8.1.4 to 8.1.5 (#1965) [ci skip]
Bumps [lint-staged](https://github.com/okonet/lint-staged) from 8.1.4 to 8.1.5.
- [Release notes](https://github.com/okonet/lint-staged/releases)
- [Commits](https://github.com/okonet/lint-staged/compare/v8.1.4...v8.1.5)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-03-04 11:46:44 -05:00
dependabot[bot]
ba92a373a0 Bump eslint from 5.14.1 to 5.15.0 (#1963) [ci skip]
Bumps [eslint](https://github.com/eslint/eslint) from 5.14.1 to 5.15.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v5.14.1...v5.15.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-03-04 11:45:21 -05:00
dependabot[bot]
cbc1167ea5 Bump pundit from 2.0.0 to 2.0.1 (#1962) [ci skip]
Bumps [pundit](https://github.com/varvet/pundit) from 2.0.0 to 2.0.1.
- [Release notes](https://github.com/varvet/pundit/releases)
- [Changelog](https://github.com/varvet/pundit/blob/master/CHANGELOG.md)
- [Commits](https://github.com/varvet/pundit/compare/v2.0.0...v2.0.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-03-04 11:44:17 -05:00
Ben Halpern
263b698686
Add shecoded page (#1968)
* Add shecoded page

* Fix copy
2019-03-04 07:50:49 -08:00
dependabot[bot]
a08b6f18a6 Bump eslint-config-prettier from 4.0.0 to 4.1.0 (#1964)
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 4.0.0 to 4.1.0.
- [Release notes](https://github.com/prettier/eslint-config-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/master/CHANGELOG.md)
- [Commits](https://github.com/prettier/eslint-config-prettier/compare/v4.0.0...v4.1.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-03-04 07:49:56 -08:00
Anna Buianova
854c7a773c Rubocop fixes (#1966) 2019-03-04 06:18:09 -08:00
dependabot[bot]
9226ca8be8 Bump skylight from 2.0.2 to 3.1.4 (#1959)
Bumps [skylight](https://github.com/skylightio/skylight-ruby) from 2.0.2 to 3.1.4.
- [Release notes](https://github.com/skylightio/skylight-ruby/releases)
- [Changelog](https://github.com/skylightio/skylight-ruby/blob/master/CHANGELOG.md)
- [Commits](https://github.com/skylightio/skylight-ruby/compare/v2.0.2...v3.1.4)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-03-04 06:16:49 -08:00
dependabot[bot]
3dc28048ec Bump twilio-ruby from 5.15.1 to 5.21.0 (#1960)
Bumps [twilio-ruby](https://github.com/twilio/twilio-ruby) from 5.15.1 to 5.21.0.
- [Release notes](https://github.com/twilio/twilio-ruby/releases)
- [Changelog](https://github.com/twilio/twilio-ruby/blob/master/CHANGES.md)
- [Commits](https://github.com/twilio/twilio-ruby/compare/5.15.1...5.21.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
2019-03-04 06:15:23 -08:00
Ben Halpern
044b088d4f
Switch satellite view to any: true for tags (#1956) 2019-03-03 18:55:39 -08:00
Ben Halpern
f280d9e266
Fix a couple things and modify dev digest logic (#1954) 2019-03-03 18:25:39 -08:00
Joao Bueno
70b7414a28 Add GitDocs to "🔑 Key App tech/services" (#1951)
I thought it was important to quote it ;)
2019-03-03 18:21:05 -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
Dmitrii Krasnov
9375d2436f Fix articles feed not filtering articles by user/organization (#1941)
* Fix articles feed not filtering articles by user/organization
fix #1940

* add specs for articles fetching in articles#feed controller action
2019-03-02 07:48:55 -08:00
Glenn Carremans
bcce614a80 Last general linting sweep (#1947)
* Fixed HTML errors in /app/views/additional_content_boxes

* Fixed indentation

* Fixed linting error in /app/views/comments

* Fixed indentation in /app/views/html_variants

* Fixed HTML errors + Fixed indentation in /app/views/internal

* Fixed HTML errors + Fixed indentation in /app/views/layouts

* Fixed indentation in /app/views/mailers

* Fixed indentation in /app/views/moderations

* Fixed HTML errors + Fixed indentation in /app/views/notifications

* Fixed HTML errors in /app/views/pages

* Fixed HTML errors + Fixed indentation in /app/views/social_previews

* Fixed indentation in /app/views/stories

* Fixed indentation in /app/views/stripe_subscriptions

* Fixed indentation in /app/views/tags

* Fixed indentation in /app/views/users
2019-03-02 07:47:14 -08:00
Pavel Sušický
40e6078a32 add gifs to random_gif.rb (#1945) 2019-03-02 07:21:43 -08:00
Ben Halpern
c93bc48010
Fix issue with boosted article in email digest (#1936)
* Adjust email digest

* Fix for missing user.experience_level

* Fix direction of greater than

* Adjust tests for new criteria
2019-03-01 13:51:06 -08:00
Andy Zhao
b157190ef0 Add missing data for org milestone notifications (#1939)
* Remove duplicate line

* Add missing json_data for org notifications
2019-03-01 13:42:38 -08:00
Andy Zhao
8b8dbd0172 Add Milestone Notifications (#1920)
* Test milestone notifications

* Add initial milestone notifications

* Add extra milestone goalposts

* Move send reaction milestone

* Use proper twilio-video package version

* Add random giphys gifs to milestones

* Make images responsive and add addl gifs

* Add guard statement for older articles

* Update app/views/notifications/_milestone.html.erb

Link to Giphy page instead of source page

* Generate gifs via class and factor in aspect ratio

* Add border radius to gifs

Co-Authored-By: Zhao-Andy <andyzhao.zhao@gmail.com>
2019-03-01 12:25:45 -08:00
Glenn Carremans
e56cc57d8f Fix linting issues in app/views/videos (#1907) [ci skip] 2019-03-01 12:11:51 -05:00
Eugene Cheah
58f68b6602 Add SEND_LOGS_TO_TIMBER env var to control timber logging (#1933) [ci skip] 2019-03-01 12:07:32 -05:00
rhymes
996ca23ed1 Simplify ArticlesController#feed (#1932)
* Simplify ArticlesController#feed

There's unneeded complexity in the logic of the feed method, this way what separates each path should be clearer

* Update app/controllers/articles_controller.rb

Co-Authored-By: rhymes <rhymesete@gmail.com>
2019-03-01 07:32:59 -08:00
Anna Buianova
b1995fd980 Update reading button states after articles loaded (#1927) 2019-03-01 06:11:13 -08:00