Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question title descriptive #18

Open
wants to merge 78 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 51 commits
Commits
Show all changes
78 commits
Select commit Hold shift + click to select a range
74625ec
Changed the credentials for github, new dev app.
KCsama Feb 21, 2023
5167d80
Merge pull request #1 from cs169/credential
KCsama Feb 21, 2023
8fdbba8
Updated the gemfile to contain faraday
KCsama Feb 21, 2023
30b4c98
updated gem and bundle
KCsama Feb 21, 2023
941800b
provoder state and code climate
KCsama Feb 22, 2023
db92209
Update README.md
KCsama Feb 22, 2023
5c2f430
Update README.md
KCsama Feb 22, 2023
6b21a22
update readme
KCsama Feb 22, 2023
b14f60b
modified credential
KCsama Feb 22, 2023
8201ff1
added badge for ci
KCsama Feb 22, 2023
441d059
Update README.md
KCsama Feb 22, 2023
f1bba60
update on ci.yml
a544266477 Feb 25, 2023
ce369ab
change back.
a544266477 Feb 25, 2023
6f6237b
try migrate
KCsama Feb 25, 2023
c519497
try migrate again
KCsama Feb 25, 2023
aa6960a
change it back
KCsama Feb 25, 2023
357f5c2
omniauth fixed
Feb 28, 2023
55a051e
omniauth
KCsama Feb 28, 2023
85c4a6e
change
a544266477 Mar 1, 2023
3ae7742
Update info.yml
KCsama Mar 1, 2023
e338fe0
Update README.md
KCsama Mar 1, 2023
4bcb8f1
Update ci.yml
KCsama Mar 1, 2023
3a54d05
Update README.md
chithrarajan Mar 1, 2023
2540984
Merge branch 'credential' of https://github.com/cs169/PrairieLearn-EE…
a544266477 Mar 2, 2023
5b817b4
Merge branch 'credential' of https://github.com/cs169/PrairieLearn-EE…
a544266477 Mar 2, 2023
55968ad
Tried fix ci
a544266477 Mar 3, 2023
db08419
try fix ci
a544266477 Mar 3, 2023
2ba100a
try fix ci
a544266477 Mar 3, 2023
97f4b5f
try ci
a544266477 Mar 3, 2023
40b24d6
implicitly using cc id
a544266477 Mar 3, 2023
385fc3c
try implicitly cc id
a544266477 Mar 3, 2023
49cf9a7
use guobin's ccid
a544266477 Mar 3, 2023
b46d235
Merge branch 'main' of https://github.com/cs169/PrairieLearn-EECS int…
a544266477 Mar 3, 2023
b448b7b
Merge pull request #4 from cs169/credential
a544266477 Mar 3, 2023
e6ae829
search bar
fp456 Mar 7, 2023
c39bfb6
Update info.yml
KCsama Mar 8, 2023
6b128f4
Update README.md
KCsama Mar 8, 2023
35d7645
Update info.yml
KCsama Mar 8, 2023
d857499
try bluejay
a544266477 Mar 17, 2023
bfee737
change ci
a544266477 Mar 17, 2023
63b8a68
Update info.yml
a544266477 Mar 17, 2023
6b1acd9
Update info.yml
a544266477 Mar 17, 2023
eece918
Update info.yml
a544266477 Mar 17, 2023
ca80f1c
Update info.yml
a544266477 Mar 17, 2023
438d439
Update info.yml
a544266477 Mar 17, 2023
3e943bc
Update info.yml
a544266477 Mar 17, 2023
95ca903
Update info.yml
a544266477 Mar 17, 2023
432cdf4
Update README.md
KCsama Mar 17, 2023
7d5bdfd
pulling descriptive question titles from info.json and trying to put …
Mar 24, 2023
d4b4e43
made question titles show up in sidebar
Apr 5, 2023
150a958
changed require statements in repo_controller to be at the top
Apr 24, 2023
d4f1cdf
Reset file notes to 0644
cycomachead Apr 25, 2023
9fe0507
Merge pull request #13 from cs169/file-mode-change-test
chithrarajan Apr 25, 2023
9e4408e
Update spec_helper.rb
chithrarajan Apr 25, 2023
9138845
Update rails_helper.rb
chithrarajan Apr 25, 2023
e5071b2
Delete .travis.yml
chithrarajan Apr 26, 2023
e3d1d78
Update home.html.erb
chithrarajan Apr 26, 2023
3c2df42
Update config/application.rb
chithrarajan Apr 26, 2023
4aedc67
Update config/environment.rb
chithrarajan Apr 26, 2023
b8ae853
Update config/initializers/omniauth.rb
chithrarajan Apr 26, 2023
a260768
Delete master.key
chithrarajan Apr 26, 2023
c5382d0
Update ci.yml
chithrarajan Apr 26, 2023
d45c356
Update app/views/questions/index.html.erb
chithrarajan Apr 26, 2023
fdbdf0a
Update 20230325001538_add_descriptive_title_to_questions.rb
chithrarajan Apr 26, 2023
d9c6950
Revert "Update config/initializers/omniauth.rb"
Apr 26, 2023
7a785d3
Revert "Update config/environment.rb"
Apr 26, 2023
3804d1e
Revert "Update config/application.rb"
Apr 26, 2023
29c52cc
change descriptiveTitle to descriptivetitle
Apr 26, 2023
438ebb9
added master.key to gitignore
Apr 26, 2023
ae5d07e
running locally properly
Apr 30, 2023
a2ca94f
fixed master.key to config/master.key
Apr 30, 2023
6e7fdbc
trying on ci.yml
Apr 30, 2023
d954ea5
trying to do test.rb edits
Apr 30, 2023
b300d18
try to set env var
Apr 30, 2023
44b261d
corrfected name
Apr 30, 2023
659515d
try env block secret
Apr 30, 2023
a3ab60a
try adding the line to the tests stuff
Apr 30, 2023
8d18104
delete travis
Apr 30, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file modified .gitattributes
100644 → 100755
Empty file.
45 changes: 45 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: build

on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: Install Ruby 3.0.0
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.0.0

- name: Set up Code Climate test-reporter
run: |
curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
chmod +x ./cc-test-reporter
./cc-test-reporter before-build

- name: Install bundler
run: |
gem install bundler
- name: Install Dependencies
run: bundle install
- name: Set up test database
run: |
bundle exec rake db:setup
bundle exec rake db:create db:migrate
- name: run Cucumber tests and capture coverage
run: |
bundle exec cucumber
./cc-test-reporter format-coverage --output coverage/codeclimate.$SUITE.json --input-type simplecov
- name: run RSpec tests
run: |
bundle exec rspec
./cc-test-reporter format-coverage --output coverage/codeclimate.$SUITE.json --input-type simplecov
- name: Publish code coverage
run: |
export GIT_BRANCH="${GITHUB_REF/refs\/heads\//}"
./cc-test-reporter sum-coverage coverage/codeclimate.*.json
./cc-test-reporter upload-coverage --id ${{ secrets.CC_TEST_REPORTER_ID }}
./cc-test-reporter after-build --id ${{ secrets.CC_TEST_REPORTER_ID }}
Empty file modified .gitignore
100644 → 100755
Empty file.
Empty file modified .nvmrc
100644 → 100755
Empty file.
Empty file modified .rspec
100644 → 100755
Empty file.
Empty file modified .ruby-version
100644 → 100755
Empty file.
2 changes: 1 addition & 1 deletion .travis.yml
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ cache:

env:

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This file should be deleted now

global:
CC_TEST_REPORTER_ID=b2c51ead32a5ba146275df79c6929633c193991d3e902ef1ecde39c80e3fd5a6
CC_TEST_REPORTER_ID=b27ddaa3e2284dc734d6b075bbf977e87c08861108dc5434a64c992c514bd43b
secure: "eqmcHAG2rN5I7L3rahSoEn4Wkciti5aE2NZMwCB5QJn6tDQxrhPP/0CVQM8wI2bqpyF2E9SZJSDj5fc9L64wv1fbUUw9NHyhHQnPIkR8cKnTF1xcm2GZIyPcJ+wGg61JJmwpgKlcf54poyNCXD55rVyVlJ9e3Qzx5YOsN9l18MxS2rNm5VuWiZ5jZBFhNDzPP7eu/zlt/y1FvrWr7nMia/40MxPGuiFlGYx4wQZIaBVR4fmbgUJoneUqGjGaaJyg5u6Ge6JpO6GOsklHh0K0L7vy1U+MCTuc1j4/ygnm4M5g60MrczRst7KkumY1wfMbPCwLHBYq7UVreDMnrKqCKoG/YJ7lVe1Xe/cnph0BO7mpiSL5nYzwAfVmmNTpZlTNfz5hx4lZYQVj0D+W1TUdqCk3npGZ83Wy5tZYSu/6XOIdCt6d+ucg2XJ2VuXG58YF5LP5cseZYYHVpmfK786QnZKlR/omWhviDDuTC/Ph6jN+NBPVUA0Iw8KUTJObO95yvpZvTRvLqmrnFJW+mCkyLqlIA8hsIdCmuQtXtCqy1TN5jAB2nJn4KGzxgyarJ6S/Ajm0qqCAvGBJ96VZKrvEEnTAsewC6PTNyiXGWJu+y6bgve9/h8h1UI1tDJ6vD5BwQkIJgQygjLnjOm7WIxNDhnyjosv9bqySdhgSaUJB2mE="

before_install:
Expand Down
10 changes: 7 additions & 3 deletions Gemfile
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ gem 'jbuilder', '~> 2.7'
# gem 'image_processing', '~> 1.2'

gem 'omniauth'
gem "omniauth-github"
gem "omniauth-rails_csrf_protection"
gem 'octokit', '~> 4.0'

# Reduces boot times through caching; required in config/boot.rb
Expand All @@ -45,11 +47,12 @@ end
group :test do
gem 'rspec-rails'
gem 'guard-rspec'
gem 'simplecov', :require => false
gem 'simplecov', '~> 0.22.0', :require => false
gem 'simplecov_json_formatter', :require => false
gem 'cucumber-rails', :require => false
gem 'cucumber-rails-training-wheels' # basic imperative step defs like "Then I should see..."
gem 'database_cleaner' # required by Cucumber
gem 'simplecov', require: false
gem 'codeclimate-test-reporter', require: false
end

# make sure the following gems are in your production group:
Expand All @@ -61,6 +64,7 @@ end
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]

gem "omniauth-github"

gem "active_type", "= 1.3.2"

gem 'faraday-retry'
Loading