Commit graph

111 commits

Author SHA1 Message Date
Glenn Carremans
657be683ce Fix linting issues in app/views/pages (#1897) 2019-02-26 13:09:54 -05:00
Ben Halpern
a36fb04d9e
Add Google Analytics to /badge (#1846) 2019-02-22 10:03:41 -08:00
Mark Filus
298c32428f Fix typo on faq page (#1836) 2019-02-20 17:07:05 -05:00
Glenn Carremans
91633206ee Implement GitHub PR liquid tag support (#1784) 2019-02-15 13:40:15 -05:00
Ben Halpern
92b24a9978
Add html_variant split testing to /badge (#1763)
* Add /badge html_variant

* Fix some of the linting
2019-02-08 12:45:14 -04:00
Peter Frank
9c0bfd6cd0 Update DigitalOcean (#1753)
- Updated DigitalOcean tagline/link
- On homepage and sponsors page
2019-02-06 19:12:53 -04:00
Peter Frank
da968cef43 Update terms with content policy (#1751)
- Added new "Content Policy" language
2019-02-06 19:12:29 -04:00
Ben Halpern
522ac7a1f8
Add GoCD to sponsors (#1709)
* Add GoCD to sponsors

* Modify logo
2019-02-01 19:29:39 -04:00
Andrew Bone
613d3d49c3 Coding style consistency (stackblitz liquid tag) (#1649)
* Style consistancy

Make style more consistent with other liquid tags

* Style consistency

Make style more consistent with other liquid tags

* Style consistency

Make style more consistent with other liquid tags

* rubocop compliance

* rubocop compliance
2019-01-25 12:03:01 -05:00
Andy Zhao
c4677071a7 Mute notifications for a comment thread (#1636)
* Use idempotent update instead of toggle

* Update editor guide with new comment instructions

* Render the settings button on page load

* Add settings button to comment dropdown

* Update styles to properly render

* Add comment mute function and settings page

* Clean up erb spacing

* Remove unneccessary user_id param

* Add receive_notifications for policy spec

* Update name for accuracy

* Add request spec for comments_mute

* Remove unused permitted attributes

* Add actually used permitted attributes
2019-01-24 17:20:38 -05:00
Dave Follett
03bdf63ce4 Added the 'initalpath' and 'module' options to the codesandbox embed (#1545)
* Added the 'initalpath' and 'module' options to the codesandbox embed and updated the help page.

* Fixed spelling errors.

* Rework from previous PR: Improved exception text. Improved regex for detecting invalid options. Changed logic to raise an exception if any invalid options are found by moving the exception raising to be inside the valid_option() method.

* Added unit tests for codesandbox_tag.rb.
2019-01-21 17:39:09 -05:00
Kyle Boe
36b42b2ccd Feature/spotify liquid tag (#1573)
* WIP spotify liquid tags and specs - #1546

* update naming for clarity

* update for rubocop styling

* drop url support - #1546

* bugfix and add correct heights - #1546

* update specs to reflect url removal - #1546

* update standard error message in spec - #1573
2019-01-20 14:01:33 -05:00
Andrew Bone
b56865915c Jsfiddle LiquidTag (#1509)
* Create jsfiddle_tag.rb

Add liquid tag for jsfiddle

* Create jsfiddle_tag-spec.rb

Add liquid tag for jsfiddle

* Update _editor_guide_text.html.erb

Add liquid tag for jsfiddle

* Updates for rubocop

* Edit boilerplate

Change some of the boiler plate code.

* rubocop compliance

* Fixed name

Fixed file name

* Fixed boiler plate

Changed codepen to jsfiddle

* Update guide text

Change the Guide Text to be jsfiddle specific.

Co-Authored-By: Link2Twenty <AndrewB05@gmail.com>

* Fixed typo in spec

Co-Authored-By: Link2Twenty <AndrewB05@gmail.com>

* Update Valid Link

* Update jsfiddle_tag.rb

* Add Approved html

* Remove double slash

* Revert change

* Fix XSS error

* Remove extra line

* Remove extra slash

* Remove extra slash

* Make DRY

* rubocop compliance

* Change test logic

* Revert test to Approvals

* Fix HTML approved
2019-01-17 15:44:01 -05:00
Andrew Bone
4673496830 SlideShare Liquid tag (#1485)
* Create slideshare_tag.rb

* Create slideshare_tag_spec.rb

* Add slide share

* rubocop compliance

* Still learning

https://ruby-doc.org/core-2.5.1/Regexp.html

* More secure match

Co-Authored-By: Link2Twenty <AndrewB05@gmail.com>

* Strip whitespace

Co-Authored-By: Link2Twenty <AndrewB05@gmail.com>

* Strip before regex

Co-Authored-By: Link2Twenty <AndrewB05@gmail.com>

* Remove latter strip

Co-Authored-By: Link2Twenty <AndrewB05@gmail.com>
2019-01-10 12:58:16 -05:00
Ben Halpern
a4fccb2f5b
Swap Triplebyte with Twilio sponsors (#1440) 2019-01-01 17:04:22 -05:00
Ben Halpern
c6644f9e97
Create tag liquid tag (#1417)
* Create tag liquid tag

* Add tag embed to editor guide
2018-12-29 12:12:18 -05:00
Móricz Gergő
36f656c4e3 Add Publishing from RSS Guide (#1151)
* Added Publishing from RSS Guide and added a link to it on Settings -> Publishing from RSS.

* Resolved review.

* copy tweaks
2018-12-20 17:38:38 -05:00
Jess Lee
095d25ecd4 Add more details to Tag moderation page (#1376) 2018-12-20 12:09:28 -05:00
Ashwin Vaswani
fbdd80d5fc Add headings to header tags (#1003)
* updating all headers to have h* tags, or changing elements

* Remove commented out binding.pry

* Remove unused page

* Use article instead of div for consistency

* Update snapshot with new section tag

* Use h4 tags again for new views
2018-12-19 16:47:44 -05:00
Jess Lee
1d2a6def4a Add tag moderation info page (#1360)
* clarifies tag edit form and updates photo

* add better image

* add tag moderation route and page info

* adds labor module for assigning bulk tag moderators

* Apply Peter's changes from code review

Co-Authored-By: jessleenyc <jessleenyc@gmail.com>

* fix typo

Co-Authored-By: jessleenyc <jessleenyc@gmail.com>

* replace with cloudinary image links

* add specs
2018-12-19 09:27:55 -05:00
Andy Zhao
88cd4c13f3 Remove all flipflop related code (#1358)
* Remove all flipflop related code

* Undo an amend

* Comment out one last test

* Remove last test
2018-12-18 16:01:18 -05:00
Mac Siri
06e0cbabbb Revert "Replace Flipflop with Sail (#841)"
This reverts commit 21870e805a.
2018-12-18 13:44:40 -05:00
Vinicius Stock
21870e805a Replace Flipflop with Sail (#841)
* Replace Flipflop with Sail

* Address PR comments

* Bump sail version to latest

* Bump Sail to latest version

* Move setting creation to config/sail.yml

* Bump Sail to latest version

* Use correct limit for cast_type in schema

* Update Sail's route
2018-12-18 12:42:30 -05:00
Tomas Zemanovic
01a334735f Update badges.html.erb (#1266)
updated the Font Awesome badge accordingly to their page
2018-12-07 10:33:07 -05:00
Jess Lee
b7dd7d5ce0 update coc for clarity (#1224) 2018-11-30 14:23:22 -05:00
Andy Zhao
32ed3ced11 Fix raw tag (#1215)
* Fix raw tag

* Remove constant first to prevent warning
2018-11-29 15:18:24 -05:00
Móricz Gergő
79860ee1fa Added series front matter variable to the editor guide, (#1152) 2018-11-20 08:58:03 -05:00
John Woodruff
0f23de50c6 Add stackblitz support (#1120)
* Add stackblitz support

* Add stackblitz tests

* Remove test I accidentally copied over.
2018-11-19 08:38:12 -05:00
Peter Frank
3010378ab9 Updating language in the terms of service (#1130) 2018-11-16 13:35:43 -05:00
Peter Frank
b10747dbac Adding initial org info page (#1119) 2018-11-15 14:15:37 -05:00
Ben Halpern
652ec00f73
Fix typo and remove sustaining membership (#1107) 2018-11-12 19:08:00 -05:00
Nathan Sebhastian
76f6a8f9df codepen embed add default-tab param (#880)
* codepen embed add default-tab param

* add codepen default-tab documentation in help tab
2018-11-07 13:31:20 -05:00
Andy Zhao
61011daa61 Fix typo for codesandbox and replit (#1056) 2018-11-02 13:29:50 -04:00
Ben Halpern
3bc1d8cf5b
Ben/add code sandbox (#1053)
* Add codesandbox support

* Fix codesandbox hastiness
2018-11-02 10:31:20 -04:00
Ben Halpern
ad25882ea7
Add codesandbox support (#1052) 2018-11-02 10:28:53 -04:00
Ben Halpern
5043e3fcc5
Add Raygun sponsor (#1050)
* Add Raygun sponsor

* Fixing typo
2018-11-01 16:13:47 -04:00
lianafelt
61ef3bdd8e Update sponsors.html.erb (#1006)
Remove StickerMule
2018-10-24 17:44:45 -04:00
rhymes
7fe6777c75 Support links with trailing slash for link tag (#950)
The previous implementation of the link tag didn't support links with a trailing slash. It was also based on an internal and undocumentented function in Rails.

https://github.com/rails/rails/issues/28331#issuecomment-285440151
2018-10-19 15:25:58 -04:00
Thomas Bnt
16dc2fb903 Adding Font Awesome (#953)
* Adding Font Awesome

* Update copy
2018-10-18 17:25:37 -04:00
dgolant
3a81c82b28 Add liquid tag for Soundcloud (#844)
* Add liquid tag for Soundcloud

Adds a liquid tag for soundcloud links. Currently does not support customizing autplay, display for comments, or color.

* Strip HTML from Soundcloud tag input

We want to prevent potential XSS exploits, so we sanitize all link input

* Add Soundcloud tag documentation to editor guide
2018-10-09 13:51:59 -04:00
Ben Halpern
87a7067a5c
Spruce up V2 editor look and feel (almost ready 🙂) (#846)
* Spruce up editor look and feel

* Update jest snapshots for editor

* Fix editor guide scoping issue
2018-10-07 11:06:52 -04:00
Kyle Galbraith
31828780d6 Update Editor Guide (#799)
* Add grammar fixes and space separated to tags section

* remove space separated

for space separated to work you actually need to use the # in front of each tag.
2018-10-03 13:15:42 -04:00
Peter Frank
90c6731184 Update sponsor' page (#751) 2018-09-26 12:40:02 -04:00
Gabriel Lebec
4d673e9601 Support RunKit preamble (#696)
* feat(runkit-tag): support preamble

* chore(runkit-tag): remove unnecessary length check

* docs(editor guide text): add preamble to runkit snippet

* fix(spec/runkit-tag): add preamble code to spec

* fix(runkit-tag): prevent xss attacks

* fix(runkit-tag): prevent race condition
2018-09-21 11:27:42 -04:00
Peter Frank
b157e221ee Update sponsor page (#688) 2018-09-17 14:40:03 -04:00
Benny Powers
95fe0eeb94 Add glitch embed options in liquid tag (#680)
* Add glitch embed options in liquid tag

* Add glitch embed options in liquid tag
2018-09-17 10:26:02 -04:00
Peter Frank
9b2bea8576 WIP new sponsor stuff (#650)
New Qlik sponsor stuff
2018-09-13 16:01:59 -04:00
Andy Zhao
da87fe2e0d Fix YouTube tag (#649)
* Fix YouTube tag

* Remove solargraph from VS Code recommendations

* Update editor guide for more clarity
2018-09-13 14:21:10 -04:00
Andy Zhao
832e892373 Fix Liquid Tags (#590)
* Fix glitch tag

* Add custom solutions for default liquid tags

* Update liquid tags regex

* Add speakerdeck tag and format guide a bit
2018-09-04 16:19:24 -04:00
Ben Halpern
392d07e2bc
Fix sponsor copy 2018-09-01 12:02:30 -04:00