Commit graph

45 commits

Author SHA1 Message Date
Maksim Litvinov
33db32e5f4 Fix rubocop lints (#794) 2018-10-03 13:00:09 -04:00
Andy Zhao
6d7466e80c Silence cache logs (#507) 2018-08-27 16:03:11 -04:00
Monica Powell
d303692bc0 #260 increase mentee-mentor description length (#405)
* increase mentee-mentor description length and fix linting errors

* fix char limit issue and refactor tests
2018-08-20 10:20:23 -04:00
Andy Zhao
183976fde0 Unmute cache silencer temporarily (#324)
* Unmute cache silencer temporarily

* Update .travis.yml
2018-08-14 12:29:35 -04:00
Ben Halpern
16d301d013
Remove unused delayed_job_web (#273)
* Remove unused delayed_job_web

* Remove initializer file for delayed_job_web
2018-08-08 13:15:58 -04:00
Andy Zhao
e899cbbfae Remove unused secret key from config (#666) [ci skip] 2018-08-08 10:36:17 -04:00
rhymes
e588fa7ece Code cleanups (#659)
* Initial automatic cleanup with rubocop

* Fix syntax error introduced by rubocop

* Cleanup seeds file

* Cleanup lib folder

* Exclude bin folder because it contains auto generated files

* Make Rubocop a little bit more chatty

* Block length should not include comments in the count

* Cleanup config folder

* Cleanup specs

* Updated Rubocop version and generated a todo file

* Fix broken ArticlesApi spec

* Fix tests

* Restored rubocop pre-commit hook
2018-08-07 11:00:13 -04:00
Mac Siri
c05ae7583e Make Algolia a requirement (#636)
* Make algolia a requirement

* Remove algolia defaults

* Fix Envfile issue
2018-08-01 11:27:04 -04:00
Mac Siri
0f3342bcec [WIP] Implement non front-matter editor (#415)
* Create alternate editor

* Install linkstate (?)

Not sure how it disappear in the first place

* Run yarn install

* Modulize ArticleForm component

* Refactor

* Isolating css WIP

* Implement simplified frontmatter-less editor

* Modulize individual form element

* Ajust props names

* Transform json params to snakecase

* Remove codes

* Update /new, almost there for release

* Fix editor resize issues

* Change defaultvalue to value in article form tag element

* Modify html buttons in article form
2018-07-27 20:12:33 -07:00
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
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
Mac Siri
889f813991 Create ReservedWords class (#562) 2018-07-11 11:53:04 -04:00
Andy Zhao
b45dd391b6 Disable rack timeout logs (#530) 2018-07-03 13:09:11 -04:00
Andy Zhao
a3aa5b5bd2 Silence cache log outputs from dalli gem (#527) 2018-07-02 15:51:14 -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
Mac Siri
d31e1b0594 Remove Sendbird (#421)
* Remove Sendbird

* Remove more remnant of sendbird

* Remove puts
2018-06-19 17:51:10 -04:00
Ben Halpern
937e87918c Adjust sample_application.yml and env_checker.rb 2018-06-19 15:15:15 -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
7bc3e60283
Add browser push notifications (attempt) (#412) 2018-06-09 17:33:58 -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
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
Ben Halpern
bc947bbacc
Modify chat styling (#314) 2018-05-14 18:16:42 -04:00
Ben Halpern
b2c7450c6f
Adjust social images to rely on HTML (#310)
* Add video thumbnail to social hierarchy

* Add social graphic endpoint
2018-05-11 16:54:56 -04:00
Ben Halpern
cd4d5e9fcb
Improve and finalize video upload (#303) 2018-05-10 11:57:39 -04:00
Ben Halpern
7c59c3aaf4 Add S3 video related keys to ENV check (#284) 2018-05-07 15:52:37 -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
40a8476704
[WIP] Add super beta video upload (#277)
Add super beta video upload
2018-05-03 16:27:52 -04:00
Mac Siri
8003191a4e Create Chat app (#175)
* Setup Pusher gem

* Create ChatChannel and Message model

* Create ChatChannelController

* Add back fix-db-schema-conflicts gem

* Add pusher-js package

* Add validations on Message & ChatChannel models

* Update Route

* Create MessageController

* Update ChatChannelController

* Create Chat app WIP

* Extract messenger render to Message Component

* Implement live chat WIP

* Implement live chat WIP (2)

* Add style and scrollToBottom feature for chat

* Create getUserDataAndCsrfToken function

* Add feature toggle to the new live chat

* Clean up ChatChannelsController & create spec

* Update ChatChannel spec

* Update Message spec

* Create MessagesController spec & refactor

* Clean up Chat app

* Fix lint

* Add character limit to Message
2018-04-04 14:19:57 -07:00
Mac Siri
9d32af7b6c Implement periodic email digest (#123)
* Create EmailDigest WIP

* Add email_digest_periodic to User model

* Add email digest setting to notification

* Draft thoughts (?)  WIP

* Implement EmailDigest's features

* Remove hard-coded email digest vars

* Create spec for EmailDigest

* Fix something

* Temp work

* Run migration & Yarn

* Move email logic out of EmailDigest

* Improve email logic

* Improve EmailLogic'specs

* Update copy

* Change positive_reactions_count limit

For non-followed articles we should have a higher limit. So this change modifies that.
2018-03-27 13:29:08 -04:00
Ben Halpern
8a1f9991f1
Add users to signup modal (and other adjustments) (#124)
* Add a missing bounty hunter

* Add a msg about updating social usernames

* Add mailto: link for yo@dev in terms

* Use render partial for help tag

* Lint a file

* Add first draft of onboarding follow users

* WIP onboarding

* Change users api controller

* Create FollowSuggester to return suggested follows for user

* Create initial follow users flow in onboarding

* Move follow user logic to top lvl

* Add follow api end point for onboarding

* Add profile img and update follow action

* Remove checkbox and use a tag instead

* Lint and update tests

* Remove incomplete test for now

* Final adjustments to signup modal

* Update jest snapshot

* Add more jest tests and fix typo
2018-03-22 18:29:22 -04:00
Mac Siri
f07024e5d7 Implement Runkit Liquid Tag (#87)
* Implement Runkit Liquid Tag

* Update javascript tag

* Fix lint

* Add RunKit to Editor's Guide

* Fix typo
2018-03-19 16:11:51 -04:00
Ben Halpern
c1e623ebc2
Add additional content boxes under posts (#86)
* Add additional content boxes under posts

* Fix issue with classic article for under content
2018-03-16 16:35:54 -04:00
Ben Halpern
e052e63d34
Add tabs for chronological filtering (#69) 2018-03-13 11:13:19 -04:00
Mac Siri
25d720f853 Update README (#25)
* Update info on environment vairables

* Remove spaces from sample keys

* Move selenium-webdriver into test

* Remove webkit related info
2018-03-02 16:37:25 -05:00
Mac Siri
f13c6cedbf Create sample application.yml WIP (#24)
* Update badge link

* Remove unnecessary keys

* Provide sample application.yml
2018-03-02 13:01:45 -05:00
Mac Siri
301c6080e3 Initial commit 2018-02-28 16:11:08 -05:00