Ben Halpern
03e4f6531f
Add a few tests and fix user tag color bug ( #482 )
2018-06-22 10:22:53 -04:00
Ben Halpern
13a92d17cb
Add a couple basic request specs ( #478 )
2018-06-21 18:35:34 -04:00
Ben Halpern
c60268b76f
Add pundit policy for several controllers ( #476 )
...
* Add pundit policy for several controllers
* Adjust video spec
* Fix tag request specs
* Add proper twilio tokens request specs
* Remove puts statements
2018-06-21 18:26:35 -04:00
Ben Halpern
2b4749bf11
Whitelist columns on to_json call ( #477 )
2018-06-21 17:43:56 -04:00
Andy Zhao
0785720908
Add comment policy and specs ( #475 )
...
* Fix edge case with apostrophes
* Add comment policy and specs
* Add login for deleting comment spec
* Change test to raise pundit error instead of 404
* Clean up comment destroy request specs
* Remove redundant raise
2018-06-21 17:20:34 -04:00
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
Ben Halpern
45ad83455a
Add after-initialize checker to add routes to reserved words ( #471 )
2018-06-21 12:24:47 -04:00
Ben Halpern
aed3c81e8d
Fix canonical url on tag page ( #464 )
...
* Fix canonical url on tag page
* Fix canonical url on tag page
2018-06-21 11:06:37 -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
Ben Halpern
6f1efb0342
Adjust style for live channel ( #463 )
2018-06-20 18:16:56 -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
Jess Lee
3440d0529a
add missing file ( #458 )
2018-06-20 15:00:57 -04:00
Yechiel Kalmenson
23ee1004be
fix grammar in the chat screen ( #457 )
2018-06-20 10:23:09 -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
Mac Siri
d31e1b0594
Remove Sendbird ( #421 )
...
* Remove Sendbird
* Remove more remnant of sendbird
* Remove puts
2018-06-19 17:51:10 -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
Ben Halpern
2b0741fe31
Upgrade sprockets for security reason ( #454 )
2018-06-19 15:38:15 -04:00
Ben Halpern
937e87918c
Adjust sample_application.yml and env_checker.rb
2018-06-19 15:15:15 -04:00
Ben Halpern
064efad2ac
Merge branch 'master' of github.com:thepracticaldev/dev.to_core
2018-06-19 15:14:31 -04:00
Ben Halpern
bb99bece90
Add initial basic support for GitHub repos in /connect ( #452 )
2018-06-19 14:33:30 -04:00
Ben Halpern
bd20390dc8
Merge master
2018-06-19 13:48:10 -04:00
Ben Halpern
914102f19f
Add basic github support to /connect
2018-06-19 13:46:10 -04:00
Jess Lee
ce082da041
Display Sidebar & Local Time For Events ( #438 )
...
* show timestamp in local time
* Implement initializeTimeFixer
* Add Misc work WIP
* add local time to calendar event
* add local dates
* update localtime for calendar event
* show timestamp in local time
* Implement initializeTimeFixer
* Add Misc work WIP
* add local time to calendar event
* add local dates
* update localtime for calendar event
* return if no utc times on page
* add events sidebar
* only show 3 events on sidebar
* Change wording on events header
They won't all be streams
2018-06-19 10:51:20 -04:00
Yechiel Kalmenson
4c76476f29
Fix the order in the setup steps. ( #451 )
2018-06-19 10:43:49 -04:00
Ben Halpern
372efca385
Fix bugs and add experimental video features ( #449 )
2018-06-18 13:06:22 -04:00
Ben Halpern
da585b5f83
Merge branch 'ben/adjust-timestamps' into ben/video
2018-06-18 12:54:47 -04:00
Ben Halpern
74d098f580
Fix bugs and add video
2018-06-18 12:53:43 -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
277739609e
Adjust location of timestamps ( #447 )
2018-06-14 19:08:19 -04:00
Ben Halpern
6e35875f2c
Adjust location of timestamps
2018-06-14 18:54:40 -04:00
Ben Halpern
bf9e0e12ed
Adjust top bar write link ( #446 )
2018-06-14 15:53:00 -04:00
Ben Halpern
51ba78d015
Fix last opened issue on chat channels ( #445 )
2018-06-14 15:16:58 -04:00
Ben Halpern
da45270c88
Quick possible fix of undefined issue ( #444 )
2018-06-14 14:57:00 -04:00
Ben Halpern
ad733aa9fe
Add top bar Connect icon 😱 ( #443 )
2018-06-14 13:50:55 -04:00
Ben Halpern
1366d315a3
Fix typo and modify channels list ( #442 )
2018-06-14 13:31:17 -04:00
Ben Halpern
fccaf2707f
Adjust chat_channel model ( #441 )
2018-06-14 13:14:12 -04:00
Ben Halpern
115ed2e7f7
Make code work more properly and bind pusher states ( #440 )
2018-06-14 12:50:50 -04:00
Ben Halpern
cc45ec8ec6
Remove wrong test ( #436 )
2018-06-13 17:42:57 -04:00
Ben Halpern
cb12c2e358
Hide scroll-x on sidebar ( #435 )
2018-06-13 17:41:05 -04:00
Ben Halpern
e124decabc
Adjust messages_controller to send message before it is persisted if it is valid ( #434 )
2018-06-13 17:35:17 -04:00
Ben Halpern
a9bb3b0dee
Make sidebar style adjustments ( #433 )
2018-06-13 17:21:40 -04:00
Ben Halpern
52399a1761
Set scrolled to false more reliably ( #432 )
2018-06-13 16:25:01 -04:00
Ben Halpern
dbbaae864a
Small fix ( #431 )
2018-06-13 16:11:09 -04:00