Ben Halpern
8b53f68574
Add chat channel policy and spec ( #474 )
2018-06-21 16:58:21 -04:00
Ben Halpern
1127b2e61b
Add protection against reactions to unpublished articles ( #473 )
2018-06-21 15:44:04 -04:00
Mac Siri
ff36271108
Improve ArticlesController's authorization ( #466 )
...
* Fix lint
* Add pundit-matchers gem
* Strengthen ArticlePolicy & create spec
* Change ApplicationPolicy to a closed system
* Globally handle pundit's NotAuthorizedError
* Fix lint
* Adjust /new's authorization
2018-06-21 14:18:32 -04:00
Yechiel Kalmenson
c121dd63d3
Yechiel/feature/add route for shop ( #468 )
...
* add test for /shop route
* route /shop to shop.dev.to
2018-06-21 13:14:13 -04:00
Andy Zhao
691ad2e771
Fix tests for live ( #465 )
2018-06-20 18:45:12 -04:00
Andy Zhao
e2184d2ff0
Tests for /live and minor style adjustments ( #462 )
...
* Add spec for badges show page
* Test live feature and minor styling changes
2018-06-20 18:29:31 -04:00
Andy Zhao
263a74bcb6
Add more request specs ( #460 )
...
* Remove email blank onboarding redirect
* Add authorization specs for video upload
* Add registration spec
* Remove skip before actions for signup complete
* Use new param for abuse reports
* Remove else because it never runs
* Add more dashboard request specs
* Use let with no bang in case there are errors
2018-06-20 17:46:23 -04:00
Ben Halpern
0941b2e4fb
Add some tests around model validations ( #459 )
...
* Modify sample_application.yml and write test
* Add ahrefs verification
* Add some tests around model validations
* Indent an end
* Add a few tests
* Add tests and reserved words
* Fix live articles spec typo
* Modify ga_events_controller
2018-06-20 17:14:08 -04:00
Ben Halpern
3a623993d4
Modify sample_application.yml and write test ( #456 )
...
* Modify sample_application.yml and write test
* Add ahrefs verification
2018-06-19 19:06:22 -04:00
Andy Zhao
ecbb9d4ab1
[Done] New Reporting System MVP ( #408 )
...
* Move validations from controller to model
* Add new columns to feedback message model
* Use polymorphic notes relationship
* MVP of ticketing system
* Use new URL for reported_url param
* Add missing files
* Add validations and tests for feedback_messages
* Clean up some html
* Update create spec and add update spec
* Add mail tests and lint
* Add link to user profile
2018-06-19 16:41:31 -04:00
Mac Siri
ec264bf802
Clean up spec outputs ( #450 )
...
* Improve BadgeAchievementSpec
* Create specs for PushNotificationSubscription
* Clean-up specs for VideoStatesController
* Refactor spec
2018-06-19 16:27:15 -04:00
Andy Zhao
74266db0d9
Add name length validation ( #453 )
2018-06-19 16:22:02 -04:00
Andy Zhao
cfd95a65af
Update "Connect Twitter acct" in settings with new callback url ( #439 )
...
* Update "Connect Twitter acct" in settings with new callback url
* Remove name from comments (#437 )
2018-06-15 12:52:14 -04:00
Ben Halpern
cc45ec8ec6
Remove wrong test ( #436 )
2018-06-13 17:42:57 -04:00
Ben Halpern
66cb24dddf
Fix callback issue
2018-06-12 22:19:44 -04:00
Ben Halpern
7dac253de1
Remove specs
2018-06-12 21:48:55 -04:00
Ben Halpern
cb4340819e
Change Twitter callback_url
2018-06-12 21:40:55 -04:00
Ben Halpern
87c6a758bb
Add top bar indicator and other Connect features ( #424 )
...
* Add algolia public search key
* Add status to chat_channels
2018-06-12 18:24:57 -04:00
Ben Halpern
cfb0bff881
Fix /live and codemirror stuff ( #417 )
2018-06-11 14:56:52 -04:00
Ben Halpern
fb20b8adf7
Add content sidecar for chat ( #413 )
...
* Rearchitect chat channel subscriptions
* Add browser push notifications (attempt)
* Add content sidecar for chat
* Add live code basics
* Add content features to chat
* Fix chat_channels test
2018-06-11 11:00:51 -04:00
Ben Halpern
7bc3e60283
Add browser push notifications (attempt) ( #412 )
2018-06-09 17:33:58 -04:00
Mac Siri
923e1acbda
Create Suggester service object ( #372 )
...
* Create Suggester::Article::Boosted
* Fix lint & Remove .compact
* Expand Suggester service-object WIP
* Create Suggester::Users
* Remove ClassicArticle
* Replace old refactored classes
* Move Suggester specs into appropriate folder
* Fix broken spec & Fix lint
* Fix lint
* Fix lint
* Fix broken code
2018-06-08 17:17:20 -04:00
Ben Halpern
6e6a1f9f28
Remove inconsistent test ( #407 )
...
* Remove inconsistent test
* Fix check for pathname in chat
2018-06-08 16:09:42 -04:00
Mac Siri
dd958ba40c
Move custom TagParser into lib ( #399 )
2018-06-08 13:44:52 -04:00
Andy Zhao
d6a7102f3b
[Done] Fix update and create events ( #404 )
...
* Close out a div properly
* Rename file to .html.erb
* Move new event form back to index page
* Update test to use index view
2018-06-07 15:35:09 -04:00
Ben Halpern
fd4390983c
Add badge achievemnt context message markdown ( #382 )
...
* Add badge achievemnt context message markdown
* Add badge rewarder method for beloved comments
2018-06-04 17:31:01 -04:00
Andy Zhao
59b677ad5d
[Updated] Fixes Create Event Bug ( #368 )
...
* Move create event to /new
* Minor styling adjustments
* Update tests to use /new
* Fix follow notification count
2018-06-04 13:45:22 -04:00
Ben Halpern
4171a0814a
Add basic alpha DM functionality to chat ( #375 )
...
* Initial chat DM features
* Update functionality for DM chats
2018-06-01 16:21:48 -04:00
Ben Halpern
a6cc5e4669
Fix Github Readme tag and add Glitch tag ( #357 )
2018-05-29 14:09:47 -04:00
Jess Lee
7dd8f791fc
[WIP] Jess/#170 GitHub liquid tags ( #272 )
...
* refactor github tag class
* fix github issue tag spec
* reduce github issue title text on mobile
* pull readme
* octokit wip
* Render repo with Octokit and change error handling
* start syling for github tag
* add styling for github readme tag
* Take darker of user colors
* Andy pushing WIP
* truncates and adds styling for readme
* fix relative image links
* use regex instead of URI join for relative image links
* Fix failing test and approvals
2018-05-29 11:29:32 -04:00
Ben Halpern
ce255ba900
Add speakerdeck liquid tag ( #343 )
...
* Take darker of user colors
* Add speakerdeck liquid tag
* Modify speakerdeck test
2018-05-22 17:31:07 -04:00
Ben Halpern
c36c7d8d28
Update default social cards ( #341 )
2018-05-22 15:40:42 -04:00
Andy Zhao
c9c02ef3c0
[Done] Fix div in li issue ( #320 )
...
* Lint and clean up github issue styles
* Use heredoc HTML for easier formatting
* Add better error handling for 404 github issues
* Use custom sanitizer for markdown render
* Refactor unless to ternary
* Rename file and tighten up sanitization
* Fix codepen and instagram tag styling
2018-05-21 17:35:03 -04:00
Ben Halpern
f073eb5754
Add badges and org cta ( #324 )
...
* Make org proof a required field
* Fix color picker and other minor org adjustments
* Add MVP of org add'l sidebar
* Add proof to org factory
* Fix org create action and fix tests
* Add new org fields to admin panel & lint
* Add proof to org edit for backward compatibility
* Add org info to edit preview
* Move preview edit notice to inside article div
* MVP of badge "final" steps
* Add info to user sidebar and clean up badge commit
* Modify sidebar for data
* Add organization decorator
* Add conditional so only users have new swipe nav, not orgs
* Add cloudinary prefix to badges
* Disallow duplicate badges
2018-05-17 18:22:37 -04:00
Mac Siri
75d1a89c7a
Resolve GitHubRepo issue ( #323 )
...
* Change github repo's columen default
* Update GithubRepo::update_to_latest
* Fix failing spec
2018-05-16 16:14:14 -04:00
Ben Halpern
9033c7d71c
Make small style adjustments ( #313 )
...
* Make small style adjustments
* Modify test
* Adjust notifications page
2018-05-14 17:37:08 -04:00
Mac Siri
b4292ade33
Implement chatroom ( #308 )
...
* Fix multiple chat loading bug
* Open profile links in chat via new tab
* Add unmount handling for chat
* Add overscroll property to chat
* Add channel_name to ChatChannel model
* Create route and page for chatroom WIP
* Expose ChatChannel id to live page
* Implement multichannel support WIP
* Implement chatroom page WIP
* Add css for chatroom
* Update chat's moderation
* Refactor chat's message type
* Swap the use of :message_markdown & :message_html
* Add channel permissions WIP
* Fix failing specs
* Adjust json reponses
* Add empty message prevention
* Update participant error message
* Change Workshop channel to General
2018-05-14 12:50:32 -04:00
Ben Halpern
6cff2e68d5
Add /mod views ( #299 )
...
* Fix boosted issue
* Add /mod views
* Fix format issue
* Remove unnecessary articles controller code
2018-05-09 18:26:36 -04:00
Ben Halpern
3e64175170
Changed :message to :Message, should work now 😡 😡 😡 ( #290 )
...
* Changed :message to :Message, should work now 😡 😡 😡
* Change test for video states
2018-05-08 10:03:07 -04:00
Ben Halpern
aa5f6d18be
Add JSON parsing for video_states
2018-05-07 18:48:04 -04:00
Ben Halpern
0b6d850ac1
Add video state column and change endpoint ( #286 )
2018-05-07 16:34:59 -04:00
Mac Siri
1663e7e2c8
Implement Badge & BadgeAchievement model ( #273 )
...
* Create migration for Badge & BadgeAchievement
* Create Badge model with spec & BadgeUploader
* Create BadgeAchievement with spec
* Add badges & badge_achievements assoc to User
* Fix typo
* Clean up BadgeUploader
* Remove storage config & Fix lint
* Add allow-duplicate-badge spec
2018-05-07 13:35:16 -04:00
Ben Halpern
f2101410ea
[WIP] Improve article boosting abilities and insights ( #237 )
...
* Update email subjects split test
* Create alternate editor
* Add proof of concept to emails
* Add utm for internal nav
* Add ability to boost in DEV Digest
* Adjust articles.scss
* Adjust article_form.scss
* Remove unnecessary files
* Remove files from PR
* Adjust boosted email settings
* Conditionally include organization in additional box
* Modify schema.rb
2018-05-02 12:24:54 -04:00
Mac Siri
f810b9a778
Split up mailers ( #260 )
...
* Fix lint
* Split up mailers WIP
* Create spec for ScholarshipMailer
* Create spec for MembershipMailer
* Update to new mail classes
* Remove if/else development cases
* Fix lint
2018-05-01 18:12:26 -04:00
Mac Siri
e3a270d317
Update blackbox's API endpoint ( #259 )
2018-04-30 12:24:32 -04:00
Ben Halpern
2001963863
Misc change to styles ( #255 )
...
* Add user articles to sidebar
* Add organization save-all functionality
* Adjust articles that show up in side sticky bar
* Add conditional for @user_stickies to show up
* Misc change to styles
* Slight change
* Modified footer center show stuff
2018-04-28 16:55:11 -04:00
Mac Siri
4bc9020956
Implement comment preview feature ( #223 )
...
* Create #preview endpoint for CommentController
* Create comment preview button WIP
* Implement preview feature for reply comment W
* Style preview button CSS WIP
* Style preview button CSS WIP
* Tweak markdown toggle logic and add styling
* Update comment feature spec
* Add error handling for comment preview & fix lint
* Extract handleCommentPreview into it's own file
* Adjust functionality for comment preview [WIP]
* Modify comment preview functionality and CSS
* Adjust code style based on linter
2018-04-24 14:30:52 -04:00
Mac Siri
02ab21726d
Create "invalid token" page for EmailSubscriptionController ( #218 )
...
* Update email-unsubscription expiration to 31 days
* Create invalid_token template
* Fix lint
2018-04-18 13:19:08 -04:00
Mac Siri
0f35939906
Update chat app's features ( #204 )
...
* Update chat.scss --skip-ci
* Fix height issue
* Add highlighting
* Implement bannged user handling for chat
* Add scroll obsever
* Limit initial messages load count & max messages
* Add new message alert when scrolled
* Add link to usernames in chat
* Implement channel clearing feature
* Update parserOptions
* Implement banning feature for chat app WIP
* Add policy for ChatChannelsController
* Fix arugment error
* Update user_not_authorized to handle JSON request
* Update specs for updated user_not_authorized
* Update font-weight for windows os
2018-04-16 13:20:12 -07:00
Andy Zhao
db4b7caa0e
Andy/misc/add tests for tag edit ( #205 )
...
* Redirect non logged in users
* Explictly return true when successfully updated
* Add tests for edit and update actions for tags
2018-04-12 15:12:38 -07:00