diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..703ad5c --- /dev/null +++ b/.gitignore @@ -0,0 +1,127 @@ +#------------------------- +# Operating Specific Junk Files +#------------------------- + +# OS X +.DS_Store +.AppleDouble +.LSOverride + +# OS X Thumbnails +._* + +# Windows image file caches +Thumbs.db +ehthumbs.db +Desktop.ini + +# Recycle Bin used on file shares +$RECYCLE.BIN/ + +# Windows Installer files +*.cab +*.msi +*.msm +*.msp + +# Windows shortcuts +*.lnk + +# Linux +*~ + +# KDE directory preferences +.directory + +# Linux trash folder which might appear on any partition or disk +.Trash-* + +#------------------------- +# Environment Files +#------------------------- +# These should never be under version control, +# as it poses a security risk. +.env +.vagrant +Vagrantfile + +#------------------------- +# Temporary Files +#------------------------- +writable/cache/* +!writable/cache/index.html + +writable/logs/* +!writable/logs/index.html + +writable/session/* +!writable/session/index.html + +writable/uploads/* +!writable/uploads/index.html + +writable/debugbar/* + +php_errors.log +.history/* +#------------------------- +# User Guide Temp Files +#------------------------- +user_guide_src/build/* +user_guide_src/cilexer/build/* +user_guide_src/cilexer/dist/* +user_guide_src/cilexer/pycilexer.egg-info/* + +#------------------------- +# Test Files +#------------------------- +tests/coverage* + +# Don't save phpunit under version control. +phpunit + +#------------------------- +# Composer +#------------------------- +vendor/ + +#------------------------- +# IDE / Development Files +#------------------------- + +# Modules Testing +_modules/* + +# phpenv local config +.php-version + +# Jetbrains editors (PHPStorm, etc) +.idea/ +*.iml + +# Netbeans +nbproject/ +build/ +nbbuild/ +dist/ +nbdist/ +nbactions.xml +nb-configuration.xml +.nb-gradle/ + +# Sublime Text +*.tmlanguage.cache +*.tmPreferences.cache +*.stTheme.cache +*.sublime-workspace +*.sublime-project +.phpintel +/api/ + +# Visual Studio Code +.vscode/ + +/results/ +/phpunit*.xml +/.phpunit.*.cache + diff --git a/README.md b/README.md index 502a5c1..64debc1 100644 --- a/README.md +++ b/README.md @@ -2,13 +2,14 @@

- Logo + + Logo -

Judul Proyek

+

Web Manajemen Tugas

- Deskripsi Proyek + by Kelompok Kehujanan

@@ -20,8 +21,8 @@
  • Fungsi
  • Tujuan
  • Target Pengguna
  • -
  • Mockup Kasar
  • -
  • Skema Database
  • +
  • Versions
  • +
  • Screenshots
  • @@ -29,33 +30,42 @@ ## Anggota Tim | NPM | Name | | ------------- |-------------| -| 140810xx00xx | John Doe | -| 140810xx00xx | Jane Doe | -| 140810xx00xx | Janie Doe | +| 140810200011 | Faiq Muhammad | +| 140810200017 | Mohammad Keenan Febriansyah | +| 140810200029 | Adnan Rafiyansyah Majid | ## Fungsi -TO;DO +- Login sebagai user
    +- Mencatat tugas yang diberikan beserta mata kuliah dan deadlinenya
    +- Menambah tag-tag pada tugas
    +- Ceklis status tugas yang sudah selesai
    +- Filter tugas
    +- Mengedit tugas
    +- Login dengan akun lain
    ## Tujuan -TO;DO +Membantu siswa dalam perkuliahan dengan memudahkan mengingat atau mencatat tugas-tugas yang diberikan. ## Target Pengguna -TO;DO +Mahasiswa belajar yang suka mencatat tugas-tugasnya - -## Mockup Kasar +## Versions +- Code Igniter 4.1.4 +- PHP 8.0.29 +- Composer 2.5.5 -TO;DO +## Screenshots +![chrome_tDf9mzHLlB](https://github.com/praktikum-tiunpad-2021/proyek-web-kehujanan/assets/57803800/c1191feb-464e-4d03-a743-4e8b74cadc70) +![ShareX_GKekvA6rpC](https://github.com/praktikum-tiunpad-2021/proyek-web-kehujanan/assets/57803800/a65a3356-48b7-43de-9a8b-a445e177a0c2) +![image](https://github.com/praktikum-tiunpad-2021/proyek-web-kehujanan/assets/57803800/a68be075-3f53-461e-bff3-c6cdff6ef4a6) +![chrome_Ly128oQev3](https://github.com/praktikum-tiunpad-2021/proyek-web-kehujanan/assets/57803800/e9def8d3-b8db-44ba-bc95-ef422b4778b3) +![chrome_ZQyLLcKHnN](https://github.com/praktikum-tiunpad-2021/proyek-web-kehujanan/assets/57803800/ebc7b5ad-4ed6-4e09-97a0-b87c6f0a5410) +![image](https://github.com/praktikum-tiunpad-2021/proyek-web-kehujanan/assets/57803800/049e4d4b-c6ed-4663-a010-695318b79654) +![chrome_BCFVDwlWKY](https://github.com/praktikum-tiunpad-2021/proyek-web-kehujanan/assets/57803800/8b65a672-5e98-411c-a4d3-c4fd8a023415) -Gambar mockup di sini atau [link figma](https://figma.com/). - - -## Skema Database - -TO;DO diff --git a/app/.htaccess b/app/.htaccess new file mode 100644 index 0000000..f24db0a --- /dev/null +++ b/app/.htaccess @@ -0,0 +1,6 @@ + + Require all denied + + + Deny from all + diff --git a/app/Common.php b/app/Common.php new file mode 100644 index 0000000..a74d46d --- /dev/null +++ b/app/Common.php @@ -0,0 +1,15 @@ + SYSTEMPATH, + * 'App' => APPPATH + * ]; + *``` + * + * @var array + */ + public $psr4 = [ + APP_NAMESPACE => APPPATH, // For custom app namespace + 'Config' => APPPATH . 'Config', + ]; + + /** + * ------------------------------------------------------------------- + * Class Map + * ------------------------------------------------------------------- + * The class map provides a map of class names and their exact + * location on the drive. Classes loaded in this manner will have + * slightly faster performance because they will not have to be + * searched for within one or more directories as they would if they + * were being autoloaded through a namespace. + * + * Prototype: + *``` + * $classmap = [ + * 'MyClass' => '/path/to/class/file.php' + * ]; + *``` + * + * @var array + */ + public $classmap = []; + + /** + * ------------------------------------------------------------------- + * Files + * ------------------------------------------------------------------- + * The files array provides a list of paths to __non-class__ files + * that will be autoloaded. This can be useful for bootstrap operations + * or for loading functions. + * + * Prototype: + * ``` + * $files = [ + * '/path/to/my/file.php', + * ]; + * ``` + * + * @var array + */ + public $files = []; +} diff --git a/app/Config/Boot/development.php b/app/Config/Boot/development.php new file mode 100644 index 0000000..05a8612 --- /dev/null +++ b/app/Config/Boot/development.php @@ -0,0 +1,32 @@ + + */ + public $file = [ + 'storePath' => WRITEPATH . 'cache/', + 'mode' => 0640, + ]; + + /** + * ------------------------------------------------------------------------- + * Memcached settings + * ------------------------------------------------------------------------- + * Your Memcached servers can be specified below, if you are using + * the Memcached drivers. + * + * @see https://codeigniter.com/user_guide/libraries/caching.html#memcached + * + * @var array + */ + public $memcached = [ + 'host' => '127.0.0.1', + 'port' => 11211, + 'weight' => 1, + 'raw' => false, + ]; + + /** + * ------------------------------------------------------------------------- + * Redis settings + * ------------------------------------------------------------------------- + * Your Redis server can be specified below, if you are using + * the Redis or Predis drivers. + * + * @var array + */ + public $redis = [ + 'host' => '127.0.0.1', + 'password' => null, + 'port' => 6379, + 'timeout' => 0, + 'database' => 0, + ]; + + /** + * -------------------------------------------------------------------------- + * Available Cache Handlers + * -------------------------------------------------------------------------- + * + * This is an array of cache engine alias' and class names. Only engines + * that are listed here are allowed to be used. + * + * @var array + */ + public $validHandlers = [ + 'dummy' => DummyHandler::class, + 'file' => FileHandler::class, + 'memcached' => MemcachedHandler::class, + 'predis' => PredisHandler::class, + 'redis' => RedisHandler::class, + 'wincache' => WincacheHandler::class, + ]; +} diff --git a/app/Config/Constants.php b/app/Config/Constants.php new file mode 100644 index 0000000..8f8498a --- /dev/null +++ b/app/Config/Constants.php @@ -0,0 +1,79 @@ +` element. + * + * Will default to self if not overridden + * + * @var string|string[]|null + */ + public $baseURI; + + /** + * Lists the URLs for workers and embedded frame contents + * + * @var string|string[] + */ + public $childSrc = 'self'; + + /** + * Limits the origins that you can connect to (via XHR, + * WebSockets, and EventSource). + * + * @var string|string[] + */ + public $connectSrc = 'self'; + + /** + * Specifies the origins that can serve web fonts. + * + * @var string|string[] + */ + public $fontSrc; + + /** + * Lists valid endpoints for submission from `
    ` tags. + * + * @var string|string[] + */ + public $formAction = 'self'; + + /** + * Specifies the sources that can embed the current page. + * This directive applies to ``, `