Mac Siri
ce965bcedf
Reduce Airbrake's error output ( #628 )
...
* Remove chmod for after_deploy
* Fix lint
* Ignore Pundit::NotAuthorizedError
* Update Travis config
* Turn off Travis' pr notification
* Add CommonsChunkPlugin to Webpacker
2018-07-27 09:04:52 -07:00
Mac Siri
379829719f
Misc DX improvement ( #621 )
...
* Add updated rack env keys
* Tone-down rack-timeout config
* Avoid cl_image_path in development
* Update README & create env var template
* Update Travis notification config
* Expand Seed file
* Manually-set Rack-timeout config vars
* Fix lint
* Fix Typo(?)
* Add ChatChannel to Seed
* Disable fbq when not in production
* Tweak after_deploy script
* Fix condition
* Change fbq clause
2018-07-25 22:08:17 -07:00
Ben Halpern
7edb371cba
Remove ENV var for algolia and make global var ( #609 )
...
* Remove ENV var for algolia and make global var
* Add :: and give test value to ALGOLIASEARCH_PUBLIC_SEARCH_ONLY_KEY
2018-07-21 12:09:14 -04:00
Mac Siri
40f488d991
Migrate to Travis CI (part 2) ( #591 )
...
* Update Travis.yml
* Update README
* Update README
* Adjust test to not rely on env vars
* Update encryption
* Refactor
* Update env key
* Stub AWS calls
* Create ApplicationConfig
* Fix specs
* Fix lint
* Update ApplicationConfig
* Remove travis env vars
* Fix lint
* Extend character limit to 100
* Add env to travis
* Take out auto-restart after deploy
* Immediately discarded test cache
* Stub GA in request specs
* Stub Pusher
* Fix broken specs
* Update fixture
* Add CodeClimate id
* Change CodeClimate key
* Remove merge mistakes
* WIP
* Add Envied gem & Change README
* Add missing keys
* Add missing key
* Update fixture
* Fix broken spec
* Add Slack Notification for Travis
* Fix wording
* Fix typo
2018-07-20 20:17:18 -04:00
Ben Halpern
e4bb8d7823
Modify timeout and make some queries more efficient ( #593 )
...
* Modify timeout and make some queries more efficient
* Only query podcasts if user signed in
* Remove unnecessary columns selected in boosted query etc.
2018-07-19 11:55:59 -04:00
Mac Siri
1555388f12
Migrate to Travis CI --skip-ci ( #588 )
...
* Create .travis.yml
* Update .travis.yml
* Add postgresql to travis
* Change travis's postgresql version
* Add chrome addon to travis
* Adjust travis config --skip-ci
* Change travis dist
* Change travis to use Chrome --skip-ci
* Use IntegraitonHelpers --skip-ci
* Add no-sandbox option to headless chrome
* Add sudo to travis
* Fix broken spec
* Update travis.yml
* Change how travis store bundler cache
* Update chromedriver command
* Add CodeClimate to travis --skip-ci
* Remove deadcode --skip-ci
* Remove dead code
* Change rspec-retry back to 3
* Add deploy script to travis
* Safelist only master for Travis --skip-ci
2018-07-16 17:11:42 -04:00
Yechiel Kalmenson
6bf23854a1
Update deprecated methods in rack-timeout gem ( #564 )
...
* update depracated methods in rack-timeout gem
* bump the version of the rack-timeout gem
2018-07-13 16:44:12 -04:00
Andy Zhao
535e65ead1
Change mailer default url to https://dev.to ( #549 )
...
* Change mailer default url to https://dev.to
* Use ENV instead of hardcoding url
2018-07-11 14:05:23 -04:00
Mac Siri
889f813991
Create ReservedWords class ( #562 )
2018-07-11 11:53:04 -04:00
Andy Zhao
e7466fc436
[Done] Add Reaction Policy Spec ( #547 )
...
* Delete old files and combine into one spec
* Write new reaction request spec
* Use a single route for logged in/out reaction count
* Refactor a bit
* Remove unused file
* Add reaction policy and spec
* Fix eslint issue
* Remove dead route
2018-07-10 14:12:04 -04:00
Andy Zhao
b45dd391b6
Disable rack timeout logs ( #530 )
2018-07-03 13:09:11 -04:00
Nick Taylor
9d55c5f854
Nick/task/dx/vscode chrome debugger ( #538 )
...
* Now you can attach to debug the front-end with VS Code.
* Added Chrome Debugger extension to suggested extensions.
2018-07-03 10:11:11 -04:00
Ben Halpern
94e5154668
Add initial invitation framework for chat channels ( #528 )
...
* Add initial invitation framework for chat channels
* Update chat_channel specs
* Add DIY concept of accepting invite
* Add some js and fix spec
* Add full invite accept functionality
* Remove console.log from chat
2018-07-02 16:31:20 -04:00
Andy Zhao
a3aa5b5bd2
Silence cache log outputs from dalli gem ( #527 )
2018-07-02 15:51:14 -04:00
Ben Halpern
7e9280390c
Add /survey and modified several page titles (droped the the) ( #515 )
...
* Add /survey and modified several page titles (droped the the)
* Add emojis to page title
2018-06-28 11:07:42 -04:00
Andy Zhao
cd9f6d9ada
[Done] Add BDEFGI Policies and Specs ( #487 )
...
* Add comment for public controllers
* Add block policy and specs
* Add policy for authorizing dashboard
* Add follow policy and specs
* Refactor a tiny bit
* Prevent banned users from following anything
* Add a note for email sub controller about auth
* Add image upload policies
* Add policy for github repos
* Fix typo and use correct github repo variable
* Fix image uploader and use regular params
* Add authenticate_user before action back in
* Rename test
* Update slack bot message formatting and fix reported URL
2018-06-26 09:23:07 -04:00
Mac Siri
dd5a22dc80
Create UserPolicy ( #480 )
...
* Fix lint
* Create User#settings_tab_list
* Remove UsersController#finish_signup
* Remove UsersController#index
* Create UserPolicy WIP
* Replace UsersController's spec with request spec
* Fix broken specs
* Fix broken specs
* Remove comment
* Upgrade UserPolicy
* Fix specs
2018-06-22 20:40:08 -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
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
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
Ben Halpern
937e87918c
Adjust sample_application.yml and env_checker.rb
2018-06-19 15:15:15 -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
Ben Halpern
372efca385
Fix bugs and add experimental video features ( #449 )
2018-06-18 13:06:22 -04:00
Ben Halpern
7d018f049e
Make adjustments and fixes to DEV Conncect ( #427 )
...
* Make adjustments and fixes to DEV Conncect
* Make various small changes and add settings icon
2018-06-13 14:46:30 -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
Mac Siri
8739a9a59b
Remove verbose registration of Liquid & ReverseMarkdown's extensions ( #416 )
...
* Add autoreload for ReverseMarkdown converters
* Change how custom liquid tags are registered
* Apply autreload logic to test
2018-06-11 17:33:03 -04:00
Mac Siri
8d38fe56fd
Remove precompilation related codes ( #414 )
2018-06-11 11:54:38 -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
Ben Halpern
1a85bddd2c
Make pusher channels private ( #410 )
2018-06-08 18:49:59 -04:00
Ben Halpern
645de032df
Rearchitect chat channel subscriptions ( #409 )
...
* Update chat and add precompilation paths
* Update chat and add precompilation paths
* Adjust assets.rb
* Remove inconsistent test
* Fix check for pathname in chat
* Rearchitect chat channel subscriptions
2018-06-08 18:38:53 -04:00
Ben Halpern
98d84d2456
Update chat and add precompilation paths ( #406 )
...
* Update chat and add precompilation paths
* Update chat and add precompilation paths
* Adjust assets.rb
2018-06-08 15:31:48 -04:00
Ben Halpern
ab85216621
Update chat and modify article score calc indexing ( #395 )
2018-06-06 16:08:12 -04:00
Ben Halpern
10c3b52b0a
Add chat channel indicator ( #379 )
...
* Add new message indicator to chat
* Add indicator switch to chat
* Add chat switch indicator
2018-06-01 18:16:10 -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
Mac Siri
9cbc209d62
Monkey-patched ReverseMarkdown's :text & :pre ( #353 )
2018-05-25 14:03:59 -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
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
Nick Taylor
bdefd82557
Added example pusher env vars to sample config ( #332 )
2018-05-21 13:46:47 -04:00
Mac Siri
7cb65649e4
Update chat app ( #326 )
...
* Fix spacing
* Update webpacker gem to 3.5
* Add custom preact-compact config
* Add babel-loader to resolve a weird issue
* Add react-textarea-autocomplete
* Move 2 dependencies into devDependencies
* Add babel-eslint & eslint-plugin-babel
* Refactor chat
* Add fixed width to chat's channels
* Add timestamp for chat
* Fix long word issue
* Add showTimestamp options to chat
* Add profile image to chat
* Make profile image in chat circle
* Improve message send logic
* Add proper user session handling for chat
* Choose profile user image source for chat
* Adjust user's text color
* Fix lint
2018-05-21 13:19:56 -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
Ben Halpern
bc947bbacc
Modify chat styling ( #314 )
2018-05-14 18:16:42 -04:00
Ben Halpern
576132179d
Adjust profile styling and widget style updates ( #312 )
...
* Modify profile design
* Make profile design adjustments
* Minor profile adjustments
* Adjust padding on profile box
2018-05-14 16:42:31 -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