Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
76 commits
Select commit Hold shift + click to select a range
5eefed5
[CHORES] setting up library
nofamex Feb 28, 2022
e68820b
[RED] create test for user login
kanziebub Mar 1, 2022
e025120
[RED] create tests for class existence
kanziebub Mar 1, 2022
d716c47
[REFACTOR] update needed variables
kanziebub Mar 1, 2022
f4f8c99
[RED] create test to check user is in class
kanziebub Mar 1, 2022
09aecc0
[RED] create test for when user has classes
kanziebub Mar 1, 2022
7fa31dc
[RED] create test for when user has no classes
kanziebub Mar 1, 2022
525fc19
[CHORES] resolve namin convention
nofamex Mar 1, 2022
eb7ba54
[CHORES] resolve pull request comments
nofamex Mar 1, 2022
62ddae8
Merge pull request #11 from uasoft-indonesia/chores/lms-module-setup
nofamex Mar 1, 2022
e9666b8
[REFACTOR] resolve conflict
kanziebub Mar 1, 2022
6db5019
[REFACTOR] fix imports and add newline
kanziebub Mar 1, 2022
fc128d8
[CHORES] setup test (#17)
AldiNFitrah Mar 6, 2022
fe3d9cf
Chore/tidy up test config (#18)
AldiNFitrah Mar 6, 2022
03da42a
Merge branch 'staging' of https://github.com/uasoft-indonesia/badaso-…
kanziebub Mar 7, 2022
9c81f00
PBI-4: Users can create course (#19)
AldiNFitrah Mar 8, 2022
8457310
Setup CI/CD for sonarqube analysis (#20)
nofamex Mar 8, 2022
5b5bcae
[CHORES] resolve merge conflict
kanziebub Mar 8, 2022
6152073
PBI2: User can login into the app (#23)
nofamex Mar 9, 2022
9e52d02
[REFACTOR] Fix failing test (#24)
nofamex Mar 9, 2022
e2a502d
PBI-5: Users can join class (#15)
FXDROS Mar 9, 2022
80baede
[GREEN] starting view class impl
kanziebub Mar 11, 2022
5d1d550
Merge branch 'staging' of https://github.com/uasoft-indonesia/badaso-…
kanziebub Mar 11, 2022
ef2e3f2
[GREEN] set routing for view api
kanziebub Mar 12, 2022
d062232
[GREEN] implement view api
kanziebub Mar 12, 2022
fbbd6ce
[REFACTOR] rm incorrect test file
kanziebub Mar 13, 2022
3e1a1cc
[RED] creates api tests
kanziebub Mar 13, 2022
d4da3ed
[REFACTOR] newline
kanziebub Mar 13, 2022
90329f8
[REFACTOR] fix code smells
kanziebub Mar 13, 2022
c5a7802
[REFACTOR] fix code smells
kanziebub Mar 13, 2022
dcfc81f
[REFACTOR] fix code smells
kanziebub Mar 13, 2022
f57eb5e
[REFACTOR] fix code smells
kanziebub Mar 13, 2022
499fed9
[REFACTOR] fix code smells
kanziebub Mar 13, 2022
4677f94
[REFACTOR] fix code smells
kanziebub Mar 13, 2022
67199c9
[CHORES] resolve conflict
kanziebub Mar 13, 2022
68deb16
[REFACTOR] fix variable naming
kanziebub Mar 13, 2022
5b3f73a
PBI 1 register (#21)
Zsaschz Mar 13, 2022
1ab2e91
PBI-7-8: Teacher & Student Can See People In Course (#14)
IlmaMannix Mar 13, 2022
a983e6a
Merge pull request #12 from uasoft-indonesia/PBI-3-view_class
kanziebub Mar 13, 2022
d6e58c6
PBI-9: create announcement (#37)
AldiNFitrah Mar 26, 2022
ad6b44e
PBI-10: view announcement (#38)
AldiNFitrah Mar 26, 2022
1b88153
PBI-11: edit announcement (#39)
AldiNFitrah Mar 26, 2022
576b21d
PBI-16-17-18-19 Crud Topic (#40)
nofamex Mar 29, 2022
3c13a7d
PBI-13: create comment (#41)
kanziebub Mar 29, 2022
ac98487
[REFACTOR] course api (#25)
kanziebub Mar 30, 2022
f8f93df
PBI-14-15: update delete comment (#42)
kanziebub Apr 1, 2022
f719c42
PBI-12: Delete Announcement (#43)
FXDROS Apr 2, 2022
ba28b8a
[REFACTOR] fix retrieve announcement and comment (#45)
kanziebub Apr 3, 2022
60b6b2e
PBI 21 course layout (#46)
Zsaschz Apr 4, 2022
b6f661e
PBI-22: create lesson material (#58)
AldiNFitrah Apr 17, 2022
67d27a7
PBI-23: Read lesson material (#59)
AldiNFitrah Apr 17, 2022
ba07bf4
PBI-24: Edit lesson material (#60)
AldiNFitrah Apr 17, 2022
84513be
PBI-25: Delete lesson material (#61)
AldiNFitrah Apr 17, 2022
d1fcbe3
PBI-26-27-28-29 Lesson material file upload (#63)
nofamex Apr 18, 2022
c094c9b
PBI-30: create retrieve comment (#62)
kanziebub Apr 18, 2022
505d144
PBI-23: fix view lesson material (#65)
AldiNFitrah Apr 22, 2022
3004f76
Fix PBI-25: delete lesson material (#66)
AldiNFitrah Apr 23, 2022
407a807
PBI 31 & 32: edit delete comment (#64)
kanziebub Apr 24, 2022
a6a0c30
[CHORE] add nullable to lesson material validation (#67)
AldiNFitrah Apr 25, 2022
efac17c
PBI-33: create assignment (#68)
AldiNFitrah May 16, 2022
5ca68ad
PBI-34: view assignment (#69)
AldiNFitrah May 16, 2022
ccce6df
PBI-35: edit assignment (#70)
AldiNFitrah May 16, 2022
5a8bbfe
PBI-36: delete assignment (#71)
AldiNFitrah May 16, 2022
c49c6d2
[REFACTOR] use iso8601 datetime format (#77)
AldiNFitrah May 17, 2022
ae600cd
PBI 41 & 42: create & read quiz (#76)
kanziebub May 17, 2022
a9e9a13
Pbi 37 38 39 40 submission (#79)
nofamex May 17, 2022
e29d603
[CHORE] fix datetime format and attribute naming (#81)
kanziebub May 17, 2022
82ac95c
Hotfix: use iso8601 datetime format for quiz (#82)
kanziebub May 18, 2022
f80859a
Hotfix/quiz (#83)
kanziebub May 18, 2022
41bb1e4
Hotfix - Return id on submission read (#84)
nofamex May 19, 2022
4cbfea3
PBI 42 & 43: edit & delete quiz (#85)
kanziebub May 23, 2022
adf5755
[DOCS] Add documentation using Docusaurus (#87)
AldiNFitrah Jun 12, 2022
3ce4a3d
Upgrade node version required to run documentation (#88)
AldiNFitrah Jun 12, 2022
7507785
Trigger jobs (#89)
AldiNFitrah Jun 12, 2022
d43324f
Merge branch 'main' into staging
nofamex Jun 24, 2022
11c19dc
Update node version to 16.x
rizkiheryandi Jul 13, 2022
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
19 changes: 11 additions & 8 deletions .github/workflows/sonarqube.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,14 @@ jobs:
name: SonarQube Trigger
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
with:
fetch-depth: 0
- name: SonarQube Scan
uses: sonarsource/sonarqube-scan-action@master
env:
SONAR_TOKEN: "69f012beb8463b6cfd65378dcfde0d89e000cbea"
SONAR_HOST_URL: "http://35.224.113.103:9000"
- uses: actions/checkout@master
with:
fetch-depth: 0
- name: SonarQube Scan
uses: sonarsource/sonarqube-scan-action@master
with:
args: >
-Dsonar.branch.name=${{ github.ref_name }}
env:
SONAR_TOKEN: "0052493ad45d69d2bc55d9bd64e9f8cc9da0bec0"
SONAR_HOST_URL: "https://pmpl.cs.ui.ac.id/sonarqube"
4 changes: 2 additions & 2 deletions .github/workflows/website-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Deploy Website to GitHub Pages

on:
push:
branches: [main]
branches: [main, staging]
paths: [website/**]

jobs:
Expand All @@ -13,7 +13,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 14.x
node-version: 16.15.x
cache: yarn
cache-dependency-path: website/yarn.lock
- name: Build website
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/website-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 14.x
node-version: 16.x
cache: yarn
cache-dependency-path: website/yarn.lock
- name: Test build
working-directory: website
run: |
yarn install --frozen-lockfile
yarn build
yarn build
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,5 @@
/vendor/
composer.lock
.phpunit.result.cache
/coverage/
/reports/
91 changes: 52 additions & 39 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,40 +1,53 @@
{
"name": "badaso/lms-module",
"version": "0.1.0",
"description": "Learning management system on badaso",
"keywords": [
"laravel",
"admin",
"panel",
"dashboard",
"pwa",
"vue",
"generator",
"lms",
"badaso"
],
"license": "MIT",
"homepage": "https://badaso-lms.uatech.co.id/",
"support": {
"issues": "https://github.com/uasoft-indonesia/badaso-lms-module/issues",
"discussion": "https://github.com/uasoft-indonesia/badaso-lms-module/discussions",
"source": "https://github.com/uasoft-indonesia/badaso-lms-module"
},
"type": "library",
"autoload": {
"psr-4": {
"Uasoft\\Badaso\\Module\\LMS\\": "src/"
}
},
"authors": [
{
"name": "Uasoft",
"email": "hello@uatech.co.id"
},
{
"name": "nofamex",
"email": "nsiren517@gmail.com"
}
],
"require": {}
}
"name": "badaso/lms-module",
"version": "1.0.0",
"description": "Learning management system on badaso",
"keywords": [
"laravel",
"admin",
"panel",
"dashboard",
"pwa",
"vue",
"generator",
"lms",
"badaso"
],
"license": "MIT",
"homepage": "https://badaso.uatech.co.id/",
"support": {
"issues": "https://github.com/uasoft-indonesia/badaso-lms-module/issues",
"discussion": "https://github.com/uasoft-indonesia/badaso-lms-module/discussions",
"source": "https://github.com/uasoft-indonesia/badaso-lms-module"
},
"type": "library",
"authors": [
{
"name": "UASOFT",
"email": "hello@uatech.co.id"
}
],
"minimum-stability": "alpha",
"autoload": {
"psr-4": {
"Uasoft\\Badaso\\Module\\LMSModule\\": "src/",
"Uasoft\\Badaso\\Module\\LMSModule\\Seeders\\": "src/Seeders",
"Uasoft\\Badaso\\Module\\LMSModule\\Factories\\": "src/Factories"
}
},
"autoload-dev": {
"psr-4": {
"Uasoft\\Badaso\\Module\\LMSModule\\Tests\\": "tests/"
}
},
"extra": {
"laravel": {
"providers": [
"Uasoft\\Badaso\\Module\\LMSModule\\Providers\\LMSModuleProvider"
]
}
},
"require-dev": {
"phpunit/phpunit": "^9.5"
}
}
18 changes: 18 additions & 0 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

38 changes: 38 additions & 0 deletions phpunit.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
bootstrap="vendor/autoload.php"
backupGlobals="false"
backupStaticAttributes="false"
colors="true"
verbose="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/9.3/phpunit.xsd"
>
<coverage>
<include>
<directory suffix=".php">src/</directory>
</include>
</coverage>
<testsuites>
<testsuite name="Unit">
<directory suffix="Test.php">./tests/Unit</directory>
</testsuite>
<testsuite name="Feature">
<directory suffix="Test.php">./tests/Feature</directory>
</testsuite>
</testsuites>
<php>
<env name="APP_KEY" value="AckfSECXIvnK5r28GVIWUAxmbBSjTsmF"/>
<server name="APP_ENV" value="testing"/>
<server name="BCRYPT_ROUNDS" value="4"/>
<server name="CACHE_DRIVER" value="array"/>
<env name="DB_CONNECTION" value="testing"/>
<server name="DB_CONNECTION" value="sqlite"/>
<server name="DB_DATABASE" value=":memory:"/>
</php>
</phpunit>
2 changes: 1 addition & 1 deletion sonar-project.properties
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
sonar.projectKey=badaso-lms-module
sonar.projectKey=ppl2022-d-uasoft_lms_module
sonar.sources=src/
13 changes: 0 additions & 13 deletions src/BadasoLMSModule.php

This file was deleted.

72 changes: 0 additions & 72 deletions src/Commands/BadasoLMSSetup.php

This file was deleted.

Loading