Commit Graph

25700 Commits (22afc2a0ca354a1eb11919c51058918d7e953e22)

Author SHA1 Message Date
Oliver Eyton-Williams f0da5e712e
chore: update deps (#38562) 2020-04-17 22:16:31 +05:30
Kristofer Koishigawa 2e90ba4754
fix: change wording for donate buttons (#38549) 2020-04-14 18:48:42 +05:30
Ahmad Abdolsaheb 6517f88b6c
fix: add logos for payment buttons (#38548)
* fix: add assets
* fix: add accepted-cards and style donation assets
2020-04-14 18:22:20 +05:30
Mrugesh Mohapatra d302fc94e0 docs: update docs about docs 2020-04-14 17:14:12 +05:30
Oliver Eyton-Williams a8203d9f1a
fix(docs): move contribute home (#38547)
* fix: move homepage and expand docs
* docs: add docs installation guide
2020-04-14 16:17:33 +05:30
Mrugesh Mohapatra d74d72446d feat: use Stripe checkout on donate page 2020-04-14 12:29:06 +03:00
Mrugesh Mohapatra 946cd0665a feat: add one-time links to PayPal.me 2020-04-14 12:29:06 +03:00
Oliver Eyton-Williams 6157362f61
fix: make docs links relative (#38545)
docsify has the base url of /docs/ while Github uses /
This makes the links relative so the links will work in both.
2020-04-14 14:36:30 +05:30
Ahmad Abdolsaheb 1519e70165
fix: remove paypal credit button (#38537) 2020-04-13 23:16:24 +05:30
Mrugesh Mohapatra e0a91e66cd
revert : fixed broken link on page (#38536)
This reverts commit 285b0d7672.
2020-04-13 20:12:59 +05:30
Owais_Raxa 285b0d7672
docs: fixed broken link on page (#38533) 2020-04-13 19:57:14 +05:30
Mrugesh Mohapatra 0463aae2f5
docs: add Tom to the platform dev team 🎉 (#38535) 2020-04-13 19:54:52 +05:30
Mrugesh Mohapatra 5f1f5554b2
fix: remove stripe card from donate page (#38534) 2020-04-13 16:28:34 +03:00
Mrugesh Mohapatra b8c7fd357d
docs: update reference to contributing guide 2020-04-13 16:40:55 +05:30
Iván Franco 165387553d
Updated spanish file (#38485) 2020-04-12 10:45:25 -05:00
Iván Franco 3683474b4b
updated russian file (#38484) 2020-04-12 10:42:31 -05:00
Iván Franco 74de0d2276
updated chinese file (#38481) 2020-04-12 10:40:01 -05:00
Iván Franco e1e18fb764
updated portuguese file (#38483) 2020-04-12 10:37:21 -05:00
Ashraf Nazar 99c2f0d4f5
fix(curriculum): allow hex triplets for red and green colors to pass tests (#38523) 2020-04-12 17:15:31 +03:00
Iván Franco 1d87dd82e3
updated english file (#38482) 2020-04-11 22:52:54 -05:00
kundan kumar 19c514b702
Fix/functional programming challange (#38516)
* Improved readbility of FP challage

* replace the with a

* corrected gramatical mistake
2020-04-11 21:20:44 -05:00
Jordan Liu 8396b2bc8f
"artefact" to "artifact" (#38528) 2020-04-11 20:45:22 -05:00
Mrugesh Mohapatra 21b27cb7c1
feat: import contribute tools (#38509)
* first commit

* add: adding all files

* added package-lock.json

* fix: labler and getOpenPrs working

* fix: fixed bug with prFilter function

* feat: can check for multiple errors

* add: install more libraries

* refactor: uses getOpenPrs to get PRs

* packages: modified

* feature: added addComment feature

* feature: added ability to check guide errors

* add: added  guideFolderChecks

* fix: corrected issue with open/close

* update: installed new libraries

* fix: updated guide checker

* feat: create license

* fix: update the comment template (#2)

* fix: comment section

* fix: add org name keys

* fix: corrected guide error logic

* fix: removed console.log

Co-Authored-By: RandellDawson <5313213+RandellDawson@users.noreply.github.com>

* fix: corrected guideFolderChecks reduce

* refactor: removed setInterval logic

* feat: added new utilities module

* fix: addComment and labler issues

* feat: changed to module.exports

* fix: improved log file data

* fix: use config var for rateLimiter

Co-Authored-By: RandellDawson <5313213+RandellDawson@users.noreply.github.com>

* fix: used config var for rateLimiter

Co-Authored-By: RandellDawson <5313213+RandellDawson@users.noreply.github.com>

* fix: add vars for production

* fix: add work-logs config

* fix: update gitconfig for work-logs

* fix: update path to work-logs

* docs(readme): add exception for admin v. user

* fix: dotenv will coerce boolean from string (#10)

* fix: changed to sync file save

* feat: updated label script

* feat: installed new libraries

* feat: renamed labelOpenPrs.js to sweeper.js

* feat: 1st attempt repo restructure

* feat: added descriptions to one-off scripts

* fix: rewrote the missing frontmatter message

* feat: created one-off scripts to find frontmatter issues

* fix: add links to relevant style guide

* fix: corrected gitignore input-files

* feat: renamed files/folders to lowercase

* fix: changed prStat.js to pr-stats.js

* fix: renamed prStat.js to pr-stats.js

* fix: renamed addLabels.js to add-labels.js

* fix: deleted typo

* feat: changed .env variables

* fix: added rateLimiter after retrieving pr files

* feat: improved logging functionality

* fix: added catch for unexpected frontmatter error

* fix: changed verbiage unexpected frontmatter error

* fix: correct logging bug

* feat: improved findFailures.js and closeOpen.js

* feat: modified the close/open scripts

* refac: moved labeler.js to pr-tasks

* fix: changed rateLimter time in close-open

* fix: changed delay between close/open

* install: added cli-progress library

* feat: added 2 progress bars for sweeper

* fix: changed rateLimiter for pr-relations script

* fix: corrected directory path for renaming of file to work

* first commit

* first commit

* test travis setup

* more travis setup

* get payload

* test

* test

* test

* app yml pull_requests write

* non-working pullRequest createComment

* problem setting permissions

* create-react-app setup.

* Added styled-components dependency.

* Merge pull request #1 from RandellDawson/feature/prototype

Created prototype.

* Merge pull request #3 from RandellDawson/feat/add-links-to-results

fix: improved input elem behavior

* wip

* test on repo

* tests passing

* fix test title

* issues--write in app.yml

* fix getLabel to createLabel pipeline

* this github scope

* Merge pull request #5 from RandellDawson/refactor/input-react-component

Implemented ref forwarding for Input component. Minor clean up.

* Merge pull request #6 from RandellDawson/feature/search-with-enter-keypress

Added the ability to search by pressing Enter. Associated refactoring.

* Merge pull request #7 from RandellDawson/feature/display-username-with-prs

Added the ability for usernames to be displayed along with found PRs.

* Merge pull request #8 from RandellDawson/feat/report-improvements

Feature: Added Pareto Report and Tabs Navigation

* Merge pull request #9 from RandellDawson/feature/styled-tab-borders

Restyled tab borders to remove doubled-up borders.

* Merge pull request #10 from RandellDawson/feature/styled-components-theme

Implemented styled-components theme.

* Merge pull request #11 from RandellDawson/feature/root-package-json

Adde `package.json` and `.gitignore` to the root folder.

* Merge pull request #14 from RandellDawson/feat/create-search-component

[feature] created Search component

* Merge pull request #16 from RandellDawson/feat/create-search-component

[Feature] Finalized Search Component functionality

* Merge pull request #18 from RandellDawson/fix/correct-search-result-messages

[Fix] Correct search result messages and add info footer

* Merge pull request #19 from RandellDawson/fix/change-link-color

[Fix] Changed links from blue to 006400

* refactor: move sweeper logic to its own directory

* feat: lernafy the sweeper

* refactor: prepare for dashboard backend move

* docs: re-arrange files for cleaner structure

* refactor: prepare @tbushman 's probot for move

* fix: prepare for importing probot

* chore(.gitignore): update root level and remove redundant copy

* refactor: prepare dashboard-client for move

* refactor: prepare repo for bringing in dashboard client

* chore: install deps, remove clutter

* feat: improve efficiency of pr relations script (#23)

* chore: update lock file (#24)

* Feature: API endpoint constants (#30)

* Implemented expeced behaviour for text input.

* Added constants for API endpoints. Refactored Footer, Pareto and Search components accordingly.

* fix: fixed several issues after move to mono repo (#31)

This PR has the following items:

1. Introduces a couple of fixes to the sweeper script from issues right before the move to the mono repo.  These were related to moving labeler out of the root of the sweeper folder and placing into the pr-tasks sub-folder.

2. Combined two scripts which were being used to update the data manually on Glitch (pr-relations.glitch.me).  The new one-off script (get-pr-relations-data.js) downloads the current data.json and then pulls down applicable Github data which updates the data.json and automatically uploads it back to the Glitch server.

3. In an effort to use the same log file across all current one-off scripts and sweeper.js, the ProcessLog class was modified, so now every log created has the same JSON structure as is uploaded to the Glitch server.  This removed a lot of redundant code across 3 files.

4. During a pair-coding session with @honmanyau, we tweaked the UI for the Dashboard app to give it a more consistent look across all views.

5. Based on feedback from a couple of the moderators using the new Dashboard app, the PR title was added along with some other styling. 

6. Added some environment variables for running dashboard-api and dashboard-client in a development mode.

7.  Added a sample_data.json file as a starter file, so someone does not have to do a full data pull to get things up and running. 

8. Modified Pareto view to only display files with 2 or more PRs to speed up the report.

* fix(.env): update paths relative from root of repo (#37)

* docs: update notes on the setup

* feat(tools): add eslint and prettier (#19)

* refactor(lint): apply linting from the tools (#39)

* Revert "refactor(lint): apply linting from the tools (#39)" (#40)

This reverts commit 8be7d12cb3.

* chore: made changes to move off of Glitch

* fix: removed extra lines from sample.env

* docs: added local setup instructions

* docs: update local setup instruction

* docs: update contributing

* docs: create readme.md

* fix(client): CRA config conflicts with the babel-eslint from root (#42)

* feat: add routes and mongodb (#34)

* fix: removed dependace on data.json

* docs: updated README.md

* fix: corrected issues with pareto.js and pr.js

* refactor: simplified mongoose related logic

* feat: added seed shortcut to package.json

* fix: corrected typo

* fix: fixed bug with info.js

* fix: simplified info.js

* fix: corrected updatedAt Schema issue

* fix: corrected typo in comment

* chore(lockfile): update after install from root

* fix: add a seed script to root

* Fix/restructuring and unify code logic (#48)

* fix: first pass at restructure linting cleanup

* fix: second pass of restructure

* fix: corrected path for index.html

* Fix/restructuring (#49)

* moving server scripts to probot/index.js

* non-working express.static config

* config move for seed

* change constant API_HOST to /contribute/

* remove winston

* remove error middleware

* put back client in lerna.json

* fix: fixed CRA static folder issue

* fix: added work-logs folder for one-offs

* small changes

* change /contribute route to /dashboard

* fix: use cross-env in package.json

* formatted with prettier (#50)

* encode mongo uri (#51)

* fix: removed ref to probot/client/.env

* Fixed the format command (#55)

* chore: update lockfile (#56)

* fix: corrected config.oneoff.productionRun issue (#52)

In an earlier PR I use `joi` to make PRODUCTION_RUN environment variables a Boolean, but did not change to the correct reference and did not change the code logic to compare to a Boolean instead of a String value (as it had been before).  This PR corrects that logic, so that the one-off scripts will work in a production mode again.  Also, removed the now unnecessary ` SKIP_PREFLIGHT_CHECK` environment variable from the `probot/.env` file.

* fix: ran npm run format

* fix: corrected some require paths for update-db.js

* fix: drop only specified collections in models.js

* fix: removed lerna for two run scripts

* remove unnecessary environment variables and npm scripts (#59)

* fix: removed config variables not needed

* fix: added pem files to gitignore

* feat: added one-off-script to add english labels

* fix: modified script description

* fix: updated script to use aggregate function

* fix: added note about needing to change url

* init tests

* .toHaveBeenCalledTimes(0) for unrelated PR files

* run tests from root

* lerna run test --scope determined by 'name' field in each package.json

* run jsx in node with .mjs

* shut down mongoose afterEach test

* npm-run-all

* mongoose in tests

* comment out failing script for now

* use probot to get filenames

* remove jsdom and uncomment mongo updateOne test

* only connect mongoose once and better test for PRtest.delete

* fix: added cross-env on npm test and start

* fix: ignore PEM files

* fix: get probot to add stff to db

* fix: changed to aggregate to get info

* fix: renamed update-db to reflect probot

* dashboard route working

* fix: remove calls to update db for now

* fix: update db script for crontab

* Fix: Removal of seed-db (#64)

* fix: removed seeding from production

* fix: removed npm start from instructions

* Fix: Simplify log files for one off scripts (#65)

* fix: removed seeding from production

* fix: removed npm start from instructions

* fix: removed indices from log file

* fix: update lockfile (#66)

* docs: create a CoC

* fix: increased the number of files pulled per PR to Github max of 300 (#70)

* fix: made CRA work with local server running

* added run command just for CRA dev mode

* feat: started working on adding Pareto filters

* fix: added missing fonts for landing page

* fix: filter functionality complete

* fix: removed other as an option

* fix: make language all if no language for filetype

* feat: add some develop scripts

* responsive css (#73)

* Fix broke link of contribution guide (#75)

* [Fix] Update landing page links and make styling for landing page and Dashboard match (#79)

* fix: corrected links and changed header links

* fix: added fonts

* fix: changed layout of Pareto options

* fix: match main page styling

* fix: adjusted padding on menu

* fix: correct link href for Home

* fix: changed title of Dashbaord

* [Fix] Corrected client page title typo (#83)

* fix: corrected typo in page title

* fix: add info record if no collection exists

* docs: updated docs relating to local dev ports

* fix: add count increment when adding

* fix: be able to specify lanuage

* feat: new script to find merge conflicts

* fix: added recheck for unknown status

* fix: add pr number to no results message

* fix: changed from notifying to adding label

* chore: update lockfiles (#92)

* docs: update setup docs (#93)

* fix: update lerna config to install in ci mode

* docs: update readme

* fix/update-local-setup-doc (#98)

* fix/update-local-setup-doc

* fix/capitalization

* Update docs/README.md

Co-Authored-By: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>

* Update docs/README.md

Co-Authored-By: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>

* Update docs/README.md

Co-Authored-By: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>

* Update docs/README.md

Co-Authored-By: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>

* fix/update-homepage-instruction

* fix: remove all guide related code

* chore: remove eslint config from dashboard

* fix: temporarily pause linting of tools/dashboard

Remove this when we have time to configure it properly.

* fix: pause testing on tools/dashboard

Co-authored-by: Randell Dawson <rdawson@onepathtech.com>
Co-authored-by: RandellDawson <5313213+RandellDawson@users.noreply.github.com>
Co-authored-by: tbushman <tbushman@pu.bli.sh>
Co-authored-by: Honman Yau <honmanyau@users.noreply.github.com>
Co-authored-by: Valeriy <ValeraS@users.noreply.github.com>
Co-authored-by: Tracey Bushman <tracey.bushman@gmail.com>
Co-authored-by: Niraj Nandish <nirajnandish@icloud.com>
Co-authored-by: Musthaq Ahamad <musthu.gm@gmail.com>
Co-authored-by: Tom <20648924+moT01@users.noreply.github.com>
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2020-04-07 18:28:56 +05:30
Mrugesh Mohapatra 7473bcc40e
docs: add flight manuals and tooling for docsify (#38510)
* docs: add flight manuals and tooling for docsify

* chore: typos in paths and titles
2020-04-07 15:34:02 +05:30
Mrugesh Mohapatra 13b248d464 chore: npm audit fix in all packages 2020-04-07 14:24:34 +05:30
Mrugesh Mohapatra f5d6ffc2cf docs: update sidebar navigation 2020-04-07 01:47:20 +05:30
Mrugesh Mohapatra 1f9f0d8d8e revert: temporary duplicate of contributing guide
This reverts commit 1b23a8fc5d.
2020-04-07 01:47:20 +05:30
imgbot[bot] 957d56fbac
[ImgBot] Optimize images (#38508)
/docs/components/logo.svg -- 33.70kb -> 32.65kb (3.11%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>

Co-authored-by: ImgBotApp <ImgBotHelp@gmail.com>
2020-04-07 01:45:47 +05:30
Mrugesh Mohapatra 1a6ffc6f1f Create CNAME 2020-04-07 01:15:00 +05:30
Mrugesh Mohapatra 1b23a8fc5d chore: temporary duplicate of contributing guide 2020-04-06 21:18:46 +05:30
Mrugesh Mohapatra 09cd14fd22 feat(docs): host docs with docsify 2020-04-06 20:50:40 +05:30
Gregory Gubarev 40c5d4384e
Improved Russian translate (#37538)
* Improved Russian translate

* Update curriculum/challenges/russian/03-front-end-libraries/bootstrap/add-font-awesome-icons-to-our-buttons.russian.md

Co-Authored-By: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>

* Update curriculum/challenges/russian/03-front-end-libraries/bootstrap/add-font-awesome-icons-to-our-buttons.russian.md

Co-Authored-By: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>

* Like fixed

Co-authored-by: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>
2020-04-05 14:51:10 -07:00
kmmelcher 941457f1ff
Fix Text (#37505)
Fix text portuguese
2020-04-02 15:18:21 -07:00
Mrugesh Mohapatra 00c475f663
chore: update meta and description (#38419) 2020-04-02 17:26:21 +05:30
Oliver Eyton-Williams d4838f65d8 test: update HeatMap snap 2020-04-01 22:40:40 +05:30
Oliver Eyton-Williams 8300a669a3 chore: roll react-tooltip back to 4.1.0
Later versions use random classnames, breaking snapshots.
2020-04-01 22:40:40 +05:30
Oliver Eyton-Williams db4b94f5ad refactor: refer directly to editor when possible 2020-04-01 22:40:40 +05:30
Oliver Eyton-Williams 457dbe13be fix: use updated monaco api 2020-04-01 22:40:40 +05:30
Oliver Eyton-Williams b1296a4521 chore: update deps and install peers 2020-04-01 22:40:40 +05:30
Tom 0ffc657d5f
feat: paginate heatmap + calculate streaks on client (#38318)
Co-authored-by: Oliver Eyton-Williams <ojeytonwilliams@gmail.com>
2020-03-31 23:34:54 +03:00
Ashraf Nazar 7e29462168
fix(Editor): change tab size to 2 spaces instead of 4 (#38475) 2020-03-31 16:20:46 +05:30
Tom 84edc07076
fix: remove unneeded assert text (#38453) 2020-03-30 18:23:18 +02:00
Agata Stawarz 02f5609c99
Remove double slashes in Strip control codes challenge (#38466)
* Remove double slashes in Strip control codes challenge

* Remove unnecessary message argument from assertions

Co-Authored-By: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>

Co-authored-by: Randell Dawson <5313213+RandellDawson@users.noreply.github.com>
2020-03-30 17:23:02 +02:00
Mrugesh Mohapatra ac5e966877 docs(devops): add status badges 2020-03-28 19:34:00 +05:30
Tom a20ea28e45
fix: update rosetta ids in meta file to match challenge files (#38456) 2020-03-28 12:35:19 +05:30
Ahmad Abdolsaheb 562f28e8b9
fix: update supporter badge logic (#38461)
* fix: update supporter badge logic

* fix: update snapshot
2020-03-28 12:34:48 +05:30
Ahmad Abdolsaheb b7e9795466
fix: make modal donation text dynamic (#38462) 2020-03-28 12:34:09 +05:30
Randell Dawson a5818506f0
fix(curriculum): remove setup code not needed anymore from Testing Objects for Properties challenge (#38454)
* fix: remove setup code

* fix: remove call to function
2020-03-28 02:25:04 +12:00
Sohaib 740d57d962
fix (learn): fixed spelling mistake in authentication-strategies.md (#38460) 2020-03-27 06:23:28 -07:00
Oliver Eyton-Williams ffcf8294f1
fix: fetch CSRF cookie and set headers lazily (#38452)
* fix: fetch csrf cookie and set headers lazily

* fix: check cookie each call to keep it up to date

Previously the cookie was checked once and never updated until the
client was reloaded.  Stale or absent cookies would generate incorrect
tokens or no tokens, respectively, causing CSRF errors.
2020-03-27 16:41:33 +05:30