Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
3280 commits
Select commit Hold shift + click to select a range
d8b8f37
Internal: Add course list layout
jmontoyaa Aug 31, 2020
0dfbce5
Internal: Add course list change button layout
jmontoyaa Aug 31, 2020
ed7fadc
Internal: Fix queries, use iid instead of id
jmontoyaa Aug 31, 2020
1544a55
Internal: Update yarn.lock
jmontoyaa Aug 31, 2020
6a68dd5
Internal: Fix LINK crud
jmontoyaa Aug 31, 2020
fdb5b4f
Merge branch 'master' of https://github.com/chamilo/chamilo-lms into …
lcubas Aug 31, 2020
d5e6c18
WIP: CourseCategory: Fix queries in course_category.lib.php
lcubas Aug 31, 2020
3de9bb8
Customize sidebar
AngelFQC Sep 1, 2020
453a1a9
Internal: Minor - Add AccessDeniedHandler.php
jmontoyaa Sep 1, 2020
2366536
Internal: Remove unused social/download.php
jmontoyaa Sep 1, 2020
3bde307
Merge branch 'master' of github.com:chamilo/chamilo-lms into master
jmontoyaa Sep 1, 2020
339b13f
Internal: Refactor view URL, improve show file page, fix js errors
jmontoyaa Sep 1, 2020
4c90157
Internal: Fix table sorting and pagination
jmontoyaa Sep 1, 2020
28a52ad
Internal: Fix return resource list
jmontoyaa Sep 1, 2020
e221d94
Minor - format code
AngelFQC Sep 1, 2020
bb2a8c0
Show footer
AngelFQC Sep 2, 2020
c6cfcb0
Set body padding to show breadcrumb
AngelFQC Sep 2, 2020
1d6d940
Internal: Fix coding standards
jmontoyaa Sep 2, 2020
0be86e1
Internal: Remove unused Cdocument properties
jmontoyaa Sep 2, 2020
a889564
Internal: Remove unused properties.
jmontoyaa Sep 2, 2020
c4d9259
Internal: Add js lib pretty-bytes
jmontoyaa Sep 2, 2020
62f7e8d
Internal: Improve document list view
jmontoyaa Sep 2, 2020
84abafd
Internal: Remove unused code, fix php warning
jmontoyaa Sep 2, 2020
1f7f351
Dont' load full HTML when $_GET[from_vue] is called
AngelFQC Sep 2, 2020
2b061cb
Remove unused indexes
AngelFQC Sep 3, 2020
cf599f1
Internal: Minor - update yarn.lock
jmontoyaa Sep 3, 2020
589e2da
Internal: Fix add course when creating course
AngelFQC Sep 3, 2020
610801c
Internal: Use mapGetter to get store properties
AngelFQC Sep 3, 2020
2cc54e3
Internal: Sidebar show admin links to admin
AngelFQC Sep 4, 2020
deeadac
Internal: Improve conditional nav in sidebar
AngelFQC Sep 4, 2020
efdaff8
Internal: Add requiresAuth in vue pages
jmontoyaa Sep 4, 2020
d914667
Internal: Replace deprecated datetimepicker with flatpickr
jmontoyaa Sep 4, 2020
1c9b5d7
Internal: Fix folder creation via api
jmontoyaa Sep 4, 2020
8228149
Merge branch 'master' of github.com:chamilo/chamilo-lms
AngelFQC Sep 4, 2020
5d50a53
Internal: Add title when saving a new resource
jmontoyaa Sep 4, 2020
1a3eade
Internal: Fix update error
jmontoyaa Sep 4, 2020
cef422c
Merge branch 'master' of github.com:chamilo/chamilo-lms
AngelFQC Sep 4, 2020
45d724e
Merge branch 'master' of https://github.com/chamilo/chamilo-lms into …
lcubas Sep 4, 2020
c7208ba
WIP: Course: Fix relationship between Course and CourseCategory
lcubas Sep 5, 2020
939126c
Internal: Fix php fatal error
jmontoyaa Sep 7, 2020
1091cc1
Internal: Update forms with bootstrap v4
jmontoyaa Sep 7, 2020
f777632
Internal: Remove unused bundle
jmontoyaa Sep 7, 2020
dee64d3
Internal: Format code, remove unused code, add psalm check dirs
jmontoyaa Sep 7, 2020
223aee4
Internal: Remove c_id, session_id from CAttendance.php
jmontoyaa Sep 7, 2020
5f5f3f1
Internal: Remove vuetify from vue.js
jmontoyaa Sep 7, 2020
2d11e47
Internal: Remove vuetify components, replace with bootstrap-vue
jmontoyaa Sep 7, 2020
32d53c3
Internal: Add files to psalm, fix psalm errors.
jmontoyaa Sep 7, 2020
d5a8221
Internal: Add justification plugin from 1.11.x
jmontoyaa Sep 7, 2020
d3c71d2
Internal: Add psalm fixes
jmontoyaa Sep 7, 2020
b0cc9f4
Internal: Add "All" option in document list + add translations.
jmontoyaa Sep 7, 2020
9dadb10
Internal: Fix attendance using resources (WIP)
jmontoyaa Sep 8, 2020
357f5b7
WIP: Course: Fix relationship between Course and CourseCategory using…
lcubas Sep 8, 2020
646fdf5
Internal: Use stof/doctrine-extensions-bundle
jmontoyaa Sep 9, 2020
2554afe
Internal: Remove unused files
jmontoyaa Sep 9, 2020
5696807
Internal: Add psalm checks, fix deprecated code.
jmontoyaa Sep 9, 2020
dbcd95a
Internal: Add @Assert\NotBlank()
jmontoyaa Sep 9, 2020
2e50fd6
Internal: Add GroupCategoryRepository, use resources to get groups
jmontoyaa Sep 9, 2020
cb108d8
Internal: Remove c_id, session_id from Link
jmontoyaa Sep 9, 2020
edd2505
Internal: Add directories to be check by psalm.xml, fix queries
jmontoyaa Sep 9, 2020
859a740
Internal: Flint fixes
jmontoyaa Sep 9, 2020
94c5d70
Internal: Update console and .htaccess from symfony, remove unused code
jmontoyaa Sep 9, 2020
49e2975
Internal: Allow gh actions for PRs
jmontoyaa Sep 9, 2020
d96da96
Internal: travis fix
jmontoyaa Sep 9, 2020
abff27d
Internal: Fix travis
jmontoyaa Sep 10, 2020
aaa1c55
Internal: Travis fix
jmontoyaa Sep 10, 2020
6e2ac72
Internal: Fix travis
jmontoyaa Sep 10, 2020
408b264
Internal: Update mink-extension repo
jmontoyaa Sep 10, 2020
89c96ab
Internal: Update travis
jmontoyaa Sep 10, 2020
c89075e
Internal: Fix travis installation
jmontoyaa Sep 10, 2020
d7a596a
Interal - Fix installation using behat in travis
jmontoyaa Sep 10, 2020
7caf22a
Internal: Update composer version, add php-mysql
jmontoyaa Sep 10, 2020
86e78b0
Internal: Update composer to latest version
jmontoyaa Sep 10, 2020
926b622
Internal: Update composer, use yarn in prod mode
jmontoyaa Sep 10, 2020
310a972
Internal: travis add checks
jmontoyaa Sep 10, 2020
eb17538
Internal: Update lang vars from 1.11.x
jmontoyaa Sep 10, 2020
d7810fb
Internal: Update translations
jmontoyaa Sep 10, 2020
4321de3
Internal: Update lang vars
jmontoyaa Sep 10, 2020
3e28116
Internal: Update behat tests, test user/course creation with travis
jmontoyaa Sep 10, 2020
0e28a80
Internal: Fix legacy breadcrumb
jmontoyaa Sep 10, 2020
89518ea
Internal: Fix undefined variable
jmontoyaa Sep 10, 2020
d335b1a
Internal: Fix travis test
jmontoyaa Sep 10, 2020
82107f5
WIP: Course: Fix course edit
lcubas Sep 10, 2020
a46bbad
Internal: Fix course add/delete, fix travis
jmontoyaa Sep 11, 2020
7d46008
Internal: Remove unused package
jmontoyaa Sep 11, 2020
1cca572
Internal: Remove unused file
jmontoyaa Sep 11, 2020
ba90201
Internal: Skip code climate check
jmontoyaa Sep 11, 2020
e399807
Internal: Fix function using resources
jmontoyaa Sep 11, 2020
b6c0694
Internal: Behat - Fix create course
jmontoyaa Sep 11, 2020
1cf3732
Internal: Improve behat error detection
jmontoyaa Sep 11, 2020
f0aaecb
Internal: Refactor code, fix deprecations, update codeclimate
jmontoyaa Sep 11, 2020
d04f465
Internal: Update from 1.11.x
jmontoyaa Sep 11, 2020
af8d74d
Internal: Fix behat test
jmontoyaa Sep 11, 2020
667c52a
Internal: Fix behat test
jmontoyaa Sep 11, 2020
82c1a50
Internal: Fix flash bag messages in symfony, now render in vue
jmontoyaa Sep 11, 2020
6f3ca31
Internal: Flint fixes
jmontoyaa Sep 11, 2020
e0f1219
Internal: Refactor code, add checks in psalm, remove deprecations
jmontoyaa Sep 11, 2020
abb1664
Internal: Add travis test + fix minor code
jmontoyaa Sep 11, 2020
5b903e1
Internal: Update yarn.lock
jmontoyaa Sep 14, 2020
c62d0d1
Internal: Add lib to handle flash messages: vue-toastification
jmontoyaa Sep 14, 2020
2560a75
Internal: Add class behat test in travis + remove logs
jmontoyaa Sep 14, 2020
6aadfb8
Internal: Fix lang translation, use namespace
jmontoyaa Sep 14, 2020
73098b3
Internal: Refactor get group list
jmontoyaa Sep 14, 2020
eb5d2ea
Internal: Travis: Use composer install
jmontoyaa Sep 14, 2020
a674152
Internal: Fix calendar, add 'bootstrap-daterangepicker' js call
jmontoyaa Sep 14, 2020
9566c60
Internal: Fix travis
jmontoyaa Sep 15, 2020
20a58c1
Internal: Add debug, fix error in travis prod
jmontoyaa Sep 15, 2020
892fc26
Internal: Fix url travis call
jmontoyaa Sep 15, 2020
39cb60f
Internal: Use latest version of fullcalendar
jmontoyaa Sep 15, 2020
1aed2ad
Internal: Fix install travis
jmontoyaa Sep 15, 2020
8af40c5
Internal: Change notification position
jmontoyaa Sep 15, 2020
b72ced5
Internal: Add course breadcrumb, add menu translation, format code.
jmontoyaa Sep 15, 2020
bb6d6a5
Internal: add login test
jmontoyaa Sep 15, 2020
bc2785e
Internal: Behat, fix login test, fix lost password errors.
jmontoyaa Sep 15, 2020
9c6c3f5
Internal: Fix course creation, fix group category creation
jmontoyaa Sep 15, 2020
da0506e
Internal: Minor - fix travis
jmontoyaa Sep 15, 2020
0d12296
Merge pull request #3466 from lcubas/2807
jmontoyaa Sep 15, 2020
aa32ed9
Internal: Fix course categories
jmontoyaa Sep 15, 2020
691de2d
Internal: Add behat tests
jmontoyaa Sep 16, 2020
fa9c35a
Update yarn.lock
jmontoyaa Sep 16, 2020
72d2309
Internal - Add travis behat, fix course creation, add psalm checks
jmontoyaa Sep 16, 2020
3ef0908
Internal - add psalm checks
jmontoyaa Sep 16, 2020
4ab6d1a
Internal - Refactor code
jmontoyaa Sep 16, 2020
0b35a31
Internal - Update entities from Seb's PR
jmontoyaa Sep 16, 2020
4945104
Minor - flint fixes
jmontoyaa Sep 16, 2020
de3c33f
Internal - Fix travis
jmontoyaa Sep 16, 2020
951eb5c
Internal - Fix travis
jmontoyaa Sep 16, 2020
b6d1811
Internal - Fix vue router names
jmontoyaa Sep 16, 2020
0640984
Internal - Add agenda behat test
jmontoyaa Sep 16, 2020
9751906
Internal - Add link behat tests
jmontoyaa Sep 16, 2020
2fc1c7b
Internal - Add announcements behat test
jmontoyaa Sep 16, 2020
3b3aabb
Internal - Fix travis
jmontoyaa Sep 16, 2020
ed91d7d
Internal - Fix link/link category edition
jmontoyaa Sep 16, 2020
efefcc7
Internal - Fix travis
jmontoyaa Sep 16, 2020
f617a6c
Internal - Fix travis, fix legacy code
jmontoyaa Sep 16, 2020
3fc3325
Internal - Fix delete session
jmontoyaa Sep 16, 2020
da03040
Internal - Add work behat test, fix queries
jmontoyaa Sep 16, 2020
13486e0
Internal - Fix work creation, fix behat tests
jmontoyaa Sep 16, 2020
c9db812
Internal - Minor fix travis
jmontoyaa Sep 16, 2020
7eab8d3
Internal - Add promotion test
jmontoyaa Sep 16, 2020
3ea6801
Internal - Fix behat test
jmontoyaa Sep 16, 2020
b00a915
Internal - Fix flint/ecs
jmontoyaa Sep 16, 2020
fa75cc7
Internal - Fix behat tests
jmontoyaa Sep 17, 2020
da0a15b
Internal - Add exception handler
jmontoyaa Sep 17, 2020
31e22a1
Internal - Fix error tpls
jmontoyaa Sep 17, 2020
bf01634
Internal - Fix pwstrength-bootstrap js require
jmontoyaa Sep 17, 2020
77bc221
Internal - Fix behat test
jmontoyaa Sep 17, 2020
e3eca0d
Internal - Format code, show debug if portal is in dev mode.
jmontoyaa Sep 17, 2020
565fc6b
Internal - Fix behat tests
jmontoyaa Sep 17, 2020
88c0ca4
Internal - Add boostrap.css in js file (needed for ckeditor)
jmontoyaa Sep 17, 2020
a41cb24
Internal - Allow menu options for non admins
jmontoyaa Sep 17, 2020
fb8ba69
Internal - Fix behat tests
jmontoyaa Sep 17, 2020
81d51de
Internal - Fix legacy code, use user.id instead of user.user_id
jmontoyaa Sep 17, 2020
9111eb0
Internal - Fix js errors
jmontoyaa Sep 17, 2020
6620733
Internal - Fix messages, add debug, add video preview
jmontoyaa Sep 17, 2020
11116b4
Internal - Fix login as, fix legacy queries.
jmontoyaa Sep 17, 2020
721f660
Internal - Fix behat test
jmontoyaa Sep 18, 2020
e2dad13
Internal - Behat group test: comment document creation + fix errors
jmontoyaa Sep 18, 2020
58acb18
Internal - Fix group behat tests
jmontoyaa Sep 18, 2020
a5a5d7a
Internal - Minor - tpl format code
jmontoyaa Sep 18, 2020
81bcf3c
Internal - Fix php errors, use course.id instead of course.code
jmontoyaa Sep 18, 2020
5472610
Internal - Fix behat tests, queries
jmontoyaa Sep 18, 2020
13cca1e
Internal - Add permission to DRH to login as other user
jmontoyaa Sep 18, 2020
80355de
Internal - Fix behat tests, fix lang vars
jmontoyaa Sep 18, 2020
0b0dc1b
Internal - Add voters when using api platform, fix documents visibility.
jmontoyaa Sep 18, 2020
628e18b
Internal - Fix lang vars, fix course public URL
jmontoyaa Sep 18, 2020
b827e9a
Internal - Fix behat tests
jmontoyaa Sep 18, 2020
0d65ce1
Internal - Improve global.inc.php loading (disable debug) +fix error tpl
jmontoyaa Sep 21, 2020
7bdca5f
Internal - Debug installation, remove unused field, fix deprecations.
jmontoyaa Sep 22, 2020
80ba75c
Internal - Fix behat test
jmontoyaa Sep 22, 2020
5139a44
Internal - Fix behat tests
jmontoyaa Sep 22, 2020
9b8cb74
Internal - Format code
jmontoyaa Sep 22, 2020
f986f77
Internal - Add install logs
jmontoyaa Sep 22, 2020
ca03778
Internal - Fix installation
jmontoyaa Sep 22, 2020
5d3047c
Internal - Fix queries, fix installation, format code.
jmontoyaa Sep 22, 2020
dcd5c54
Internal - Minor - fix behat test
jmontoyaa Sep 22, 2020
74fe32f
Internal - Add course registration behat test, fix php errors
jmontoyaa Sep 22, 2020
95733fb
Internal - Add behat tests, fix sql errors
jmontoyaa Sep 22, 2020
2ec1efe
Internal - Add/Fix behat test
jmontoyaa Sep 23, 2020
a65126e
Internal - Add admin icons
jmontoyaa Sep 23, 2020
58448b3
Internal - Add more behat tests, fix php errors.
jmontoyaa Sep 23, 2020
8ed61e5
Internal - Fix queries, add lp behat test
jmontoyaa Sep 23, 2020
c90ddc5
Internal - Fix behat test link
jmontoyaa Sep 23, 2020
a94dae6
Internal - Fix add course with content
jmontoyaa Sep 24, 2020
3681fe3
Internal - Add behat debug
jmontoyaa Sep 24, 2020
964714f
Internal - Fix delete course
jmontoyaa Sep 24, 2020
fafe389
Internal - Fix fill courses
jmontoyaa Sep 24, 2020
d1b22d0
Internal - Fix entities
jmontoyaa Sep 24, 2020
4d081bd
Internal - Fix LP creation
jmontoyaa Sep 24, 2020
225a8fb
Internal - Fix queries, fix behat tests
jmontoyaa Sep 24, 2020
50b9c09
Internal - Fix queries, fix behat tests
jmontoyaa Sep 24, 2020
68c9e3a
Internal - Fix legacy code, use resources
jmontoyaa Sep 24, 2020
41516e4
Minor - Fix flint/psalm checks
jmontoyaa Sep 25, 2020
c875496
Internal - Fix legacy code, add psalm checks
jmontoyaa Sep 25, 2020
9fd1a86
Internal - Fix queries, add psalm checks
jmontoyaa Sep 25, 2020
c35fdc8
Internal - Add notebook as resource
jmontoyaa Sep 25, 2020
4f7f5a7
Internal - Fix php warnings, add psalm checks
jmontoyaa Sep 25, 2020
221f687
Internal - Fix queries, fix exercise creation
jmontoyaa Sep 25, 2020
d89cd9a
Internal - Fix queries, fix translations, fix exercise CRUD
jmontoyaa Sep 25, 2020
c9546d7
Internal - Add gradebook to psalm checks, add szymach/c-pchart lib
jmontoyaa Sep 28, 2020
1c84aad
Internal - Add UserTrait.php, replace userId(int) with User entity
jmontoyaa Sep 28, 2020
c92a0c1
Internal - Use UserTrait, use doctrine associations to set the user
jmontoyaa Sep 28, 2020
95f6075
Internal - Format code, fix set user id
jmontoyaa Sep 28, 2020
2540011
Internal - Fix set user id, format code
jmontoyaa Sep 28, 2020
cb952ce
Internal - Add psalm checks, fix/use entity calls
jmontoyaa Sep 28, 2020
bfc3eee
Internal - Fix function calls
jmontoyaa Sep 28, 2020
619d0b8
Internal - Format code, fix breadcrumb, fix variables.
jmontoyaa Sep 28, 2020
9671942
Internal - Fix editable events
jmontoyaa Sep 28, 2020
241b61b
Internal - Fix entities, format code
jmontoyaa Sep 28, 2020
a64171a
Internal - Format code
jmontoyaa Sep 29, 2020
cc68cc5
Internal - Fix entities, format code, fix legacy code use resources.
jmontoyaa Sep 29, 2020
50453a2
Internal - Add course agenda events as resources.
jmontoyaa Sep 30, 2020
1cb6b82
Internal - Fix entities, fix agenda event attachment using resources.
jmontoyaa Sep 30, 2020
57dae75
Internal - Fix composer update installation
jmontoyaa Oct 1, 2020
06daf2d
Internal - Fix ManagerRegistry classes deprecation
jmontoyaa Oct 1, 2020
18a9191
Internal - Fix month calendar delete + remember last position.
jmontoyaa Oct 1, 2020
db53d71
Internal - Fix entities, format code
jmontoyaa Oct 1, 2020
b9675b2
Internal - Fix add links to resource in agenda/announcements.
jmontoyaa Oct 1, 2020
84ebefc
Internal - Fix ResourceListener.php when saving entities
jmontoyaa Oct 2, 2020
6d97c53
Internal - Fix agenda/announcements resources visibility for student.
jmontoyaa Oct 2, 2020
fea75d0
Minor - Format code, fix lang vars.
jmontoyaa Oct 2, 2020
4c2d6d8
Internal: Allow upload multiple files.
jmontoyaa Oct 5, 2020
05d4401
Remove unused .jshintrc
jmontoyaa Oct 5, 2020
f7365db
Minor - format code
jmontoyaa Oct 5, 2020
1b0379e
Internal: Add cid, sid in documents
jmontoyaa Oct 5, 2020
19cc5bf
Resources: add batch delete in table
jmontoyaa Oct 5, 2020
0539c10
Minor - Add annotation
jmontoyaa Oct 5, 2020
af63d72
Internal: Fix delete simple
jmontoyaa Oct 5, 2020
988ac6e
Internal: fix add doc item to LP + missing file from 1.11.x
jmontoyaa Oct 5, 2020
c21d46d
Minor - update yarn.lock
jmontoyaa Oct 20, 2020
c1eb51f
Minor - Update yarn.lock
jmontoyaa Oct 30, 2020
51b50de
Minor - Update yarn - add easytimer
jmontoyaa Nov 6, 2020
27bb212
Minor - update yarn.lock
jmontoyaa Nov 11, 2020
b6b7724
Minor - Update yarn.lock #3570
jmontoyaa Nov 18, 2020
c159daa
Minor - add codacy
jmontoyaa Nov 18, 2020
3e41d50
Minor - Undo remove codacy check
jmontoyaa Nov 18, 2020
5cacc87
Update composer.json
jmontoyaa Nov 19, 2020
0228138
Update symfony configuration
jmontoyaa Nov 19, 2020
f3d1bbb
Minor - yarn.lock
jmontoyaa Nov 25, 2020
63d4f72
Internal: Partial merge from 1.11.x
jmontoyaa Nov 25, 2020
495eed9
Update yarn.lock
jmontoyaa Nov 28, 2020
2d9a224
Update from 1.11.x
jmontoyaa Nov 28, 2020
72f5086
Internal: add plugins from 1.11.x
jmontoyaa Nov 28, 2020
0085e57
Internal: Remove code that uses legacy code.
jmontoyaa Nov 28, 2020
46ed10d
Update from 1.11.x
jmontoyaa Nov 29, 2020
28b5fd3
Update from 1.11.x
jmontoyaa Nov 29, 2020
8751257
Internal: Add missing files from 1.11.x
jmontoyaa Nov 29, 2020
fdc597a
Internal: Update from 1.11.x
jmontoyaa Nov 29, 2020
c560fe9
Update yarn, add html2canvas + jspdf
jmontoyaa Nov 29, 2020
3245a37
Internal: Update from 1.11.x
jmontoyaa Nov 29, 2020
a02707f
Internal - update from 1.11.x
jmontoyaa Nov 29, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
1 change: 0 additions & 1 deletion .bowerrc

This file was deleted.

121 changes: 64 additions & 57 deletions .codeclimate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ checks:
file-lines:
enabled: false
method-complexity:
enabled: false
enabled: true
config:
threshold: 20
method-count:
enabled: false
method-lines:
Expand All @@ -19,6 +21,11 @@ checks:
enabled: false

plugins:
phan:
enabled: true
config:
file_extensions: "php"

fixme:
enabled: true
config:
Expand All @@ -29,78 +36,78 @@ plugins:
phpcodesniffer:
enabled: true
config:
standard: "PSR1,PSR2"
standard: "Symfony2"
file_extensions: "php"
checks:
PSR1 Classes ClassDeclaration MissingNamespace:
enabled: false
PSR1 Files SideEffects FoundWithSymbols:
enabled: false
Squiz Strings ConcatenationSpacing PaddingFound:
enabled: false
Symfony2 Commenting FunctionComment MissingReturn:
enabled: false
Symfony2 Commenting FunctionComment MissingParamTag:
enabled: false

phpmd:
enabled: true
config:
file_extensions: "php"
rulesets: "codesize.xml"
rulesets: "ruleset.xml"

sonar-php:
enabled: false
checks:
php:S1192:
enabled: false

duplication:
enabled: false

exclude_patterns:
- cli-config.php
- app/cache/
- app/logs/
- app/config/
- app/SymfonyRequirements.php
- app/Migrations/
- app/Resources/
- main/admin/db.php
- main/admin/ldap_synchro.php
- main/auth/cas/lib/
- main/auth/shibboleth
- main/auth/openid
- main/chat/emoji_strategy.php
- main/default_course_document
- main/document/Wami.swf
- main/fonts/
- main/inc/ajax/Wami.swf
- main/inc/lib/browser/
- main/inc/lib/freemindflashbrowser/
- main/inc/lib/internationalization_database/
- main/inc/lib/javascript/
- main/inc/lib/kses-0.2.2/
- main/inc/lib/mimetex/
- main/inc/lib/nanogong/
- main/inc/lib/nusoap/
- main/inc/lib/opengraph/*
- main/inc/lib/ppt2png/
- main/inc/lib/phpseclib
- main/inc/lib/pear/
- main/inc/lib/phpmailer/
- main/inc/lib/phpseclib/
- main/inc/lib/portfolio.class.php
- main/inc/lib/svg-edit/
- main/inc/lib/swfobject/
- main/inc/lib/wami-recorder/
- main/inc/lib/xajax/
- main/lp/packaging/
- main/template/
- main/img/
- main/lang/
- plugin/buycourses/src/Culqi/
- plugin/buycourses/src/Requests/
- plugin/buycourses/src/Requests.php
- plugin/buycourses/src/paypalfunctions.php
- plugin/vchamilo/cli/
- plugin/kannelsms/vendor/
- plugin/clockworksms/vendor/
- plugin/pens/lib
- plugin/bbb/lib/bbb_api.php
- plugin/ims_lti/OAuthSimple.php
- plugin/sepe/src/wsse/
- tests/
- vendor/
- web/
- assets/*
- bin/*
- config/*
- public/main/admin/db.php
- public/main/admin/ldap_synchro.php
- public/main/chat/emoji_strategy.php
- public/main/document/Wami.swf
- public/main/fonts/
- public/main/inc/ajax/Wami.swf
- public/main/inc/lib/browser/
- public/main/inc/lib/internationalization_database/
- public/main/inc/lib/javascript/
- public/main/inc/lib/kses-0.2.2/
- public/main/inc/lib/mimetex/
- public/main/inc/lib/nanogong/
- public/main/inc/lib/nusoap/
- public/main/inc/lib/opengraph/*
- public/main/inc/lib/ppt2png/
- public/main/inc/lib/pear/
- public/main/inc/lib/svg-edit/
- public/main/inc/lib/swfobject/
- public/main/inc/lib/wami-recorder/
- public/main/inc/lib/xajax/
- public/main/lp/packaging/
- public/main/template/
- public/main/lang/
- public/libs/
- public/img/
- public/plugin/buycourses/src/Culqi/
- public/plugin/buycourses/src/Requests/
- public/plugin/buycourses/src/Requests.php
- public/plugin/buycourses/src/paypalfunctions.php
- public/plugin/vchamilo/cli/
- public/plugin/pens/lib
- public/plugin/bbb/lib/bbb_api.php
- public/plugin/ims_lti/OAuthSimple.php
- public/plugin/sepe/src/wsse/
- public/plugin/test2pdf/class/
- public/plugin/jcapture/lib/
- public/plugin/jcapture/src/
- var/cache/
- var/log/
- tests/
- vendor/
- web/
4 changes: 3 additions & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,6 @@ charset = utf-8
indent_style = space
indent_size = 4
insert_final_newline = true
trim_trailing_whitespace = true
trim_trailing_whitespace = true
max_line_length = 120
ij_php_space_after_type_cast = true
41 changes: 41 additions & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
# Set variables here that may be different on each deployment target of the app, e.g. development, staging, production.
# https://symfony.com/doc/current/best_practices/configuration.html#infrastructure-related-configuration

###> doctrine/doctrine-bundle ###
# Format described at http://docs.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html#connecting-using-a-url
DATABASE_HOST='{{DATABASE_HOST}}'
DATABASE_PORT='{{DATABASE_PORT}}'
DATABASE_NAME='{{DATABASE_NAME}}'
DATABASE_USER='{{DATABASE_USER}}'
DATABASE_PASSWORD='{{DATABASE_PASSWORD}}'
###< doctrine/doctrine-bundle ###

###> symfony/framework-bundle ###
APP_ENV='dev'
APP_SECRET='{{APP_SECRET}}'
APP_DEBUG='1'
#TRUSTED_PROXIES=127.0.0.0/8,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16
#TRUSTED_HOSTS='^(localhost|example\.com)$'
###< symfony/framework-bundle ###

###> chamilo ###
APP_INSTALLED='{{APP_INSTALLED}}'

## Encrypt method bcrypt/sha1/md5
APP_ENCRYPT_METHOD='{{APP_ENCRYPT_METHOD}}'

APP_LOCALE='en'

APP_MULTIPLE_ACCESS_URL=''

APP_API_PLATFORM_URL='http://localhost/api/'

###< chamilo ###

###> symfony/mailer ###
MAILER_DSN=sendmail://localhost
###< symfony/mailer ###

###> nelmio/cors-bundle ###
CORS_ALLOW_ORIGIN=^https?://(localhost|127\.0\.0\.1)(:[0-9]+)?$
###< nelmio/cors-bundle ###
17 changes: 17 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"root": true,
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module",
"parser": "babel-eslint"
},
"env": {
"browser": true,
"node": true,
"es6": true
},
"extends": [
"eslint:recommended",
"plugin:vue/recommended"
]
}
6 changes: 6 additions & 0 deletions .flintci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
services:
phpcsfixer:
config_path: .php_cs
yamllint:
version: latest
config_path: .yamllint_config
5 changes: 5 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,16 @@
.gitattributes export-ignore
.gitignore export-ignore
.codeclimate.yml export-ignore
.flintci.yml export-ignore
.scrutinizer.yml export-ignore
.styleci.yml export-ignore
.travis.yml export-ignore
.yamllint_config export-ignore
.php_cs.dist export-ignore
.php_cs export-ignore
codesize.xml export-ignore
phpcs.xml export-ignore
phpstan.neon export-ignore

/tests export-ignore
.editorconfig export-ignore
Expand Down
4 changes: 4 additions & 0 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
Before reporting, make sure you check our [official documentation](https://docs.chamilo.org).

If you are fairly sure you found an issue, please use the following template (remove things in other languages than your own and remove these 2 first lines).

### Current behavior / Resultado actual / Résultat actuel

### Expected behavior / Resultado esperado / Résultat attendu
Expand Down
33 changes: 33 additions & 0 deletions .github/ISSUE_TEMPLATE/en-bug-report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
---
name: "[en] Bug report"
about: Create a report to help us make Chamilo better.

---

**Describe**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**
- OS: [e.g. Linux Ubuntu 18.04/Windows 10]
- Browser [e.g. chrome, firefox, safari] and version

**Server
- OS: [e.g. Linux Ubuntu 18.04/Windows 10]
- Version of Chamilo: [e.g. 1.11.8, 1.11.x of 2018-12-01, ...]
- Version of PHP: [e.g. 5.6, 7.2, ...]

**Additional context**
Add any other context about the problem here.
14 changes: 14 additions & 0 deletions .github/ISSUE_TEMPLATE/en-feature-request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
name: "[en] Feature request"
about: Suggest a feature to add to Chamilo

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Additional context**
Add any other context or screenshots about the feature request here.
33 changes: 33 additions & 0 deletions .github/ISSUE_TEMPLATE/es-bug-report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
---
name: "[es] Reporte de error"
about: Crea un reporte para ayudarnos a mejorar Chamilo

---

**Describe el problema**
Una descipción concisa y clara del problema.

**Cómo reproducir**
Pasos para reproducir el problema:
1. Ir a '...'
2. Dar clic en '....'
3. Bajar hasta '....'
4. Ver el error que dice '...'

**Comportamiento esperado**
Una descripción concisa y clara de lo que esperabas que ocurriera.

**Capturas de pantalla**
Si aplicable, agrega capturas de pantalla para ayudar a ubicar el problema.

**Escritorio (por favor completa la información siguiente lo mejor posible):**
- Sistema operativo : [ej. Linux Ubuntu 18.04/Windows 10]
- Navegador [ej. chrome, firefox, safari] y su versión

**Servidor
- Sistema operativo : [ej. Linux Ubuntu 18.04/Windows 10]
- Versión de Chamilo: [ej. 1.11.8, 1.11.x of 2018-12-01, ...]
- Versión de PHP: [ej. 5.6, 7.2, ...]

**Contexto adicional**
Añade cualquier elemento adicional de contexto aquí.
14 changes: 14 additions & 0 deletions .github/ISSUE_TEMPLATE/es-feature-request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
name: "[es] Sugerencia de nueva funcionalidad"
about: Sugiere una idea para Chamilo

---

**Tu solicitud está relacionado con alguna molestia? Describe...**
Una descripción clara y concisa del problema. Por ejemplo: Siempre estoy frustrado cuando [...]

**Describe la solución que te gustaría encontrar**
Una descripción clara y concisa de lo que te gustaría que occuriera.

**Contexto adicional**
Añade cualquier elemento adicional de contexto sobre la nueva funcionalidad que imaginas, si piensas que este elemento puede ser útil para nosotros.
33 changes: 33 additions & 0 deletions .github/ISSUE_TEMPLATE/fr-bug-report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
---
name: "[fr] Rapport d'erreur"
about: Créer un nouveau rapport d'erreur pour nous aider à améliorer Chamilo

---

**Décrivez le problème**
Une description claire et concise du problème.

**Comment le reproduire**
Pour le reproduire, il faut:
1. Aller sur '...'
2. Cliquer sur '....'
3. Scroller jusque '....'
4. Visualiser l'erreur qui dit '...'

**Comportement attendu**
Une description claire et concise de ce que vous vous attendiez à voir.

**Captures d'écran**
Si applicable, ajoutez des captures d'écran pour nous aider à situer le problème.

**Bureau (à compléter au mieux):**
- Système d'exploitation : [ex. Linux Ubuntu 18.04/Windows 10]
- Navigateur [ex. chrome, firefox, safari] et sa version

**Serveur
- Système d'exploitation : [ex. Linux Ubuntu 18.04/Windows 10]
- Version de Chamilo: [ex. 1.11.8, 1.11.x du 2018-12-01, ...]
- Version de PHP: [ex. 5.6, 7.2, ...]

**Contexte additionnel**
Ajoutez des informations additionnelles si vous considérez qu'elles sont pertinentes.
Loading