87 Commits

Author SHA1 Message Date
Balazs
125453c8ab Merge pull request #26 from QwIT-Development/dependabot/pub/refilc/permission_handler-12.0.0
Bump permission_handler from 11.4.0 to 12.0.0 in /refilc
2025-04-10 14:42:34 +02:00
dependabot[bot]
9a018c6f37 Bump permission_handler from 11.4.0 to 12.0.0 in /refilc
Bumps [permission_handler](https://github.com/baseflow/flutter-permission-handler) from 11.4.0 to 12.0.0.
- [Commits](https://github.com/baseflow/flutter-permission-handler/compare/permission_handler_v11.4.0...permission_handler_v12.0.0)

---
updated-dependencies:
- dependency-name: permission_handler
  dependency-version: 12.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-10 03:34:10 +00:00
Balázs
b107a9a800 Update client.dart 2025-04-03 12:00:57 +02:00
Balázs
ed5f1d3e05 commit arson 2025-04-03 09:06:03 +02:00
Balázs
c1d9da6c58 Update status_provider.dart 2025-04-03 07:35:55 +02:00
Balázs
ef6aa0142b Update build.gradle 2025-04-02 12:43:29 +02:00
Balázs
a0336b9122 Merge pull request #24 from QwIT-Development/olajcsere-patch-1
new api endp
2025-04-02 10:49:37 +02:00
Balázs
4e7fbab6ce new api endp 2025-04-02 10:49:20 +02:00
Balázs
8252cfe13c Merge pull request #23 from TheAppleUser1/patch-6
Update ipa-sideloading.md
2025-03-28 20:28:54 +01:00
TheAppleUser
709b3c3cfa Update ipa-sideloading.md 2025-03-28 20:22:49 +01:00
Balázs
e0fdf33dc3 Merge pull request #21 from spitkov/patch-2
hiányzó rész hozzáadása
2025-03-28 19:24:57 +01:00
Bence
ab07606af3 hiányzó rész hozzáadása 2025-03-28 19:09:24 +01:00
Nyílászáró Kolompár Olajcsere
82522dfa19 Merge pull request #20 from TheAppleUser1/patch-3
baszod mas linket tettem
2025-03-21 16:24:59 +01:00
TheAppleUser
9ef500adf3 baszod mas linket tettem 2025-03-21 16:23:55 +01:00
Nyílászáró Kolompár Olajcsere
9af84f4df5 Merge pull request #16 from QwIT-Development/dependabot/pub/refilc/flutter_local_notifications-19.0.0
Bump flutter_local_notifications from 18.0.1 to 19.0.0 in /refilc
2025-03-21 16:03:39 +01:00
Nyílászáró Kolompár Olajcsere
ce075adb28 Merge pull request #19 from TheAppleUser1/patch-2
Kicsi kipofozás
2025-03-21 16:03:24 +01:00
TheAppleUser
4090b0817b Kicsi kipofozás
Átírtam pár mondatot, Illetve a legtöbb linket highlightok alá tettem
2025-03-21 16:00:40 +01:00
dependabot[bot]
aeef3429e5 Bump flutter_local_notifications from 18.0.1 to 19.0.0 in /refilc
Bumps [flutter_local_notifications](https://github.com/MaikuB/flutter_local_notifications) from 18.0.1 to 19.0.0.
- [Release notes](https://github.com/MaikuB/flutter_local_notifications/releases)
- [Commits](https://github.com/MaikuB/flutter_local_notifications/compare/flutter_local_notifications-v18.0.1...flutter_local_notifications-v19.0.0)

---
updated-dependencies:
- dependency-name: flutter_local_notifications
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-17 03:51:25 +00:00
Nyílászáró Kolompár Olajcsere
29a6fc242a Merge pull request #14 from balint1414/master
Jegyek száma hibás törés + dolgozat átnevezése számonkérésre
2025-03-09 18:52:15 +01:00
c67c965049 Dolgozat átírása számonkérésre 2025-03-09 16:32:03 +01:00
7411136261 100+ jegy fix? 2025-03-09 16:31:30 +01:00
Nyílászáró Kolompár Olajcsere
7b405ddaef Merge pull request #13 from QwIT-Development/dependabot/pub/refilc_mobile_ui/image_gallery_saver_plus-4.0.0
Bump image_gallery_saver_plus from 3.0.5 to 4.0.0 in /refilc_mobile_ui
2025-03-06 06:34:45 +01:00
dependabot[bot]
96f10d5411 Bump image_gallery_saver_plus from 3.0.5 to 4.0.0 in /refilc_mobile_ui
Bumps [image_gallery_saver_plus](https://github.com/ArmanKT/image_gallery_saver_plus) from 3.0.5 to 4.0.0.
- [Changelog](https://github.com/ArmanKT/image_gallery_saver_plus/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ArmanKT/image_gallery_saver_plus/commits)

---
updated-dependencies:
- dependency-name: image_gallery_saver_plus
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-06 04:16:23 +00:00
Nyílászáró Kolompár Olajcsere
d129503fe5 Merge pull request #12 from TheAppleUser1/patch-1
SideStore guide befejezése
2025-03-05 17:13:40 +01:00
TheAppleUser
2f5a9928fd SideStore guide befejezése
Hozzáadtam a SideStorenak a bővebb és befejett guideja
2025-03-05 17:12:19 +01:00
BalazsManus
f7caa6118b silly me 2025-03-04 20:10:04 +01:00
rnxm
4c89c45db6 refilc -> firka in privacy policy 2025-03-03 23:41:01 +01:00
Nyílászáró Kolompár Olajcsere
761f7232e7 start puting "copyright" to every file 2025-03-03 09:05:43 +01:00
Nyílászáró Kolompár Olajcsere
68c1a89105 lathatalan vicces dolgocska 2025-03-03 08:58:35 +01:00
Nyílászáró Kolompár Olajcsere
cc4a5e18b5 Merge pull request #11 from spitkov/patch-2
Néhány elírás kijavítása
2025-03-03 06:53:11 +01:00
Bence
18cd3277b9 lehet nem telefonon kéne 2025-03-02 23:13:44 +01:00
Bence
a51c20414c Update ipa-sideloading.md 2025-03-02 23:04:10 +01:00
Nyílászáró Kolompár Olajcsere
08ad07d286 Merge pull request #10 from TheAppleUser1/master
SideStore hozzáadás, és Kreditek hozzáadása ipa-sideloading.md
2025-03-02 22:00:45 +01:00
TheAppleUser
f33730ffe2 SideStore hozzáadás, és Kreditek hozzáadása ipa-sideloading.md 2025-03-02 21:57:19 +01:00
Nyílászáró Kolompár Olajcsere
85b8f69d88 Update refilc_mobile_ui/README.md 2025-03-02 20:41:51 +01:00
Nyílászáró Kolompár Olajcsere
5b13fbf3be Update refilc_kreta_api/README.md 2025-03-02 20:38:38 +01:00
Nyílászáró Kolompár Olajcsere
6b6fdbc191 Update refilc_kreta_api/README.md 2025-03-02 20:38:22 +01:00
Nyílászáró Kolompár Olajcsere
16d7142af3 Update refilc/README.md 2025-03-02 20:35:07 +01:00
Nyílászáró Kolompár Olajcsere
1dbf4d5362 asd 2025-03-02 20:25:50 +01:00
Nyílászáró Kolompár Olajcsere
903b159184 update a bit with more info 2025-03-02 20:22:56 +01:00
Nyílászáró Kolompár Olajcsere
5ff04e9fd1 sum 2025-03-02 20:14:31 +01:00
Nyílászáró Kolompár Olajcsere
39c6c26f8e Merge pull request #9 from spitkov/master
Feather hozzáadása a guidehoz és repos megoldás használata
2025-03-02 20:01:56 +01:00
Bence
7dae16efe3 Update ipa-sideloading.md 2025-03-02 19:57:47 +01:00
balazsmanus@chameleon
7cf2429bee add local.properties to ignore 2025-03-02 17:02:29 +01:00
balazsmanus@chameleon
66324b986e refactor gitignore into one file 2025-03-02 16:53:03 +01:00
balazsmanus@chameleon
22dd132c64 delete unnec imports 2025-03-02 16:35:03 +01:00
balazsmanus@chameleon
5cc6d26ce1 delete .idea (nem is ertem miert volt ott) 2025-03-02 16:34:49 +01:00
balazsmanus@chameleon
b01a7e7f54 update build code 2025-03-02 14:32:13 +01:00
balazsmanus@chameleon
54f514896c update ipa-sideloading.md
Co-authored-by: TheAppleUser <167472357+TheAppleUser1@users.noreply.github.com>
Co-authored-by: Zan <62830223+Zan1456@users.noreply.github.com>
2025-03-02 14:31:54 +01:00
Nyílászáró Kolompár Olajcsere
8c87d97353 update a bit 2025-03-02 10:26:58 +01:00
Nyílászáró Kolompár Olajcsere
05a21ee74c remove old agpl plaintext 2025-03-02 09:56:08 +01:00
Nyílászáró Kolompár Olajcsere
b50c8001ca add markdown ver of agpl3
src: https://www.gnu.org/licenses/agpl-3.0.md
2025-03-02 09:54:59 +01:00
Nyílászáró Kolompár Olajcsere
063c58003a cute readme 2025-03-02 09:17:34 +01:00
Nyílászáró Kolompár Olajcsere
a9be7c502d Merge pull request #8 from SzponerZoli/master
Changed Filc to Firka in ipa-sideloading.md
2025-03-01 20:59:17 +01:00
Zoltán Egyházi
35f4f76ae0 Changed Filc to Firka 2025-03-01 20:54:51 +01:00
Nyílászáró Kolompár Olajcsere
3314fdc782 Create ipa-sideloading.md 2025-03-01 20:38:16 +01:00
BalazsManus
1767875253 this may get the job done 2025-03-01 20:25:21 +01:00
Nyílászáró Kolompár Olajcsere
bcaea82a77 Update README.md 2025-03-01 20:15:56 +01:00
BalazsManus
c762828bcb revert caching subject view 2025-03-01 20:03:14 +01:00
balazsmanus@chameleon
1b5551a05f add physics to settings screens 2025-02-28 16:50:15 +01:00
balazsmanus@chameleon
676d472b9e remove stuff from pubsec 2025-02-28 16:49:27 +01:00
balazsmanus@chameleon
e64c93274e remove unnec images 2025-02-28 16:49:14 +01:00
balazsmanus@chameleon
09fe2beb4e remove rive and lottie altogether 2025-02-28 16:28:36 +01:00
balazsmanus@chameleon
bf09f03127 remove caching 2025-02-28 16:26:45 +01:00
balazsmanus@chameleon
45f3ecf70f nuke out plus shit 2025-02-28 16:26:25 +01:00
balazsmanus@chameleon
c182fbec2b jo vicc 2025-02-28 15:23:44 +01:00
balazsmanus@chameleon
1c4b645c26 anonymous theme sharing 2025-02-28 15:14:48 +01:00
balazsmanus@chameleon
6eb25c2129 Merge remote-tracking branch 'origin/master' 2025-02-28 15:12:38 +01:00
balazsmanus@chameleon
8e46ca1962 someone forgot localization 2025-02-28 15:04:29 +01:00
BalazsManus
b14123a5f6 Merge remote-tracking branch 'origin/master' 2025-02-28 11:44:56 +01:00
BalazsManus
8707252850 small changes to gradle config
Optimized specifically to my pc
(szepen bepulloltad a 8gb minram argumentement)
2025-02-28 11:44:49 +01:00
Nyílászáró Kolompár Olajcsere
0e9f430f07 Update README.md 2025-02-28 11:18:14 +01:00
BalazsManus
1390fafeab this should be uploading a working ipa now 2025-02-28 08:18:31 +01:00
BalazsManus
75d0505c87 remove zipping temporarily 2025-02-28 08:06:44 +01:00
BalazsManus
3ba1d913ef test upload, since i don't really know what it does 2025-02-28 08:05:57 +01:00
BalazsManus
f5cd9fa041 change nocodesign argument 2025-02-28 07:56:03 +01:00
BalazsManus
bfff2ebfb9 upload might working ipa builder 2025-02-28 07:49:48 +01:00
Nyílászáró Kolompár Olajcsere
518044b015 Merge pull request #6 from THE-SIMPLE-MARK/fix-duplicate-package-ids
`image_crop` duplikált package törlése `refilc_plus`-ból
2025-02-27 22:09:21 +01:00
THE-SIMPLE-MARK
f1bcc8b06f Remove image_crop duplicate package from refilc_plus 2025-02-27 22:02:10 +01:00
balazsmanus@chameleon
16d473b8ea push code 2025-02-27 17:44:06 +01:00
balazsmanus@chameleon
8318a5c3b4 remove one comment 2025-02-27 17:11:34 +01:00
balazsmanus@chameleon
449b3e3e3a fixed todo deletion 2025-02-27 17:10:23 +01:00
balazsmanus@chameleon
ebd5a02ea8 sexy green 2025-02-27 16:42:01 +01:00
balazsmanus@chameleon
dccd49f9fd Merge remote-tracking branch 'origin/master' 2025-02-27 16:40:39 +01:00
balazsmanus@chameleon
fa3407785a new colors 2025-02-27 16:40:32 +01:00
Nyílászáró Kolompár Olajcsere
2786fa0317 Merge pull request #5 from jkacsa01/master
Firka title
2025-02-27 06:36:07 +01:00
jkacsa01
9b464f348f Firka title 2025-02-26 22:05:23 +01:00
131 changed files with 1954 additions and 5848 deletions

View File

@@ -59,73 +59,47 @@ jobs:
path: refilc/build/app/outputs/flutter-apk/app-*-release.apk
# build-ios:
# name: Build for IOS
# runs-on: macos-latest
# permissions:
# contents: read
#
# steps:
# - name: Download repository
# uses: actions/checkout@v4.2.2
#
# - name: Install the Apple certificate and provisioning profile
# env:
# BUILD_CERTIFICATE_BASE64: ${{ secrets.BUILD_CERTIFICATE_BASE64 }}
# P12_PASSWORD: ${{ secrets.P12_PASSWORD }}
# BUILD_PROVISION_PROFILE_BASE64: ${{ secrets.BUILD_PROVISION_PROFILE_BASE64 }}
# KEYCHAIN_PASSWORD: ${{ secrets.KEYCHAIN_PASSWORD }}
#
# run: |
# # create variables
# CERTIFICATE_PATH=$RUNNER_TEMP/build_certificate.p12
# PP_PATH=$RUNNER_TEMP/build_pp.mobileprovision
# KEYCHAIN_PATH=$RUNNER_TEMP/app-signing.keychain-db
#
# # import certificate and provisioning profile from secrets
# echo -n "$BUILD_CERTIFICATE_BASE64" | base64 --decode --output $CERTIFICATE_PATH
# echo -n "$BUILD_PROVISION_PROFILE_BASE64" | base64 --decode --output $PP_PATH
#
# # create temporary keychain
# security create-keychain -p "$KEYCHAIN_PASSWORD" $KEYCHAIN_PATH
# security set-keychain-settings -lut 21600 $KEYCHAIN_PATH
# security unlock-keychain -p "$KEYCHAIN_PASSWORD" $KEYCHAIN_PATH
#
# # import certificate to keychain
# security import $CERTIFICATE_PATH -P "$P12_PASSWORD" -A -t cert -f pkcs12 -k $KEYCHAIN_PATH
# security list-keychain -d user -s $KEYCHAIN_PATH
#
# # apply provisioning profile
# mkdir -p ~/Library/MobileDevice/Provisioning\ Profiles
# cp $PP_PATH ~/Library/MobileDevice/Provisioning\ Profiles
#
# - uses: subosito/flutter-action@v2.18.0
# with:
# flutter-version: "3.27.1"
# channel: "stable"
# cache: "true"
#
# - name: Install dependencies
# run: |
# chmod +x fix-pub.sh
# bash fix-pub.sh
#
# - name: Building IPA
# run: |
# cd refilc
# chmod +x build-ipa.sh
# bash build-ipa.sh
# cd ..
#
# - name: Upload Android Release
# uses: actions/upload-artifact@v4.6.1
# with:
# name: ios-ipa
# # refilc/build/app/outputs/flutter-apk/app-*-release.apk
# path: refilc/build/app/outputs/ios/ipa/*.ipa
#
# - name: Clean up keychain and provisioning profile
# if: ${{ always() }}
# run: |
# security delete-keychain $RUNNER_TEMP/app-signing.keychain-db
# rm ~/Library/MobileDevice/Provisioning\ Profiles/build_pp.mobileprovision
build-ios:
name: Build for IOS
runs-on: macos-latest
permissions:
contents: read
steps:
- name: Download repository
uses: actions/checkout@v4.2.2
- uses: subosito/flutter-action@v2.18.0
with:
flutter-version: "3.27.1"
channel: "stable"
cache: "true"
- name: Install dependencies
run: |
chmod +x fix-pub.sh
bash fix-pub.sh
- name: Build
run: |
cd refilc
chmod +x build-ipa.sh
bash build-ipa.sh
cd ..
- name: Create IPA
run: |
cd refilc
cd build/ios/archive/Runner.xcarchive/Products/Applications
mkdir Payload
cp -r Runner.app Payload/
zip -r Payload.zip Payload
mv Payload.zip firkaapp.ipa
cd ../../../../..
- name: Upload IOS Release
uses: actions/upload-artifact@v4.6.1
with:
name: ios-ipa
# refilc/build/app/outputs/flutter-apk/app-*-release.apk
path: refilc/build/ios/archive/Runner.xcarchive/Products/Applications/*.ipa

132
.gitignore vendored
View File

@@ -1,57 +1,97 @@
# /refilc
refilc/debug-info/
refilc/.flutter-plugins
refilc/.flutter-plugins-dependencies
refilc/pubspec.lock
refilc/.dart_tool/
# refilc/android/
# refilc/ios/
# refilc/windows/
# refilc/linux/
# refilc/macos/
refilc/build/
refilc/android/key.properties
refilc/android/debug.keystore
# /refilc/android
refilc/android/*.jks
refilc/android/*key.properties
**/.gradle/
**/.kotlin/
# refilc_desktop_ui/.flutter-plugins
# refilc_desktop_ui/.flutter-plugins-dependencies
# refilc_desktop_ui/pubspec.lock
# refilc_desktop_ui/.dart_tool/
# flutter
**/.dart_tool/
**/.flutter-plugins
**/.flutter-plugins-dependencies
**/pubspec.lock
**/.pub-cache/
**/.pub/
**/build/
**/.packages
**/doc/api/
**/ios/Flutter/.last_build_id
**/.symlinks/
refilc_kreta_api/.flutter-plugins
refilc_kreta_api/.flutter-plugins-dependencies
refilc_kreta_api/pubspec.lock
refilc_kreta_api/.dart_tool/
# ides
.idea/
.vscode/
*.iml
*.ipr
*.iws
refilc_mobile_ui/.flutter-plugins
refilc_mobile_ui/.flutter-plugins-dependencies
refilc_mobile_ui/pubspec.lock
refilc_mobile_ui/.dart_tool/
# Miscellaneous
**.class
**.log
**.pyc
**.swp
**/.DS_Store
**/.atom/
**/.build/
**/.buildlog/
**/.history
**/.svn/
**/.swiftpm/
**/migrate_working_dir/
**/.plugin_symlinks/
**/local.properties
# filcnaplo_premium/.flutter-plugins
# filcnaplo_premium/.flutter-plugins-dependencies
# filcnaplo_premium/pubspec.lock
# filcnaplo_premium/.dart_tool/
# symbols, obfuscations
**/app.*.symbols
**/app.*.map.json
.vscode
.github
.idea
.gitmodules
.gradle
.kotlin
# android releated
**/android/app/debug
**/android/app/profile
**/android/app/release
**/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java
refilc/.DS_Store
.DS_Store
refilc/linux/flutter/
.plugin_symlinks/
refilc/macos/Flutter/
refilc/ios/Flutter/
refilc/ios/Runner/GeneratedPluginRegistrant.h
refilc/ios/Runner/GeneratedPluginRegistrant.m
refilc/android/local.properties
refilc/android/debugkey.properties
refilc/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java
# ios releated
**/Pods
**/Podfile.lock
**/UserInterfaceState.xcuserstate
**/ios/**/*.mode1v3
**/ios/**/*.mode2v3
**/ios/**/*.moved-aside
**/ios/**/*.pbxuser
**/ios/**/*.perspectivev3
**/ios/**/*sync/
**/ios/**/.sconsign.dblite
**/ios/**/.tags*
**/ios/**/.vagrant/
**/ios/**/DerivedData/
**/ios/**/Icon?
**/ios/**/Pods/
**/ios/**/.symlinks/
**/ios/**/profile
**/ios/**/xcuserdata
**/ios/.generated/
**/ios/Flutter/App.framework
**/ios/Flutter/Flutter.framework
**/ios/Flutter/Flutter.podspec
**/ios/Flutter/Generated.xcconfig
**/ios/Flutter/ephemeral
**/ios/Flutter/app.flx
**/ios/Flutter/app.zip
**/ios/Flutter/flutter_assets/
**/ios/Flutter/flutter_export_environment.sh
**/ios/ServiceDefinitions.json
**/ios/Runner/GeneratedPluginRegistrant.*
**/ios/Flutter/
# dart
**/.env*
**/*.dart.js
**/*.info.json
# tools.py logs
tool_logs/build/*.log
tool_logs/d8dx_fix/*.log
tool_logs/pub_fix/*.log
refilc_mobile_ui/android/local.properties

View File

@@ -1,30 +0,0 @@
<component name="libraryTable">
<library name="Dart SDK">
<CLASSES>
<root url="file://$PROJECT_DIR$/../flutter/bin/cache/dart-sdk/lib/async" />
<root url="file://$PROJECT_DIR$/../flutter/bin/cache/dart-sdk/lib/cli" />
<root url="file://$PROJECT_DIR$/../flutter/bin/cache/dart-sdk/lib/collection" />
<root url="file://$PROJECT_DIR$/../flutter/bin/cache/dart-sdk/lib/concurrent" />
<root url="file://$PROJECT_DIR$/../flutter/bin/cache/dart-sdk/lib/convert" />
<root url="file://$PROJECT_DIR$/../flutter/bin/cache/dart-sdk/lib/core" />
<root url="file://$PROJECT_DIR$/../flutter/bin/cache/dart-sdk/lib/developer" />
<root url="file://$PROJECT_DIR$/../flutter/bin/cache/dart-sdk/lib/ffi" />
<root url="file://$PROJECT_DIR$/../flutter/bin/cache/dart-sdk/lib/html" />
<root url="file://$PROJECT_DIR$/../flutter/bin/cache/dart-sdk/lib/indexed_db" />
<root url="file://$PROJECT_DIR$/../flutter/bin/cache/dart-sdk/lib/io" />
<root url="file://$PROJECT_DIR$/../flutter/bin/cache/dart-sdk/lib/isolate" />
<root url="file://$PROJECT_DIR$/../flutter/bin/cache/dart-sdk/lib/js" />
<root url="file://$PROJECT_DIR$/../flutter/bin/cache/dart-sdk/lib/js_interop" />
<root url="file://$PROJECT_DIR$/../flutter/bin/cache/dart-sdk/lib/js_interop_unsafe" />
<root url="file://$PROJECT_DIR$/../flutter/bin/cache/dart-sdk/lib/js_util" />
<root url="file://$PROJECT_DIR$/../flutter/bin/cache/dart-sdk/lib/math" />
<root url="file://$PROJECT_DIR$/../flutter/bin/cache/dart-sdk/lib/mirrors" />
<root url="file://$PROJECT_DIR$/../flutter/bin/cache/dart-sdk/lib/svg" />
<root url="file://$PROJECT_DIR$/../flutter/bin/cache/dart-sdk/lib/typed_data" />
<root url="file://$PROJECT_DIR$/../flutter/bin/cache/dart-sdk/lib/web_audio" />
<root url="file://$PROJECT_DIR$/../flutter/bin/cache/dart-sdk/lib/web_gl" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</component>

8
.idea/misc.xml generated
View File

@@ -1,8 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="PWA">
<option name="enabled" value="true" />
<option name="wasEnabledAtLeastOnce" value="true" />
</component>
<component name="ProjectRootManager" version="2" project-jdk-name="Android API 33, extension level 3 Platform" project-jdk-type="Android SDK" />
</project>

8
.idea/modules.xml generated
View File

@@ -1,8 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/.idea/naplo.iml" filepath="$PROJECT_DIR$/.idea/naplo.iml" />
</modules>
</component>
</project>

150
.idea/naplo.iml generated
View File

@@ -1,150 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$">
<excludeFolder url="file://$MODULE_DIR$/filcnaplo/.dart_tool" />
<excludeFolder url="file://$MODULE_DIR$/filcnaplo/.pub" />
<excludeFolder url="file://$MODULE_DIR$/filcnaplo/build" />
<excludeFolder url="file://$MODULE_DIR$/filcnaplo/linux/flutter/ephemeral/.plugin_symlinks/flutter_acrylic/example/.pub" />
<excludeFolder url="file://$MODULE_DIR$/filcnaplo/linux/flutter/ephemeral/.plugin_symlinks/flutter_acrylic/example/build" />
<excludeFolder url="file://$MODULE_DIR$/filcnaplo/linux/flutter/ephemeral/.plugin_symlinks/flutter_acrylic/example/.dart_tool" />
<excludeFolder url="file://$MODULE_DIR$/filcnaplo_desktop_ui/.dart_tool" />
<excludeFolder url="file://$MODULE_DIR$/filcnaplo_desktop_ui/.pub" />
<excludeFolder url="file://$MODULE_DIR$/filcnaplo_desktop_ui/build" />
<excludeFolder url="file://$MODULE_DIR$/filcnaplo/linux/flutter/ephemeral/.plugin_symlinks/share_plus/example/.pub" />
<excludeFolder url="file://$MODULE_DIR$/filcnaplo/linux/flutter/ephemeral/.plugin_symlinks/share_plus/example/.dart_tool" />
<excludeFolder url="file://$MODULE_DIR$/filcnaplo/linux/flutter/ephemeral/.plugin_symlinks/share_plus/example/build" />
<excludeFolder url="file://$MODULE_DIR$/filcnaplo/linux/flutter/ephemeral/.plugin_symlinks/dynamic_color/.pub" />
<excludeFolder url="file://$MODULE_DIR$/filcnaplo/linux/flutter/ephemeral/.plugin_symlinks/dynamic_color/.dart_tool" />
<excludeFolder url="file://$MODULE_DIR$/filcnaplo/linux/flutter/ephemeral/.plugin_symlinks/dynamic_color/build" />
<excludeFolder url="file://$MODULE_DIR$/filcnaplo/linux/flutter/ephemeral/.plugin_symlinks/url_launcher_linux/.pub" />
<excludeFolder url="file://$MODULE_DIR$/filcnaplo/linux/flutter/ephemeral/.plugin_symlinks/url_launcher_linux/build" />
<excludeFolder url="file://$MODULE_DIR$/filcnaplo/linux/flutter/ephemeral/.plugin_symlinks/url_launcher_linux/.dart_tool" />
<excludeFolder url="file://$MODULE_DIR$/filcnaplo/linux/flutter/ephemeral/.plugin_symlinks/dynamic_color/example/.pub" />
<excludeFolder url="file://$MODULE_DIR$/filcnaplo/linux/flutter/ephemeral/.plugin_symlinks/dynamic_color/example/.dart_tool" />
<excludeFolder url="file://$MODULE_DIR$/filcnaplo/linux/flutter/ephemeral/.plugin_symlinks/dynamic_color/example/build" />
<excludeFolder url="file://$MODULE_DIR$/filcnaplo_premium/build" />
<excludeFolder url="file://$MODULE_DIR$/filcnaplo_premium/.dart_tool" />
<excludeFolder url="file://$MODULE_DIR$/filcnaplo_premium/.pub" />
<excludeFolder url="file://$MODULE_DIR$/filcnaplo/linux/flutter/ephemeral/.plugin_symlinks/path_provider_linux/example/.pub" />
<excludeFolder url="file://$MODULE_DIR$/filcnaplo/linux/flutter/ephemeral/.plugin_symlinks/path_provider_linux/example/.dart_tool" />
<excludeFolder url="file://$MODULE_DIR$/filcnaplo/linux/flutter/ephemeral/.plugin_symlinks/path_provider_linux/example/build" />
<excludeFolder url="file://$MODULE_DIR$/filcnaplo/linux/flutter/ephemeral/.plugin_symlinks/share_plus/.dart_tool" />
<excludeFolder url="file://$MODULE_DIR$/filcnaplo/linux/flutter/ephemeral/.plugin_symlinks/share_plus/.pub" />
<excludeFolder url="file://$MODULE_DIR$/filcnaplo/linux/flutter/ephemeral/.plugin_symlinks/share_plus/build" />
<excludeFolder url="file://$MODULE_DIR$/filcnaplo/linux/flutter/ephemeral/.plugin_symlinks/url_launcher_linux/example/.pub" />
<excludeFolder url="file://$MODULE_DIR$/filcnaplo/linux/flutter/ephemeral/.plugin_symlinks/url_launcher_linux/example/.dart_tool" />
<excludeFolder url="file://$MODULE_DIR$/filcnaplo/linux/flutter/ephemeral/.plugin_symlinks/url_launcher_linux/example/build" />
<excludeFolder url="file://$MODULE_DIR$/filcnaplo/linux/flutter/ephemeral/.plugin_symlinks/connectivity_plus/.pub" />
<excludeFolder url="file://$MODULE_DIR$/filcnaplo/linux/flutter/ephemeral/.plugin_symlinks/connectivity_plus/build" />
<excludeFolder url="file://$MODULE_DIR$/filcnaplo/linux/flutter/ephemeral/.plugin_symlinks/connectivity_plus/.dart_tool" />
<excludeFolder url="file://$MODULE_DIR$/filcnaplo/linux/flutter/ephemeral/.plugin_symlinks/connectivity_plus/example/.dart_tool" />
<excludeFolder url="file://$MODULE_DIR$/filcnaplo/linux/flutter/ephemeral/.plugin_symlinks/connectivity_plus/example/build" />
<excludeFolder url="file://$MODULE_DIR$/filcnaplo/linux/flutter/ephemeral/.plugin_symlinks/connectivity_plus/example/.pub" />
<excludeFolder url="file://$MODULE_DIR$/filcnaplo/linux/flutter/ephemeral/.plugin_symlinks/package_info_plus/.pub" />
<excludeFolder url="file://$MODULE_DIR$/filcnaplo/linux/flutter/ephemeral/.plugin_symlinks/package_info_plus/build" />
<excludeFolder url="file://$MODULE_DIR$/filcnaplo/linux/flutter/ephemeral/.plugin_symlinks/package_info_plus/.dart_tool" />
<excludeFolder url="file://$MODULE_DIR$/filcnaplo/linux/flutter/ephemeral/.plugin_symlinks/path_provider_linux/build" />
<excludeFolder url="file://$MODULE_DIR$/filcnaplo/linux/flutter/ephemeral/.plugin_symlinks/path_provider_linux/.dart_tool" />
<excludeFolder url="file://$MODULE_DIR$/filcnaplo/linux/flutter/ephemeral/.plugin_symlinks/path_provider_linux/.pub" />
<excludeFolder url="file://$MODULE_DIR$/filcnaplo_kreta_api/.dart_tool" />
<excludeFolder url="file://$MODULE_DIR$/filcnaplo_kreta_api/build" />
<excludeFolder url="file://$MODULE_DIR$/filcnaplo_kreta_api/.pub" />
<excludeFolder url="file://$MODULE_DIR$/filcnaplo_mobile_ui/.dart_tool" />
<excludeFolder url="file://$MODULE_DIR$/filcnaplo_mobile_ui/.pub" />
<excludeFolder url="file://$MODULE_DIR$/filcnaplo_mobile_ui/build" />
<excludeFolder url="file://$MODULE_DIR$/filcnaplo/linux/flutter/ephemeral/.plugin_symlinks/package_info_plus/example/.pub" />
<excludeFolder url="file://$MODULE_DIR$/filcnaplo/linux/flutter/ephemeral/.plugin_symlinks/package_info_plus/example/.dart_tool" />
<excludeFolder url="file://$MODULE_DIR$/filcnaplo/linux/flutter/ephemeral/.plugin_symlinks/package_info_plus/example/build" />
<excludeFolder url="file://$MODULE_DIR$/filcnaplo/linux/flutter/ephemeral/.plugin_symlinks/flutter_acrylic/build" />
<excludeFolder url="file://$MODULE_DIR$/filcnaplo/linux/flutter/ephemeral/.plugin_symlinks/flutter_acrylic/.pub" />
<excludeFolder url="file://$MODULE_DIR$/filcnaplo/linux/flutter/ephemeral/.plugin_symlinks/flutter_acrylic/.dart_tool" />
<excludeFolder url="file://$MODULE_DIR$/refilc/.dart_tool" />
<excludeFolder url="file://$MODULE_DIR$/refilc/.pub" />
<excludeFolder url="file://$MODULE_DIR$/refilc/build" />
<excludeFolder url="file://$MODULE_DIR$/refilc_kreta_api/.dart_tool" />
<excludeFolder url="file://$MODULE_DIR$/refilc_kreta_api/.pub" />
<excludeFolder url="file://$MODULE_DIR$/refilc_kreta_api/build" />
<excludeFolder url="file://$MODULE_DIR$/refilc_mobile_ui/.dart_tool" />
<excludeFolder url="file://$MODULE_DIR$/refilc_mobile_ui/.pub" />
<excludeFolder url="file://$MODULE_DIR$/refilc_mobile_ui/build" />
<excludeFolder url="file://$MODULE_DIR$/refilc_plus/.dart_tool" />
<excludeFolder url="file://$MODULE_DIR$/refilc_plus/.pub" />
<excludeFolder url="file://$MODULE_DIR$/refilc_plus/build" />
<excludeFolder url="file://$MODULE_DIR$/refilc/linux/flutter/ephemeral/.plugin_symlinks/connectivity_plus/.dart_tool" />
<excludeFolder url="file://$MODULE_DIR$/refilc/linux/flutter/ephemeral/.plugin_symlinks/connectivity_plus/.pub" />
<excludeFolder url="file://$MODULE_DIR$/refilc/linux/flutter/ephemeral/.plugin_symlinks/connectivity_plus/build" />
<excludeFolder url="file://$MODULE_DIR$/refilc/linux/flutter/ephemeral/.plugin_symlinks/connectivity_plus/example/.dart_tool" />
<excludeFolder url="file://$MODULE_DIR$/refilc/linux/flutter/ephemeral/.plugin_symlinks/connectivity_plus/example/.pub" />
<excludeFolder url="file://$MODULE_DIR$/refilc/linux/flutter/ephemeral/.plugin_symlinks/connectivity_plus/example/build" />
<excludeFolder url="file://$MODULE_DIR$/refilc/linux/flutter/ephemeral/.plugin_symlinks/dynamic_color/.dart_tool" />
<excludeFolder url="file://$MODULE_DIR$/refilc/linux/flutter/ephemeral/.plugin_symlinks/dynamic_color/.pub" />
<excludeFolder url="file://$MODULE_DIR$/refilc/linux/flutter/ephemeral/.plugin_symlinks/dynamic_color/build" />
<excludeFolder url="file://$MODULE_DIR$/refilc/linux/flutter/ephemeral/.plugin_symlinks/dynamic_color/example/.dart_tool" />
<excludeFolder url="file://$MODULE_DIR$/refilc/linux/flutter/ephemeral/.plugin_symlinks/dynamic_color/example/.pub" />
<excludeFolder url="file://$MODULE_DIR$/refilc/linux/flutter/ephemeral/.plugin_symlinks/dynamic_color/example/build" />
<excludeFolder url="file://$MODULE_DIR$/refilc/linux/flutter/ephemeral/.plugin_symlinks/file_picker/.dart_tool" />
<excludeFolder url="file://$MODULE_DIR$/refilc/linux/flutter/ephemeral/.plugin_symlinks/file_picker/.pub" />
<excludeFolder url="file://$MODULE_DIR$/refilc/linux/flutter/ephemeral/.plugin_symlinks/file_picker/build" />
<excludeFolder url="file://$MODULE_DIR$/refilc/linux/flutter/ephemeral/.plugin_symlinks/file_picker/example/.dart_tool" />
<excludeFolder url="file://$MODULE_DIR$/refilc/linux/flutter/ephemeral/.plugin_symlinks/file_picker/example/.pub" />
<excludeFolder url="file://$MODULE_DIR$/refilc/linux/flutter/ephemeral/.plugin_symlinks/file_picker/example/build" />
<excludeFolder url="file://$MODULE_DIR$/refilc/linux/flutter/ephemeral/.plugin_symlinks/file_selector_linux/.dart_tool" />
<excludeFolder url="file://$MODULE_DIR$/refilc/linux/flutter/ephemeral/.plugin_symlinks/file_selector_linux/.pub" />
<excludeFolder url="file://$MODULE_DIR$/refilc/linux/flutter/ephemeral/.plugin_symlinks/file_selector_linux/build" />
<excludeFolder url="file://$MODULE_DIR$/refilc/linux/flutter/ephemeral/.plugin_symlinks/file_selector_linux/example/.dart_tool" />
<excludeFolder url="file://$MODULE_DIR$/refilc/linux/flutter/ephemeral/.plugin_symlinks/file_selector_linux/example/.pub" />
<excludeFolder url="file://$MODULE_DIR$/refilc/linux/flutter/ephemeral/.plugin_symlinks/file_selector_linux/example/build" />
<excludeFolder url="file://$MODULE_DIR$/refilc/linux/flutter/ephemeral/.plugin_symlinks/flutter_local_notifications_linux/.dart_tool" />
<excludeFolder url="file://$MODULE_DIR$/refilc/linux/flutter/ephemeral/.plugin_symlinks/flutter_local_notifications_linux/.pub" />
<excludeFolder url="file://$MODULE_DIR$/refilc/linux/flutter/ephemeral/.plugin_symlinks/flutter_local_notifications_linux/build" />
<excludeFolder url="file://$MODULE_DIR$/refilc/linux/flutter/ephemeral/.plugin_symlinks/image_picker_linux/.dart_tool" />
<excludeFolder url="file://$MODULE_DIR$/refilc/linux/flutter/ephemeral/.plugin_symlinks/image_picker_linux/.pub" />
<excludeFolder url="file://$MODULE_DIR$/refilc/linux/flutter/ephemeral/.plugin_symlinks/image_picker_linux/build" />
<excludeFolder url="file://$MODULE_DIR$/refilc/linux/flutter/ephemeral/.plugin_symlinks/image_picker_linux/example/.dart_tool" />
<excludeFolder url="file://$MODULE_DIR$/refilc/linux/flutter/ephemeral/.plugin_symlinks/image_picker_linux/example/.pub" />
<excludeFolder url="file://$MODULE_DIR$/refilc/linux/flutter/ephemeral/.plugin_symlinks/image_picker_linux/example/build" />
<excludeFolder url="file://$MODULE_DIR$/refilc/linux/flutter/ephemeral/.plugin_symlinks/maps_launcher/.dart_tool" />
<excludeFolder url="file://$MODULE_DIR$/refilc/linux/flutter/ephemeral/.plugin_symlinks/maps_launcher/.pub" />
<excludeFolder url="file://$MODULE_DIR$/refilc/linux/flutter/ephemeral/.plugin_symlinks/maps_launcher/build" />
<excludeFolder url="file://$MODULE_DIR$/refilc/linux/flutter/ephemeral/.plugin_symlinks/maps_launcher/example/.dart_tool" />
<excludeFolder url="file://$MODULE_DIR$/refilc/linux/flutter/ephemeral/.plugin_symlinks/maps_launcher/example/.pub" />
<excludeFolder url="file://$MODULE_DIR$/refilc/linux/flutter/ephemeral/.plugin_symlinks/maps_launcher/example/build" />
<excludeFolder url="file://$MODULE_DIR$/refilc/linux/flutter/ephemeral/.plugin_symlinks/package_info_plus/.dart_tool" />
<excludeFolder url="file://$MODULE_DIR$/refilc/linux/flutter/ephemeral/.plugin_symlinks/package_info_plus/.pub" />
<excludeFolder url="file://$MODULE_DIR$/refilc/linux/flutter/ephemeral/.plugin_symlinks/package_info_plus/build" />
<excludeFolder url="file://$MODULE_DIR$/refilc/linux/flutter/ephemeral/.plugin_symlinks/package_info_plus/example/.dart_tool" />
<excludeFolder url="file://$MODULE_DIR$/refilc/linux/flutter/ephemeral/.plugin_symlinks/package_info_plus/example/.pub" />
<excludeFolder url="file://$MODULE_DIR$/refilc/linux/flutter/ephemeral/.plugin_symlinks/package_info_plus/example/build" />
<excludeFolder url="file://$MODULE_DIR$/refilc/linux/flutter/ephemeral/.plugin_symlinks/path_provider_linux/.dart_tool" />
<excludeFolder url="file://$MODULE_DIR$/refilc/linux/flutter/ephemeral/.plugin_symlinks/path_provider_linux/.pub" />
<excludeFolder url="file://$MODULE_DIR$/refilc/linux/flutter/ephemeral/.plugin_symlinks/path_provider_linux/build" />
<excludeFolder url="file://$MODULE_DIR$/refilc/linux/flutter/ephemeral/.plugin_symlinks/path_provider_linux/example/.dart_tool" />
<excludeFolder url="file://$MODULE_DIR$/refilc/linux/flutter/ephemeral/.plugin_symlinks/path_provider_linux/example/.pub" />
<excludeFolder url="file://$MODULE_DIR$/refilc/linux/flutter/ephemeral/.plugin_symlinks/path_provider_linux/example/build" />
<excludeFolder url="file://$MODULE_DIR$/refilc/linux/flutter/ephemeral/.plugin_symlinks/share_plus/.dart_tool" />
<excludeFolder url="file://$MODULE_DIR$/refilc/linux/flutter/ephemeral/.plugin_symlinks/share_plus/.pub" />
<excludeFolder url="file://$MODULE_DIR$/refilc/linux/flutter/ephemeral/.plugin_symlinks/share_plus/build" />
<excludeFolder url="file://$MODULE_DIR$/refilc/linux/flutter/ephemeral/.plugin_symlinks/share_plus/example/.dart_tool" />
<excludeFolder url="file://$MODULE_DIR$/refilc/linux/flutter/ephemeral/.plugin_symlinks/share_plus/example/.pub" />
<excludeFolder url="file://$MODULE_DIR$/refilc/linux/flutter/ephemeral/.plugin_symlinks/share_plus/example/build" />
<excludeFolder url="file://$MODULE_DIR$/refilc/linux/flutter/ephemeral/.plugin_symlinks/url_launcher_linux/.dart_tool" />
<excludeFolder url="file://$MODULE_DIR$/refilc/linux/flutter/ephemeral/.plugin_symlinks/url_launcher_linux/.pub" />
<excludeFolder url="file://$MODULE_DIR$/refilc/linux/flutter/ephemeral/.plugin_symlinks/url_launcher_linux/build" />
<excludeFolder url="file://$MODULE_DIR$/refilc/linux/flutter/ephemeral/.plugin_symlinks/url_launcher_linux/example/.dart_tool" />
<excludeFolder url="file://$MODULE_DIR$/refilc/linux/flutter/ephemeral/.plugin_symlinks/url_launcher_linux/example/.pub" />
<excludeFolder url="file://$MODULE_DIR$/refilc/linux/flutter/ephemeral/.plugin_symlinks/url_launcher_linux/example/build" />
<excludeFolder url="file://$MODULE_DIR$/refilc/linux/flutter/ephemeral/.plugin_symlinks/wakelock_plus/.dart_tool" />
<excludeFolder url="file://$MODULE_DIR$/refilc/linux/flutter/ephemeral/.plugin_symlinks/wakelock_plus/.pub" />
<excludeFolder url="file://$MODULE_DIR$/refilc/linux/flutter/ephemeral/.plugin_symlinks/wakelock_plus/build" />
<excludeFolder url="file://$MODULE_DIR$/refilc/linux/flutter/ephemeral/.plugin_symlinks/wakelock_plus/example/.dart_tool" />
<excludeFolder url="file://$MODULE_DIR$/refilc/linux/flutter/ephemeral/.plugin_symlinks/wakelock_plus/example/.pub" />
<excludeFolder url="file://$MODULE_DIR$/refilc/linux/flutter/ephemeral/.plugin_symlinks/wakelock_plus/example/build" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="library" name="Dart SDK" level="project" />
<orderEntry type="library" name="Dart Packages" level="project" />
</component>
</module>

6
.idea/vcs.xml generated
View File

@@ -1,6 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="" vcs="Git" />
</component>
</project>

661
LICENSE
View File

@@ -1,661 +0,0 @@
GNU AFFERO GENERAL PUBLIC LICENSE
Version 3, 19 November 2007
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The GNU Affero General Public License is a free, copyleft license for
software and other kinds of works, specifically designed to ensure
cooperation with the community in the case of network server software.
The licenses for most software and other practical works are designed
to take away your freedom to share and change the works. By contrast,
our General Public Licenses are intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.
Developers that use our General Public Licenses protect your rights
with two steps: (1) assert copyright on the software, and (2) offer
you this License which gives you legal permission to copy, distribute
and/or modify the software.
A secondary benefit of defending all users' freedom is that
improvements made in alternate versions of the program, if they
receive widespread use, become available for other developers to
incorporate. Many developers of free software are heartened and
encouraged by the resulting cooperation. However, in the case of
software used on network servers, this result may fail to come about.
The GNU General Public License permits making a modified version and
letting the public access it on a server without ever releasing its
source code to the public.
The GNU Affero General Public License is designed specifically to
ensure that, in such cases, the modified source code becomes available
to the community. It requires the operator of a network server to
provide the source code of the modified version running there to the
users of that server. Therefore, public use of a modified version, on
a publicly accessible server, gives the public access to the source
code of the modified version.
An older license, called the Affero General Public License and
published by Affero, was designed to accomplish similar goals. This is
a different license, not a version of the Affero GPL, but Affero has
released a new version of the Affero GPL which permits relicensing under
this license.
The precise terms and conditions for copying, distribution and
modification follow.
TERMS AND CONDITIONS
0. Definitions.
"This License" refers to version 3 of the GNU Affero General Public License.
"Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.
"The Program" refers to any copyrightable work licensed under this
License. Each licensee is addressed as "you". "Licensees" and
"recipients" may be individuals or organizations.
To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of an
exact copy. The resulting work is called a "modified version" of the
earlier work or a work "based on" the earlier work.
A "covered work" means either the unmodified Program or a work based
on the Program.
To "propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy. Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.
To "convey" a work means any kind of propagation that enables other
parties to make or receive copies. Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.
An interactive user interface displays "Appropriate Legal Notices"
to the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License. If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.
1. Source Code.
The "source code" for a work means the preferred form of the work
for making modifications to it. "Object code" means any non-source
form of a work.
A "Standard Interface" means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.
The "System Libraries" of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major
Component, and (b) serves only to enable use of the work with that
Major Component, or to implement a Standard Interface for which an
implementation is available to the public in source code form. A
"Major Component", in this context, means a major essential component
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.
The "Corresponding Source" for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
control those activities. However, it does not include the work's
System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
which are not part of the work. For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.
The Corresponding Source need not include anything that users
can regenerate automatically from other parts of the Corresponding
Source.
The Corresponding Source for a work in source code form is that
same work.
2. Basic Permissions.
All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met. This License explicitly affirms your unlimited
permission to run the unmodified Program. The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work. This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.
You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains
in force. You may convey covered works to others for the sole purpose
of having them make modifications exclusively for you, or provide you
with facilities for running those works, provided that you comply with
the terms of this License in conveying all material for which you do
not control copyright. Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.
Conveying under any other circumstances is permitted solely under
the conditions stated below. Sublicensing is not allowed; section 10
makes it unnecessary.
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.
When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to
the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.
4. Conveying Verbatim Copies.
You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.
You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.
5. Conveying Modified Source Versions.
You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these conditions:
a) The work must carry prominent notices stating that you modified
it, and giving a relevant date.
b) The work must carry prominent notices stating that it is
released under this License and any conditions added under section
7. This requirement modifies the requirement in section 4 to
"keep intact all notices".
c) You must license the entire work, as a whole, under this
License to anyone who comes into possession of a copy. This
License will therefore apply, along with any applicable section 7
additional terms, to the whole of the work, and all its parts,
regardless of how they are packaged. This License gives no
permission to license the work in any other way, but it does not
invalidate such permission if you have separately received it.
d) If the work has interactive user interfaces, each must display
Appropriate Legal Notices; however, if the Program has interactive
interfaces that do not display Appropriate Legal Notices, your
work need not make them do so.
A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
"aggregate" if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
beyond what the individual works permit. Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.
6. Conveying Non-Source Forms.
You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License,
in one of these ways:
a) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by the
Corresponding Source fixed on a durable physical medium
customarily used for software interchange.
b) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by a
written offer, valid for at least three years and valid for as
long as you offer spare parts or customer support for that product
model, to give anyone who possesses the object code either (1) a
copy of the Corresponding Source for all the software in the
product that is covered by this License, on a durable physical
medium customarily used for software interchange, for a price no
more than your reasonable cost of physically performing this
conveying of source, or (2) access to copy the
Corresponding Source from a network server at no charge.
c) Convey individual copies of the object code with a copy of the
written offer to provide the Corresponding Source. This
alternative is allowed only occasionally and noncommercially, and
only if you received the object code with such an offer, in accord
with subsection 6b.
d) Convey the object code by offering access from a designated
place (gratis or for a charge), and offer equivalent access to the
Corresponding Source in the same way through the same place at no
further charge. You need not require recipients to copy the
Corresponding Source along with the object code. If the place to
copy the object code is a network server, the Corresponding Source
may be on a different server (operated by you or a third party)
that supports equivalent copying facilities, provided you maintain
clear directions next to the object code saying where to find the
Corresponding Source. Regardless of what server hosts the
Corresponding Source, you remain obligated to ensure that it is
available for as long as needed to satisfy these requirements.
e) Convey the object code using peer-to-peer transmission, provided
you inform other peers where the object code and Corresponding
Source of the work are being offered to the general public at no
charge under subsection 6d.
A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.
A "User Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal, family,
or household purposes, or (2) anything designed or sold for incorporation
into a dwelling. In determining whether a product is a consumer product,
doubtful cases shall be resolved in favor of coverage. For a particular
product received by a particular user, "normally used" refers to a
typical or common use of that class of product, regardless of the status
of the particular user or of the way in which the particular user
actually uses, or expects or is expected to use, the product. A product
is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.
"Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from
a modified version of its Corresponding Source. The information must
suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because
modification has been made.
If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information. But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).
The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for
the User Product in which it has been modified or installed. Access to a
network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and
protocols for communication across the network.
Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.
7. Additional Terms.
"Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent
that they are valid under applicable law. If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.
When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it. (Additional permissions may be written to require their own
removal in certain cases when you modify the work.) You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.
Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders of
that material) supplement the terms of this License with terms:
a) Disclaiming warranty or limiting liability differently from the
terms of sections 15 and 16 of this License; or
b) Requiring preservation of specified reasonable legal notices or
author attributions in that material or in the Appropriate Legal
Notices displayed by works containing it; or
c) Prohibiting misrepresentation of the origin of that material, or
requiring that modified versions of such material be marked in
reasonable ways as different from the original version; or
d) Limiting the use for publicity purposes of names of licensors or
authors of the material; or
e) Declining to grant rights under trademark law for use of some
trade names, trademarks, or service marks; or
f) Requiring indemnification of licensors and authors of that
material by anyone who conveys the material (or modified versions of
it) with contractual assumptions of liability to the recipient, for
any liability that these contractual assumptions directly impose on
those licensors and authors.
All other non-permissive additional terms are considered "further
restrictions" within the meaning of section 10. If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further
restriction, you may remove that term. If a license document contains
a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.
If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.
Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions;
the above requirements apply either way.
8. Termination.
You may not propagate or modify a covered work except as expressly
provided under this License. Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).
However, if you cease all violation of this License, then your
license from a particular copyright holder is reinstated (a)
provisionally, unless and until the copyright holder explicitly and
finally terminates your license, and (b) permanently, if the copyright
holder fails to notify you of the violation by some reasonable means
prior to 60 days after the cessation.
Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.
Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License. If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.
9. Acceptance Not Required for Having Copies.
You are not required to accept this License in order to receive or
run a copy of the Program. Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
to receive a copy likewise does not require acceptance. However,
nothing other than this License grants you permission to propagate or
modify any covered work. These actions infringe copyright if you do
not accept this License. Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.
10. Automatic Licensing of Downstream Recipients.
Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License. You are not responsible
for enforcing compliance by third parties with this License.
An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations. If propagation of a covered
work results from an entity transaction, each party to that
transaction who receives a copy of the work also receives whatever
licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.
You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License. For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.
11. Patents.
A "contributor" is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based. The
work thus licensed is called the contributor's "contributor version".
A contributor's "essential patent claims" are all patent claims
owned or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
by this License, of making, using, or selling its contributor version,
but do not include claims that would be infringed only as a
consequence of further modification of the contributor version. For
purposes of this definition, "control" includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.
Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.
In the following three paragraphs, a "patent license" is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
sue for patent infringement). To "grant" such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.
If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
publicly available network server or other readily accessible means,
then you must either (1) cause the Corresponding Source to be so
available, or (2) arrange to deprive yourself of the benefit of the
patent license for this particular work, or (3) arrange, in a manner
consistent with the requirements of this License, to extend the patent
license to downstream recipients. "Knowingly relying" means you have
actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.
If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.
A patent license is "discriminatory" if it does not include within
the scope of its coverage, prohibits the exercise of, or is
conditioned on the non-exercise of one or more of the rights that are
specifically granted under this License. You may not convey a covered
work if you are a party to an arrangement with a third party that is
in the business of distributing software, under which you make payment
to the third party based on the extent of your activity of conveying
the work, and under which the third party grants, to any of the
parties who would receive the covered work from you, a discriminatory
patent license (a) in connection with copies of the covered work
conveyed by you (or copies made from those copies), or (b) primarily
for and in connection with specific products or compilations that
contain the covered work, unless you entered into that arrangement,
or that patent license was granted, prior to 28 March 2007.
Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.
12. No Surrender of Others' Freedom.
If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot convey a
covered work so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you may
not convey it at all. For example, if you agree to terms that obligate you
to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.
13. Remote Network Interaction; Use with the GNU General Public License.
Notwithstanding any other provision of this License, if you modify the
Program, your modified version must prominently offer all users
interacting with it remotely through a computer network (if your version
supports such interaction) an opportunity to receive the Corresponding
Source of your version by providing access to the Corresponding Source
from a network server at no charge, through some standard or customary
means of facilitating copying of software. This Corresponding Source
shall include the Corresponding Source for any work covered by version 3
of the GNU General Public License that is incorporated pursuant to the
following paragraph.
Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU General Public License into a single
combined work, and to convey the resulting work. The terms of this
License will continue to apply to the part which is the covered work,
but the work with which it is combined will remain governed by version
3 of the GNU General Public License.
14. Revised Versions of this License.
The Free Software Foundation may publish revised and/or new versions of
the GNU Affero General Public License from time to time. Such new versions
will be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the
Program specifies that a certain numbered version of the GNU Affero General
Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation. If the Program does not specify a version number of the
GNU Affero General Public License, you may choose any version ever published
by the Free Software Foundation.
If the Program specifies that a proxy can decide which future
versions of the GNU Affero General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.
Later license versions may give you additional or different
permissions. However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.
15. Disclaimer of Warranty.
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. Limitation of Liability.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.
17. Interpretation of Sections 15 and 16.
If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
Also add information on how to contact you by electronic and paper mail.
If your software can interact with users remotely through a computer
network, you should also make sure that it provides a way for users to
get its source. For example, if your program is a web application, its
interface could display a "Source" link that leads users to an archive
of the code. There are many ways you could offer source, and different
solutions will be better for different programs; see section 13 for the
specific requirements.
You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU AGPL, see
<https://www.gnu.org/licenses/>.

660
LICENSE.md Normal file
View File

@@ -0,0 +1,660 @@
# GNU AFFERO GENERAL PUBLIC LICENSE
Version 3, 19 November 2007
Copyright (C) 2007 Free Software Foundation, Inc.
<https://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies of this
license document, but changing it is not allowed.
## Preamble
The GNU Affero General Public License is a free, copyleft license for
software and other kinds of works, specifically designed to ensure
cooperation with the community in the case of network server software.
The licenses for most software and other practical works are designed
to take away your freedom to share and change the works. By contrast,
our General Public Licenses are intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains
free software for all its users.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.
Developers that use our General Public Licenses protect your rights
with two steps: (1) assert copyright on the software, and (2) offer
you this License which gives you legal permission to copy, distribute
and/or modify the software.
A secondary benefit of defending all users' freedom is that
improvements made in alternate versions of the program, if they
receive widespread use, become available for other developers to
incorporate. Many developers of free software are heartened and
encouraged by the resulting cooperation. However, in the case of
software used on network servers, this result may fail to come about.
The GNU General Public License permits making a modified version and
letting the public access it on a server without ever releasing its
source code to the public.
The GNU Affero General Public License is designed specifically to
ensure that, in such cases, the modified source code becomes available
to the community. It requires the operator of a network server to
provide the source code of the modified version running there to the
users of that server. Therefore, public use of a modified version, on
a publicly accessible server, gives the public access to the source
code of the modified version.
An older license, called the Affero General Public License and
published by Affero, was designed to accomplish similar goals. This is
a different license, not a version of the Affero GPL, but Affero has
released a new version of the Affero GPL which permits relicensing
under this license.
The precise terms and conditions for copying, distribution and
modification follow.
## TERMS AND CONDITIONS
### 0. Definitions.
"This License" refers to version 3 of the GNU Affero General Public
License.
"Copyright" also means copyright-like laws that apply to other kinds
of works, such as semiconductor masks.
"The Program" refers to any copyrightable work licensed under this
License. Each licensee is addressed as "you". "Licensees" and
"recipients" may be individuals or organizations.
To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of
an exact copy. The resulting work is called a "modified version" of
the earlier work or a work "based on" the earlier work.
A "covered work" means either the unmodified Program or a work based
on the Program.
To "propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy. Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.
To "convey" a work means any kind of propagation that enables other
parties to make or receive copies. Mere interaction with a user
through a computer network, with no transfer of a copy, is not
conveying.
An interactive user interface displays "Appropriate Legal Notices" to
the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License. If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.
### 1. Source Code.
The "source code" for a work means the preferred form of the work for
making modifications to it. "Object code" means any non-source form of
a work.
A "Standard Interface" means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.
The "System Libraries" of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major
Component, and (b) serves only to enable use of the work with that
Major Component, or to implement a Standard Interface for which an
implementation is available to the public in source code form. A
"Major Component", in this context, means a major essential component
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.
The "Corresponding Source" for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
control those activities. However, it does not include the work's
System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
which are not part of the work. For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.
The Corresponding Source need not include anything that users can
regenerate automatically from other parts of the Corresponding Source.
The Corresponding Source for a work in source code form is that same
work.
### 2. Basic Permissions.
All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met. This License explicitly affirms your unlimited
permission to run the unmodified Program. The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work. This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.
You may make, run and propagate covered works that you do not convey,
without conditions so long as your license otherwise remains in force.
You may convey covered works to others for the sole purpose of having
them make modifications exclusively for you, or provide you with
facilities for running those works, provided that you comply with the
terms of this License in conveying all material for which you do not
control copyright. Those thus making or running the covered works for
you must do so exclusively on your behalf, under your direction and
control, on terms that prohibit them from making any copies of your
copyrighted material outside their relationship with you.
Conveying under any other circumstances is permitted solely under the
conditions stated below. Sublicensing is not allowed; section 10 makes
it unnecessary.
### 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.
When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such
circumvention is effected by exercising rights under this License with
respect to the covered work, and you disclaim any intention to limit
operation or modification of the work as a means of enforcing, against
the work's users, your or third parties' legal rights to forbid
circumvention of technological measures.
### 4. Conveying Verbatim Copies.
You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.
You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.
### 5. Conveying Modified Source Versions.
You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these
conditions:
- a) The work must carry prominent notices stating that you modified
it, and giving a relevant date.
- b) The work must carry prominent notices stating that it is
released under this License and any conditions added under
section 7. This requirement modifies the requirement in section 4
to "keep intact all notices".
- c) You must license the entire work, as a whole, under this
License to anyone who comes into possession of a copy. This
License will therefore apply, along with any applicable section 7
additional terms, to the whole of the work, and all its parts,
regardless of how they are packaged. This License gives no
permission to license the work in any other way, but it does not
invalidate such permission if you have separately received it.
- d) If the work has interactive user interfaces, each must display
Appropriate Legal Notices; however, if the Program has interactive
interfaces that do not display Appropriate Legal Notices, your
work need not make them do so.
A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
"aggregate" if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
beyond what the individual works permit. Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.
### 6. Conveying Non-Source Forms.
You may convey a covered work in object code form under the terms of
sections 4 and 5, provided that you also convey the machine-readable
Corresponding Source under the terms of this License, in one of these
ways:
- a) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by the
Corresponding Source fixed on a durable physical medium
customarily used for software interchange.
- b) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by a
written offer, valid for at least three years and valid for as
long as you offer spare parts or customer support for that product
model, to give anyone who possesses the object code either (1) a
copy of the Corresponding Source for all the software in the
product that is covered by this License, on a durable physical
medium customarily used for software interchange, for a price no
more than your reasonable cost of physically performing this
conveying of source, or (2) access to copy the Corresponding
Source from a network server at no charge.
- c) Convey individual copies of the object code with a copy of the
written offer to provide the Corresponding Source. This
alternative is allowed only occasionally and noncommercially, and
only if you received the object code with such an offer, in accord
with subsection 6b.
- d) Convey the object code by offering access from a designated
place (gratis or for a charge), and offer equivalent access to the
Corresponding Source in the same way through the same place at no
further charge. You need not require recipients to copy the
Corresponding Source along with the object code. If the place to
copy the object code is a network server, the Corresponding Source
may be on a different server (operated by you or a third party)
that supports equivalent copying facilities, provided you maintain
clear directions next to the object code saying where to find the
Corresponding Source. Regardless of what server hosts the
Corresponding Source, you remain obligated to ensure that it is
available for as long as needed to satisfy these requirements.
- e) Convey the object code using peer-to-peer transmission,
provided you inform other peers where the object code and
Corresponding Source of the work are being offered to the general
public at no charge under subsection 6d.
A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.
A "User Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal,
family, or household purposes, or (2) anything designed or sold for
incorporation into a dwelling. In determining whether a product is a
consumer product, doubtful cases shall be resolved in favor of
coverage. For a particular product received by a particular user,
"normally used" refers to a typical or common use of that class of
product, regardless of the status of the particular user or of the way
in which the particular user actually uses, or expects or is expected
to use, the product. A product is a consumer product regardless of
whether the product has substantial commercial, industrial or
non-consumer uses, unless such uses represent the only significant
mode of use of the product.
"Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information required to
install and execute modified versions of a covered work in that User
Product from a modified version of its Corresponding Source. The
information must suffice to ensure that the continued functioning of
the modified object code is in no case prevented or interfered with
solely because modification has been made.
If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information. But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).
The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or
updates for a work that has been modified or installed by the
recipient, or for the User Product in which it has been modified or
installed. Access to a network may be denied when the modification
itself materially and adversely affects the operation of the network
or violates the rules and protocols for communication across the
network.
Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.
### 7. Additional Terms.
"Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent
that they are valid under applicable law. If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.
When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it. (Additional permissions may be written to require their own
removal in certain cases when you modify the work.) You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.
Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders
of that material) supplement the terms of this License with terms:
- a) Disclaiming warranty or limiting liability differently from the
terms of sections 15 and 16 of this License; or
- b) Requiring preservation of specified reasonable legal notices or
author attributions in that material or in the Appropriate Legal
Notices displayed by works containing it; or
- c) Prohibiting misrepresentation of the origin of that material,
or requiring that modified versions of such material be marked in
reasonable ways as different from the original version; or
- d) Limiting the use for publicity purposes of names of licensors
or authors of the material; or
- e) Declining to grant rights under trademark law for use of some
trade names, trademarks, or service marks; or
- f) Requiring indemnification of licensors and authors of that
material by anyone who conveys the material (or modified versions
of it) with contractual assumptions of liability to the recipient,
for any liability that these contractual assumptions directly
impose on those licensors and authors.
All other non-permissive additional terms are considered "further
restrictions" within the meaning of section 10. If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further
restriction, you may remove that term. If a license document contains
a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.
If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.
Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions; the
above requirements apply either way.
### 8. Termination.
You may not propagate or modify a covered work except as expressly
provided under this License. Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).
However, if you cease all violation of this License, then your license
from a particular copyright holder is reinstated (a) provisionally,
unless and until the copyright holder explicitly and finally
terminates your license, and (b) permanently, if the copyright holder
fails to notify you of the violation by some reasonable means prior to
60 days after the cessation.
Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.
Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License. If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.
### 9. Acceptance Not Required for Having Copies.
You are not required to accept this License in order to receive or run
a copy of the Program. Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
to receive a copy likewise does not require acceptance. However,
nothing other than this License grants you permission to propagate or
modify any covered work. These actions infringe copyright if you do
not accept this License. Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.
### 10. Automatic Licensing of Downstream Recipients.
Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License. You are not responsible
for enforcing compliance by third parties with this License.
An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations. If propagation of a covered
work results from an entity transaction, each party to that
transaction who receives a copy of the work also receives whatever
licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.
You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License. For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.
### 11. Patents.
A "contributor" is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based. The
work thus licensed is called the contributor's "contributor version".
A contributor's "essential patent claims" are all patent claims owned
or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
by this License, of making, using, or selling its contributor version,
but do not include claims that would be infringed only as a
consequence of further modification of the contributor version. For
purposes of this definition, "control" includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.
Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.
In the following three paragraphs, a "patent license" is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
sue for patent infringement). To "grant" such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.
If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
publicly available network server or other readily accessible means,
then you must either (1) cause the Corresponding Source to be so
available, or (2) arrange to deprive yourself of the benefit of the
patent license for this particular work, or (3) arrange, in a manner
consistent with the requirements of this License, to extend the patent
license to downstream recipients. "Knowingly relying" means you have
actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.
If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.
A patent license is "discriminatory" if it does not include within the
scope of its coverage, prohibits the exercise of, or is conditioned on
the non-exercise of one or more of the rights that are specifically
granted under this License. You may not convey a covered work if you
are a party to an arrangement with a third party that is in the
business of distributing software, under which you make payment to the
third party based on the extent of your activity of conveying the
work, and under which the third party grants, to any of the parties
who would receive the covered work from you, a discriminatory patent
license (a) in connection with copies of the covered work conveyed by
you (or copies made from those copies), or (b) primarily for and in
connection with specific products or compilations that contain the
covered work, unless you entered into that arrangement, or that patent
license was granted, prior to 28 March 2007.
Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.
### 12. No Surrender of Others' Freedom.
If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot convey a
covered work so as to satisfy simultaneously your obligations under
this License and any other pertinent obligations, then as a
consequence you may not convey it at all. For example, if you agree to
terms that obligate you to collect a royalty for further conveying
from those to whom you convey the Program, the only way you could
satisfy both those terms and this License would be to refrain entirely
from conveying the Program.
### 13. Remote Network Interaction; Use with the GNU General Public License.
Notwithstanding any other provision of this License, if you modify the
Program, your modified version must prominently offer all users
interacting with it remotely through a computer network (if your
version supports such interaction) an opportunity to receive the
Corresponding Source of your version by providing access to the
Corresponding Source from a network server at no charge, through some
standard or customary means of facilitating copying of software. This
Corresponding Source shall include the Corresponding Source for any
work covered by version 3 of the GNU General Public License that is
incorporated pursuant to the following paragraph.
Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU General Public License into a single
combined work, and to convey the resulting work. The terms of this
License will continue to apply to the part which is the covered work,
but the work with which it is combined will remain governed by version
3 of the GNU General Public License.
### 14. Revised Versions of this License.
The Free Software Foundation may publish revised and/or new versions
of the GNU Affero General Public License from time to time. Such new
versions will be similar in spirit to the present version, but may
differ in detail to address new problems or concerns.
Each version is given a distinguishing version number. If the Program
specifies that a certain numbered version of the GNU Affero General
Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation. If the Program does not specify a version number of the
GNU Affero General Public License, you may choose any version ever
published by the Free Software Foundation.
If the Program specifies that a proxy can decide which future versions
of the GNU Affero General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.
Later license versions may give you additional or different
permissions. However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.
### 15. Disclaimer of Warranty.
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT
WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND
PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE
DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR
CORRECTION.
### 16. Limitation of Liability.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR
CONVEYS THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES
ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT
NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR
LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM
TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER
PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
### 17. Interpretation of Sections 15 and 16.
If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.
END OF TERMS AND CONDITIONS
## How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these
terms.
To do so, attach the following notices to the program. It is safest to
attach them to the start of each source file to most effectively state
the exclusion of warranty; and each file should have at least the
"copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
Also add information on how to contact you by electronic and paper
mail.
If your software can interact with users remotely through a computer
network, you should also make sure that it provides a way for users to
get its source. For example, if your program is a web application, its
interface could display a "Source" link that leads users to an archive
of the code. There are many ways you could offer source, and different
solutions will be better for different programs; see section 13 for
the specific requirements.
You should also get your employer (if you work as a programmer) or
school, if any, to sign a "copyright disclaimer" for the program, if
necessary. For more information on this, and how to apply and follow
the GNU AGPL, see <https://www.gnu.org/licenses/>.

View File

@@ -2,7 +2,10 @@
### Nem hivatalos e-napló alkalmazás az e-KRÉTA rendszerhez - tanulóktól, tanulóknak.
[![Letöltések](https://img.shields.io/github/downloads-pre/QwIT-Development/app-legacy/total?&logo=github&label=Letöltések)](https://github.com/QwIT-Development/app-legacy/releases) [![Discord](https://img.shields.io/discord/1111649116020285532?logo=discord&label=Discord)](https://discord.gg/6DvjyPAw2T)
[![GitHub Letöltések](https://img.shields.io/github/downloads-pre/QwIT-Development/app-legacy/latest/total?style=for-the-badge&logo=github&logoColor=EAF7CC&label=Let%C3%B6lt%C3%A9sek&labelColor=141905&color=A7DC22)](https://github.com/QwIT-Development/app-legacy/releases/latest)
[![Discord](https://img.shields.io/discord/1111649116020285532?style=for-the-badge&logo=discord&logoColor=EAF7CC&label=Discord&labelColor=0D1202&color=A7DC22)](https://discord.gg/6DvjyPAw2T)
[![Actions](https://img.shields.io/github/actions/workflow/status/QwIT-Development/app-legacy/builder.yml?style=for-the-badge&logo=githubactions&logoColor=EAF7CC&label=Actions&labelColor=0D1202&color=A7DC22)](https://github.com/QwIT-Development/app-legacy/actions/workflows/builder.yml)
### Hozzájárulás

191
ipa-sideloading.md Normal file
View File

@@ -0,0 +1,191 @@
# <img src="https://github.com/user-attachments/assets/dadb8ed3-7073-4591-a004-0d4c646fa963" alt width="24px"> A Firka IPA fájlainak telepítéséhez kövesd ezt az útmutatót.
Három lehetőséged van a Firka telepítésére:
- [Feather](#1-feather-metódus) - Fizetős, nem kell gép hozzá, 1 évre érvényes (ha lejár a certificate, újra meg kell vásárolni!)
- [ESign](#2-esign-metódus) - Ingyenes, nem kell gép hozzá, örökre van (ajánlott)
- [SideStore](#3-sidestore-metódus-a-sidestore-az-altstore-nak-egy-jobb-verziója) - Ingyenes, kell hozzá Mac, viszont Windowsal is működik, 7 naponta resign (telefonon megteheted lejárat előtt.)
## 1. Feather metódus
### 1. A .p12 és .mobileprovision beszerzése
- Vegyél certet a [kravasign.com](https://kravasign.com) oldalon
- Várnod kell kis időt (általában 72 óra)
- Csatlakozz a [Discord szerverünkhöz](https://discord.gg/kravasign) és nyiss egy ticketet a rendelési számoddal
### 2. A várakozás után kapsz egy letöltési linket egy zip fájlhoz, ami három dolgot tartalmaz:
- .p12
- .mobileprovision
- Egy mappa a tanúsítvány jelszavával
### 3. Töltsd le a legújabb Feather ipa-t innen: [Feather GitHub Releases](https://github.com/khcrysalis/Feather/releases)
### 4. Telepítés:
- Menj a sign.kravasign.com oldalra
- Töltsd fel a szükséges fájlokat:
- .p12
- .mobileprovision
- feather.ipa
- Add meg a tanúsítvány jelszavát
- Nyomd meg az `Upload and Sign` gombot, és várj, ez egy kis ideig eltarthat
### 5. Certificate importálása:
- Menj a `Settings` fülre és kattints a `Add Certificate` gombra
- Kattints a `+`-ra és importáld a .mobileprovision-t a .p12-t és írd be a .p12 jelszavát aztán kattints a `Save` gombra
### 6. Firka telepítése:
- Amint telepített a Feather, nyisd meg és menj a `Sources` fülre alul
- Kattints a `Add Repo` gombra és másold be hogy `https://raw.githubusercontent.com/spitkov/firkarepo/refs/heads/main/feather.json` és kattints az `Add` gombra
- Menj a `Firka Repository` menüpontra és kattints a letöltésre
- Ha letöltött menj a `Library` fülre és kattints a Firka appra azután `Sign Firka` aztán `Start Signing`
- A Signed Apps alatt látni fogod a firkát kattints rá és `Install Firka`
## 2. ESign metódus
## Szükséged van iOS 16 vagy újabb iOSre.
### 1. DNS profil telepítése
- Nyisd meg az [WSF Sideloading](https://whysoooofurious.netlify.app/) weboldalt a Safariban
- Nyomj rá a `Downloads` gombra, majd a `Config Profiles` gombra
- Válaszd a `madNS` profilt
- A profil letöltése után nyisd meg a **Beállításokat**
- A neved alatt megjelenik a **Profil Letöltve** (vagy angolul: **Profile Downloaded**)
- Nyomj rá, majd nyomd meg a **Telepítés/Install** gombot
- Kövesd az utasításokat (a felugró ablakokon nyomd a **Következő/Next** gombot)
- A telepítés után görgess le az **Általános/General** menüpontra
- Nyomj a **VPN, DNS, és eszközfelügyelet** (vagy iOS 18-ban: **VPN és eszközfelügyelet**) opcióra
- Válaszd a **DNS** opciót és válassz egyet a lehetőségek közül:
- **Sima**: Ajánlott, alap funkcionalitás
- **AdBlock**: Letiltja a reklámokat (néhány script is letiltásra kerülhet, ami problémákat okozhat)
- **OTA blocker**: Letiltja az Over-The-Air (Apple szerverekről küldött) frissítéseket
### 2. Tanúsítványok telepítése
- Menj vissza a korábban megnyitott weboldalra
- Nyomj a `Certificates` gombra, majd újra a `Certificates` opcióra
- Engedélyezd a fájl letöltését
- Töltsd le és csomagold ki a ZIP fájlt
### 3. Portal telepítése
- Menj vissza a letöltési oldalra
- Nyomj a `Portal` gombra
- Próbáld meg a `Portal - Continent` opciót
- Ha "*Integritás nem ellenőrizhető*" hibát kapsz, próbáld a többi lehetőséget
- Ha az **Avex** működik, csak az ESign-t választhatod
- Ha egyik sem működik, feketelistán lehetsz - írj a Firka Discord szerverbe segítségért, vagy olvasd el a "[Revoke Fix Guide](https://github.com/TheAppleUser1/Revoke-Fixing-Guide)"-ot.
- Menj a beállitásokba utána Általános az alatt VPN és eszközfelügyelet ott keresd meg a Profilt amit letöltöttél menjn rá és azon belül kattints a megbizásra utána megbizás (vagy megbizás és újraindítás)
### 4. ESign telepítése
- Nyisd meg a **Portal**t
- Menj végig a beállítási folyamaton
- Navigálj a `Downloads` fülre
- Ha az **Avex**et választottad a **Portal** telepítésekor, csak az **ESign** opciót választhatod (a Firka ezt ajánlja)
- Nyomd meg az **ESign** opciót, majd telepítsd ugyanúgy, mint a **Portal**t
- Nyisd meg az **ESignt** és fogadd el a licencszerződést
### 5. Tanúsítványok importálása
- A fájlnézetben nyomj a három pontra a sarokban
- Válaszd az `Import` opciót
- Navigálj a korábban letöltött és kicsomagolt mappához
- Nyisd meg azt a mappát, ami a Portal letöltési helyének nevét viseli
- Válaszd ki a "*cert_neve.p12*" fájlt és importáld
- Nyomj újra a három pontra, válaszd az `Import` opciót
- Importáld a *.mobileprovision* fájlt is ugyanabból a mappából
- A fájlnézetben nyomj rá a "*cert_neve.p12*" fájlra
- Válaszd az `Import certificate management` opciót
- Add meg a jelszót: `WSF`
### 6. Firka telepítése
- Menj az `AppStore` fülre alul aztán bal felül kattints az `App Source` gombra azután jobb felül kattints az +-ra és másold be hogy `https://raw.githubusercontent.com/spitkov/firkarepo/refs/heads/main/esign.json`
- Menj vissza és az AppStore fülben látni fogod a Firká-t
- Kattints hogy `Download`
- A `Download` fülben láthatod a letöltést, ha letöltött kattints rá és nyomd meg a `Import App Library` gombot
- Azután menj a `Apps` fülre és válaszd ki a Firkát kattints a `Signature`-re aztán megint `Signature` (fontos ne lépj ki az esign-bol amíg nem jelentek meg az `Install` és az `Exit` gombok)
- Ha végzett kattints az `Install` gombra és fel fog jönni egy kis menü hogy esign.yyyue.xyz telepíteni akarja a Firkát akkor kattints arra hogy Telepítés
- És kész is 🎉
### ESign FAQ:
- Q1: Törölhetem az ESignt meg a profilt amiután meg lett a Firka?
- A1: Igen, ha elakarod b*szni az egészet. Nem, ha meg szeretnéd tartani.
- Több kérdés? Írj a Firka Discord szerverébe.
## 3. SideStore metódus (A SideStore az AltStore-nak egy jobb verziója)
### 1. Előfeltételek
- Mac számítógép macOS 10.15 vagy újabb verzióval
- Apple fiók
- Internet kapcsolat
- iPhone iOS 14 vagy újabb verzióval
### 2. Szükséges fájlok letöltése (Maceden)
- AltServer: https://cdn.altstore.io/file/altstore/altserver.zip
- SideStore IPA: https://github.com/sidestore/sidestore/releases/latest/download/sidestore.ipa
- JitterBugPair: https://github.com/osy/Jitterbug/releases/download/v1.3.1/jitterbugpair-macos.zip
### 3. AltServer telepítése és beállítása (Maceden)
- Csomagold ki az AltServer-t a ZIP fájlból
- Helyezd át az Alkalmazások mappába
- Indítsd el az AltServer-t
### 4. SideStore telepítése (Maceden és az iPhoneodon)
- Csatlakoztasd az iPhone-od a Mac-hez
- Engedélyezd a "Megbízható számítógép" opciót az iPhone-on (ha kéri)
- A Mac menüsorában tartsd nyomva az Option⌥/Alt⌥ gombot
- Kattints az AltStore ikonra (rombusz alakú)
- Válaszd a "Sideload .ipa" opciót
- Válaszd ki az eszközöd nevét
- Válaszd ki a letöltött SideStore IPA fájlt
- Add meg az Apple fiókod adatait
- Várd meg a telepítést
- Az iPhone-on menj a Beállítások > Általános > VPN & Eszközfelügyelet menübe
- Keresd meg az Apple email címed és nyomd meg a "Megbízható" gombot
### 5. Fejlesztői mód engedélyezése (iOS 16 vagy újabb esetén) (iPhoneodon)
- Menj a Beállítások > Adatvédelem és Biztonság menübe
- Görgess az aljára
- Kapcsold be a Fejlesztői módot
- Várd meg az iPhone újraindulását
- Húzd fel a képernyőt az indítás közben amikor kéri
### 6. Párosítás beállítása (Maceden)
- Csomagold ki a JitterBugPair ZIP fájlt
- Állíts be jelkódot az iPhone-on (ha még nincs)
- Csatlakoztasd az iPhone-od
- Oldd fel az eszközt és hagyd a kezdőképernyőn
- Futtasd a JitterBugPair parancs fájlt
- A generált párosító fájl neve: "(UDID).mobiledevicepairing"
- Tömörítsd be a párosító fájlt
- Küldd át az iPhone-ra (AirDrop vagy email)
- Az iPhone-on nyisd meg a Fájlok alkalmazást
- Csomagold ki a ZIP fájlt.
### 7. WireGuard VPN beállítása (iPhoneodon)
- Töltsd le a WireGuard VPN alkalmazást az App Store-ból: https://apps.apple.com/us/app/wireguard/id1441195209 [WireGuard App Store link](https://apps.apple.com/us/app/wireguard/id1441195209)
- Telepítsd az alábbi Configuration Fájlt: https://github.com/sidestore/sidestore/releases/download/0.1.1/sidestore.conf Amint ez megvan, nyisd meg a Fájlok alkalmazást, és keresd meg hogy "SideStore.conf". Nyomj rá hosszan és "oszd meg". A Megosztó ablakba ha kell, görgess a "Több/More" gombra, és nyisd meg a WireGuard-al.
- Nyomj az Engedélyezésre mikor azt mondja hogy: "A "WireGuard" VPN konfigurációt szeretne hozzáadni". Megynyitja a Beállításokat. Mikor kéri, írd be a jelkódodat. Ez vissza fog dobni a WireGuardba. Kapcsold be a SideStore-t. (Ez a "VPN" quote-unquote nem egy VPN, csak letiltja az Applenek az oscp-jét. Az OSCP az ami ellenőrzi hogy mit sideloadingolsz. Magyarúl, ez bisztonságos)
### 8. SideStore app beállítása (iPhoneodon)
- Indítsd el a SideStore alkalmazást
- Nyomj az OK gombra
- Válaszd ki a párosító fájlt
- Jelentkezz be az Apple Fiókoddal
### Megjegyzések:
- Ha frissíted az eszközöd, újra kell csinálnod a párosítást
- Új párosító fájl hozzáadásához:
- Menj a SideStore beállításaiba
- Nyomd meg a "Reset Pairing File" gombot
- Add hozzá az új verziót
- Sajnáljuk a komplikált fojamatot. Sajnálatos módon a Testflight vagy az App Storera való kitétel jelenleg nem nagyon egy opció, mivel az Applenek 100 eurós fejelsztői membership vásárlása kötelező.
## Kreditek
- **A Firka csapat**: Az app zöld verziójának fejlesztői
- Discord: [https://discord.gg/6awUPSMFKe](https://discord.gg/6awUPSMFKe)
- GitHub: [https://github.com/QwIT-Development/app-legacy](https://github.com/QwIT-Development/app-legacy)
- **WSF**: A Permanent Signing lehetővé tétele
- X (korábban Twitter): [https://x.com/wsf_team](https://x.com/wsf_team)
- **Spitkov**: A Feather útmutató írója, és a repok készítője/maintainelője.
- Weboldal: [https://spitkov.hu](https://spitkov.hu)
- **TheAppleUser**: Az Esign és SideStore útmutató írója.
- X (korábban Twitter): [https://x.com/TheAppleUser11](https://x.com/TheAppleUser11)

82
refilc/.gitignore vendored
View File

@@ -1,82 +0,0 @@
# Miscellaneous
*.class
*.log
*.pyc
*.swp
.DS_Store
.atom/
.build/
.buildlog/
.history
.svn/
.swiftpm/
migrate_working_dir/
# IntelliJ related
*.iml
*.ipr
*.iws
.idea/
# The .vscode folder contains launch configuration and tasks you configure in
# VS Code which you may wish to be included in version control, so this line
# is commented out by default.
#.vscode/
# Flutter/Dart/Pub related
**/doc/api/
**/ios/Flutter/.last_build_id
.dart_tool/
.flutter-plugins
.flutter-plugins-dependencies
.packages
.pub-cache/
.pub/
/build/
# Symbolication related
app.*.symbols
# Obfuscation related
app.*.map.json
# Android Studio will place build artifacts here
/android/app/debug
/android/app/profile
/android/app/release
.symlinks/
Pods
Podfile.lock
UserInterfaceState.xcuserstate
**/ios/**/*.mode1v3
**/ios/**/*.mode2v3
**/ios/**/*.moved-aside
**/ios/**/*.pbxuser
**/ios/**/*.perspectivev3
**/ios/**/*sync/
**/ios/**/.sconsign.dblite
**/ios/**/.tags*
**/ios/**/.vagrant/
**/ios/**/DerivedData/
**/ios/**/Icon?
**/ios/**/Pods/
**/ios/**/.symlinks/
**/ios/**/profile
**/ios/**/xcuserdata
**/ios/.generated/
**/ios/Flutter/.last_build_id
**/ios/Flutter/App.framework
**/ios/Flutter/Flutter.framework
**/ios/Flutter/Flutter.podspec
**/ios/Flutter/Generated.xcconfig
**/ios/Flutter/ephemeral
**/ios/Flutter/app.flx
**/ios/Flutter/app.zip
**/ios/Flutter/flutter_assets/
**/ios/Flutter/flutter_export_environment.sh
**/ios/ServiceDefinitions.json
**/ios/Runner/GeneratedPluginRegistrant.*
#don't include debugging symbols, bc they get generated on build
debug-info/

View File

@@ -1,3 +1,10 @@
# refilc
# refilc - Fő library
Main lib
### A következőket tartalmazza:
- Android és iPhone építéshez szükséges mappák
- az app forrásai (képek, ikonok, egyebek)
- téma rendszer kódja
- lokális db (sqlite) kezelő kódja
- reklámok, analítika és egyéb finomságok kódjai
- értesítés rendszer kódja
- kisebb része a kréta bejelentkezésnek

View File

@@ -1,2 +0,0 @@
key.properties
debugkey.properties

View File

@@ -1 +0,0 @@
*.jks

View File

@@ -79,6 +79,7 @@ android {
versionName flutterVersionName
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
multiDexEnabled true
resConfigs "en"
}
compileOptions {
@@ -127,7 +128,9 @@ android {
renderscriptDebuggable false
pseudoLocalesEnabled false
zipAlignEnabled true
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
crunchPngs true
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'),
'proguard-rules.pro'
}
}
@@ -146,7 +149,7 @@ dependencies {
implementation 'joda-time:joda-time:2.9.4'
androidTestImplementation 'androidx.test:runner:1.1.1'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.1'
coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:2.0.3'
coreLibraryDesugaring 'com.android.tools:desugar_jdk_libs:2.1.4'
implementation 'androidx.window:window:1.0.0'
implementation 'androidx.window:window-java:1.0.0'
}

View File

@@ -56,112 +56,6 @@
</activity>
<meta-data android:name="flutterEmbedding" android:value="2" />
<!-- custom app icon thingies from here -->
<!-- <activity-alias
android:label="reFilc"
android:icon="@mipmap/ic_launcher"
android:roundIcon="@mipmap/ic_launcher_new"
android:name="app.firka.legacy.icon_new"
android:exported="true"
android:enabled="false"
android:targetActivity="app.firka.legacy.MainActivity">
<meta-data
android:name="io.flutter.embedding.android.NormalTheme"
android:resource="@style/NormalTheme"
/>
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity-alias> -->
<!-- <activity-alias
android:label="reFilc"
android:icon="@mipmap/ic_launcher"
android:roundIcon="@mipmap/ic_launcher_2"
android:name=".icon_2"
android:exported="true"
android:enabled="false"
android:targetActivity=".MainActivity">
<meta-data
android:name="io.flutter.embedding.android.NormalTheme"
android:resource="@style/NormalTheme"
/>
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity-alias> -->
<!-- <activity-alias
android:label="reFilc"
android:icon="@mipmap/ic_launcher"
android:name=".MainActivityAlias"
android:enabled="true"
android:exported="true"
android:targetActivity=".MainActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity-alias>
<activity-alias
android:label="reFilc"
android:icon="@mipmap/ic_launcher"
android:name=".MainActivityAliasrefilc_default"
android:enabled="false"
android:exported="true"
android:targetActivity=".MainActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity-alias>
<activity-alias
android:label="reFilc"
android:icon="@mipmap/ic_launcher"
android:name=".MainActivityAliasrefilc_overcomplicated"
android:enabled="false"
android:exported="true"
android:targetActivity=".MainActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity-alias>
<activity-alias
android:label="reFilc"
android:icon="@mipmap/ic_launcher"
android:name=".MainActivityAliasrefilc_concept"
android:enabled="false"
android:exported="true"
android:targetActivity=".MainActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity-alias>
<activity-alias
android:label="reFilc"
android:icon="@mipmap/ic_launcher"
android:name=".MainActivityAliasrefilc_pride"
android:enabled="false"
android:exported="true"
android:targetActivity=".MainActivity">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity-alias> -->
<!-- end of custom app icon thingies -->
<receiver android:name="app.firka.legacy.widget_timetable.WidgetTimetable"
android:exported="true">
<intent-filter>

View File

@@ -1,4 +1,5 @@
org.gradle.jvmargs=-Xmx6G -XX:MaxMetaspaceSize=4G -XX:+HeapDumpOnOutOfMemoryError
org.gradle.jvmargs=-Xmx6G -XX:MaxMetaspaceSize=4G -XX:+HeapDumpOnOutOfMemoryError -XX:+UseParallelGC
android.useAndroidX=true
android.enableJetifier=true
org.gradle.parallel=true
# kotlin.jvm.target.validation.mode=IGNORE

Binary file not shown.

Before

Width:  |  Height:  |  Size: 754 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 9.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 35 KiB

View File

@@ -1,3 +0,0 @@
<svg width="21" height="20" viewBox="0 0 21 20" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M10.5 0.138916C9.18678 0.138916 7.88642 0.397574 6.67317 0.900121C5.45991 1.40267 4.35752 2.13926 3.42893 3.06785C1.55357 4.94321 0.5 7.48675 0.5 10.1389C0.5 14.5589 3.37 18.3089 7.34 19.6389C7.84 19.7189 8 19.4089 8 19.1389V17.4489C5.23 18.0489 4.64 16.1089 4.64 16.1089C4.18 14.9489 3.53 14.6389 3.53 14.6389C2.62 14.0189 3.6 14.0389 3.6 14.0389C4.6 14.1089 5.13 15.0689 5.13 15.0689C6 16.5889 7.47 16.1389 8.04 15.8989C8.13 15.2489 8.39 14.8089 8.67 14.5589C6.45 14.3089 4.12 13.4489 4.12 9.63892C4.12 8.52892 4.5 7.63892 5.15 6.92892C5.05 6.67892 4.7 5.63892 5.25 4.28892C5.25 4.28892 6.09 4.01892 8 5.30892C8.79 5.08892 9.65 4.97892 10.5 4.97892C11.35 4.97892 12.21 5.08892 13 5.30892C14.91 4.01892 15.75 4.28892 15.75 4.28892C16.3 5.63892 15.95 6.67892 15.85 6.92892C16.5 7.63892 16.88 8.52892 16.88 9.63892C16.88 13.4589 14.54 14.2989 12.31 14.5489C12.67 14.8589 13 15.4689 13 16.3989V19.1389C13 19.4089 13.16 19.7289 13.67 19.6389C17.64 18.2989 20.5 14.5589 20.5 10.1389C20.5 8.8257 20.2413 7.52534 19.7388 6.31208C19.2362 5.09883 18.4997 3.99643 17.5711 3.06785C16.6425 2.13926 15.5401 1.40267 14.3268 0.900121C13.1136 0.397574 11.8132 0.138916 10.5 0.138916Z" fill="#243F76"/>
</svg>

Before

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 30 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.7 KiB

View File

@@ -1,3 +0,0 @@
<svg width="19" height="13" viewBox="0 0 19 13" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M15.8333 11.375C16.7042 11.375 17.4088 10.6438 17.4088 9.75L17.4167 1.625C17.4167 0.73125 16.7042 0 15.8333 0H3.16667C2.29583 0 1.58333 0.73125 1.58333 1.625V9.75C1.58333 10.6438 2.29583 11.375 3.16667 11.375H0V13H19V11.375H15.8333ZM3.16667 1.625H15.8333V9.75H3.16667V1.625Z" fill="white"/>
</svg>

Before

Width:  |  Height:  |  Size: 403 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.3 KiB

View File

@@ -1,3 +0,0 @@
<svg width="23" height="22" viewBox="0 0 23 22" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M11.5 0C9.9898 0 8.49438 0.291587 7.09914 0.858113C5.7039 1.42464 4.43615 2.25501 3.36827 3.30181C1.2116 5.41593 0 8.28329 0 11.2731C0 16.2558 3.3005 20.4832 7.866 21.9825C8.441 22.0727 8.625 21.7233 8.625 21.4189V19.5137C5.4395 20.1901 4.761 18.0031 4.761 18.0031C4.232 16.6955 3.4845 16.346 3.4845 16.346C2.438 15.6471 3.565 15.6696 3.565 15.6696C4.715 15.7485 5.3245 16.8307 5.3245 16.8307C6.325 18.5442 8.0155 18.037 8.671 17.7664C8.7745 17.0336 9.0735 16.5376 9.3955 16.2558C6.8425 15.974 4.163 15.0045 4.163 10.7094C4.163 9.45813 4.6 8.45482 5.3475 7.65443C5.2325 7.37261 4.83 6.2002 5.4625 4.67834C5.4625 4.67834 6.4285 4.37396 8.625 5.82819C9.5335 5.58018 10.5225 5.45618 11.5 5.45618C12.4775 5.45618 13.4665 5.58018 14.375 5.82819C16.5715 4.37396 17.5375 4.67834 17.5375 4.67834C18.17 6.2002 17.7675 7.37261 17.6525 7.65443C18.4 8.45482 18.837 9.45813 18.837 10.7094C18.837 15.0158 16.146 15.9627 13.5815 16.2445C13.9955 16.594 14.375 17.2817 14.375 18.3301V21.4189C14.375 21.7233 14.559 22.084 15.1455 21.9825C19.711 20.4719 23 16.2558 23 11.2731C23 9.79269 22.7025 8.32678 22.1246 6.95907C21.5467 5.59135 20.6996 4.34862 19.6317 3.30181C18.5639 2.25501 17.2961 1.42464 15.9009 0.858113C14.5056 0.291587 13.0102 0 11.5 0Z" fill="white"/>
</svg>

Before

Width:  |  Height:  |  Size: 1.3 KiB

View File

@@ -1,3 +0,0 @@
<svg width="16" height="19" viewBox="0 0 16 19" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M1.33331 0C0.979692 0 0.64056 0.142984 0.390517 0.397498C0.140473 0.652012 0 0.997206 0 1.35714V19H2.66661V1.35714C2.66661 0.997206 2.52614 0.652012 2.2761 0.397498C2.02605 0.142984 1.68692 0 1.33331 0ZM15.7504 7.50229L3.33327 12.6187V1.63129L15.7504 6.74704C15.8241 6.77749 15.8873 6.82967 15.9318 6.89688C15.9762 6.96409 16 7.04329 16 7.12432C16 7.20536 15.9762 7.28455 15.9318 7.35176C15.8873 7.41897 15.8241 7.47115 15.7504 7.50161V7.50229Z" fill="white"/>
</svg>

Before

Width:  |  Height:  |  Size: 573 B

View File

@@ -1,3 +0,0 @@
<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M9.61217 0.411889C9.48161 0.281306 9.32661 0.17772 9.15602 0.107047C8.98543 0.0363749 8.80259 0 8.61794 0C8.43329 0 8.25045 0.0363749 8.07986 0.107047C7.90927 0.17772 7.75427 0.281306 7.62372 0.411889L5.96753 2.06861C5.6922 2.34397 5.50939 2.69821 5.44447 3.08217C5.37956 3.46613 5.43576 3.86077 5.60527 4.21134L3.03383 5.49501C2.68443 5.66957 2.37523 5.91499 2.12591 6.21564C1.87658 6.51629 1.69262 6.86558 1.58572 7.24125L0.0392041 12.6857C-0.0109899 12.8626 -0.0130219 13.0497 0.0333182 13.2277C0.0796583 13.4057 0.172689 13.568 0.302791 13.698C0.432894 13.828 0.595347 13.9208 0.773354 13.967C0.951362 14.0131 1.13846 14.0109 1.31532 13.9605L6.75673 12.4115C7.1321 12.3047 7.48112 12.1209 7.78159 11.8718C8.08205 11.6228 8.32738 11.3139 8.50195 10.9648L9.78603 8.39323C10.1367 8.56347 10.5317 8.62033 10.9161 8.55592C11.3006 8.4915 11.6554 8.30901 11.9315 8.03376L13.5881 6.37704C13.7187 6.24648 13.8223 6.09147 13.893 5.92087C13.9636 5.75028 14 5.56743 14 5.38277C14 5.19811 13.9636 5.01526 13.893 4.84466C13.8223 4.67407 13.7187 4.51906 13.5881 4.3885L9.6117 0.411889H9.61217ZM8.28638 1.07458C8.3299 1.031 8.38159 0.996437 8.43848 0.972851C8.49537 0.949266 8.55635 0.937127 8.61794 0.937127C8.67953 0.937127 8.74051 0.949266 8.7974 0.972851C8.85429 0.996437 8.90598 1.031 8.9495 1.07458L12.9259 5.05119C13.0138 5.13908 13.0631 5.25826 13.0631 5.38253C13.0631 5.50681 13.0138 5.62599 12.9259 5.71388L11.2688 7.37107L6.62926 2.73131L8.28638 1.07458ZM6.62972 4.71984L9.27756 7.36779C9.24199 7.40344 9.2124 7.44458 9.18992 7.48965L7.66402 10.5453C7.54772 10.7781 7.38424 10.9841 7.18398 11.1502C6.98373 11.3164 6.75108 11.439 6.50085 11.5103L1.82145 12.8418L4.69798 9.96513C4.99727 10.1077 5.3373 10.14 5.65807 10.0562C5.97883 9.97251 6.25971 9.77815 6.45112 9.50747C6.64253 9.23679 6.73218 8.90719 6.70424 8.57684C6.67629 8.24649 6.53256 7.93663 6.29839 7.70195C6.064 7.46672 5.75392 7.32205 5.42307 7.29357C5.09223 7.26509 4.76198 7.35464 4.49084 7.54635C4.2197 7.73807 4.02516 8.01958 3.9417 8.341C3.85824 8.66242 3.89124 9.00301 4.03485 9.30244L1.15739 12.18L2.48833 7.49714C2.55947 7.24677 2.68196 7.01396 2.84801 6.81353C3.01406 6.6131 3.22003 6.44944 3.4528 6.33298L6.50788 4.80748C6.55297 4.78487 6.59412 4.75512 6.62972 4.71938V4.71984Z" fill="black"/>
</svg>

Before

Width:  |  Height:  |  Size: 2.3 KiB

View File

@@ -1,3 +0,0 @@
<svg width="18" height="19" viewBox="0 0 18 19" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M9.97258 0H8.02016C7.50351 0.000653543 6.99296 0.11297 6.52264 0.329438C6.05233 0.545906 5.63309 0.861535 5.29297 1.25522C4.95286 1.6489 4.6997 2.11155 4.55043 2.61225C4.40116 3.11294 4.35922 3.64013 4.42742 4.15855L4.48403 5.04316C4.12638 5.10009 3.80265 5.29026 3.57636 5.57636C3.35008 5.86247 3.23758 6.22384 3.26094 6.58958C3.2843 6.95531 3.44183 7.29901 3.70263 7.55324C3.96342 7.80746 4.30864 7.95385 4.67056 7.96369L4.75403 9.25754C4.84634 9.95556 5.1451 10.609 5.61106 11.1319C6.07701 11.6549 6.68836 12.0229 7.36476 12.1876C5.58243 12.5072 3.92957 13.3421 2.60565 14.5916V14.5843C1.42818 15.6953 0.553297 17.0946 0.0653227 18.6473V18.7282C0.0392656 18.8052 0.0174577 18.8837 0 18.9633L2.60347 18.9927L2.60492 19H15.3936L15.3958 18.9927L18 18.9633L17.984 18.9199C17.9565 18.8595 17.9398 18.7945 17.9347 18.7282V18.6473C17.444 17.0959 16.5696 15.6972 15.3944 14.5843V14.5916C14.0712 13.3434 12.4197 12.509 10.6389 12.1891C11.3162 12.025 11.9285 11.6571 12.3952 11.1338C12.8619 10.6105 13.161 9.95634 13.2532 9.25754L13.3323 7.96148C13.6852 7.93871 14.0176 7.78639 14.2674 7.53309C14.5171 7.27979 14.667 6.94293 14.6888 6.58573C14.7107 6.22853 14.603 5.87554 14.3859 5.59302C14.1689 5.31049 13.8575 5.11785 13.5102 5.05124L13.5653 4.15855C13.6336 3.64011 13.5918 3.11287 13.4426 2.61213C13.2933 2.11138 13.0402 1.64867 12.7001 1.25497C12.3599 0.861257 11.9406 0.545628 11.4703 0.3292C10.9999 0.112771 10.4893 0.00053424 9.97258 0Z" fill="white"/>
</svg>

Before

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 107 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 881 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 809 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 746 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB

View File

@@ -1,3 +0,0 @@
<svg width="19" height="19" viewBox="0 0 19 19" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M3.16667 0C2.75081 0 2.33903 0.0819083 1.95484 0.241048C1.57064 0.400188 1.22155 0.633443 0.927495 0.927495C0.33363 1.52136 0 2.32681 0 3.16667V15.8333C0 16.6732 0.33363 17.4786 0.927495 18.0725C1.22155 18.3666 1.57064 18.5998 1.95484 18.759C2.33903 18.9181 2.75081 19 3.16667 19H15.8333C16.6732 19 17.4786 18.6664 18.0725 18.0725C18.6664 17.4786 19 16.6732 19 15.8333V3.16667C19 2.75081 18.9181 2.33903 18.759 1.95484C18.5998 1.57064 18.3666 1.22155 18.0725 0.927495C17.7785 0.633443 17.4294 0.400188 17.0452 0.241048C16.661 0.0819083 16.2492 0 15.8333 0H3.16667ZM1.26667 3.16667C1.26667 2.66276 1.46684 2.17948 1.82316 1.82316C2.17948 1.46684 2.66276 1.26667 3.16667 1.26667H15.8333C16.7371 1.26667 17.4927 1.89747 17.6858 2.74233L8.84767 11.6071C8.78933 11.6658 8.71034 11.6993 8.62761 11.7005C8.54487 11.7017 8.46496 11.6704 8.40497 11.6134L7.04457 10.3214C6.78224 10.0725 6.43338 9.93524 6.07172 9.93878C5.71007 9.94233 5.36396 10.0864 5.10657 10.3404L1.26667 14.1297V3.16667ZM1.26793 15.8979L5.84947 11.3582C5.90766 11.3005 5.98598 11.2675 6.06796 11.2663C6.14993 11.2652 6.22917 11.2958 6.289 11.3519L7.65067 12.6299C7.91356 12.8766 8.2618 13.0117 8.62224 13.007C8.98268 13.0023 9.32726 12.858 9.5836 12.6046L17.7333 4.5448V15.8333C17.7333 16.3372 17.5332 16.8205 17.1768 17.1768C16.8205 17.5332 16.3372 17.7333 15.8333 17.7333H3.16667C2.67397 17.7333 2.20056 17.5419 1.84631 17.1994C1.49206 16.857 1.28469 16.3903 1.26793 15.8979Z" fill="white"/>
</svg>

Before

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

View File

@@ -1,3 +0,0 @@
<svg width="20" height="19" viewBox="0 0 20 19" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M19.2777 0.748963C18.8178 0.280979 18.1938 0.0123079 17.5392 0.000412436C16.8846 -0.011483 16.2513 0.234342 15.7749 0.68531L6.27841 9.67238L6.26855 9.67097L4.76926 11.1562C4.65745 11.2668 4.56485 11.3954 4.49532 11.5367C3.90325 11.5167 3.32013 11.6859 2.82983 12.0198C2.30986 12.3226 1.87751 12.7564 1.57544 13.2783C1.27337 13.8002 1.11201 14.3922 1.1073 14.9959C1.11849 15.2442 1.0807 15.4924 0.996102 15.726C0.911504 15.9597 0.781767 16.1742 0.614346 16.3573L0.0587138 16.88L0.0171647 17.1092C-0.0290688 17.3612 0.0188538 17.6216 0.151766 17.8404C0.284678 18.0592 0.49325 18.2212 0.737585 18.2952L2.55378 18.849L2.90589 18.9197C3.76665 19.0771 4.6536 19.0022 5.47605 18.7024C6.29849 18.4027 7.02692 17.889 7.58686 17.2138C7.99108 16.7301 8.22066 16.1254 8.24179 15.498C8.41784 15.4308 8.58404 15.3255 8.7277 15.184L9.28967 14.6267L9.30023 14.6479L19.2953 4.26755C19.7503 3.795 20.0033 3.1624 20 2.50501C19.9967 1.84762 19.7374 1.2169 19.2777 0.748963ZM8.99037 12.9349L7.01151 10.9221L16.7411 1.71436C16.9499 1.51759 17.227 1.41053 17.5132 1.41602C17.7995 1.42151 18.0723 1.53911 18.2735 1.74374C18.4747 1.94836 18.5883 2.22383 18.5901 2.5114C18.592 2.79896 18.4819 3.07586 18.2833 3.28305L8.99037 12.9349ZM3.15941 17.5293L2.92701 17.4861L1.81152 17.1466C2.24317 16.5719 2.48631 15.8767 2.5073 15.1571C2.48871 14.7622 2.58091 14.37 2.77339 14.0252C2.96587 13.6803 3.2509 13.3967 3.59603 13.2065C3.86776 13.0169 4.19727 12.9295 4.52679 12.9595C4.8563 12.9895 5.16478 13.135 5.39813 13.3706L6.42207 14.4025C6.66996 14.6525 6.81583 14.9866 6.83108 15.3391C6.84632 15.6916 6.72983 16.0371 6.50447 16.3078C6.10445 16.7906 5.58401 17.158 4.99631 17.3726C4.40861 17.5872 3.77472 17.6413 3.15941 17.5293Z" fill="white"/>
</svg>

Before

Width:  |  Height:  |  Size: 1.8 KiB

View File

@@ -1,5 +0,0 @@
<svg width="20" height="19" viewBox="0 0 20 19" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M4.58619 1.96552V0.854345C4.58619 0.38131 4.95178 0 5.40516 0C5.85854 0 6.22412 0.38131 6.22412 0.854345V1.96552H4.58619ZM12.7758 11.269C12.7758 11.1473 12.8242 11.0307 12.9102 10.9447C12.9962 10.8587 13.1128 10.8103 13.2345 10.8103H14.9379C15.0595 10.8103 15.1762 10.8587 15.2622 10.9447C15.3482 11.0307 15.3965 11.1473 15.3965 11.269V12.9724C15.3965 13.094 15.3482 13.2107 15.2622 13.2967C15.1762 13.3827 15.0595 13.431 14.9379 13.431H13.2345C13.1128 13.431 12.9962 13.3827 12.9102 13.2967C12.8242 13.2107 12.7758 13.094 12.7758 12.9724V11.269ZM4.25861 7.9931C4.25861 7.87147 4.30692 7.75482 4.39293 7.66881C4.47894 7.5828 4.59559 7.53448 4.71723 7.53448H6.42068C6.54231 7.53448 6.65896 7.5828 6.74497 7.66881C6.83098 7.75482 6.8793 7.87147 6.8793 7.9931V9.69655C6.8793 9.81818 6.83098 9.93484 6.74497 10.0208C6.65896 10.1069 6.54231 10.1552 6.42068 10.1552H4.71723C4.59559 10.1552 4.47894 10.1069 4.39293 10.0208C4.30692 9.93484 4.25861 9.81818 4.25861 9.69655V7.9931ZM4.91378 8.18966V9.5H6.22412V8.18966H4.91378ZM8.51723 7.9931C8.51723 7.87147 8.56555 7.75482 8.65155 7.66881C8.73756 7.5828 8.85421 7.53448 8.97585 7.53448H10.6793C10.8009 7.53448 10.9176 7.5828 11.0036 7.66881C11.0896 7.75482 11.1379 7.87147 11.1379 7.9931V9.69655C11.1379 9.81818 11.0896 9.93484 11.0036 10.0208C10.9176 10.1069 10.8009 10.1552 10.6793 10.1552H8.97585C8.85421 10.1552 8.73756 10.1069 8.65155 10.0208C8.56555 9.93484 8.51723 9.81818 8.51723 9.69655V7.9931ZM9.1724 8.18966V9.5H10.4827V8.18966H9.1724ZM12.7758 7.9931C12.7758 7.87147 12.8242 7.75482 12.9102 7.66881C12.9962 7.5828 13.1128 7.53448 13.2345 7.53448H14.9379C15.0595 7.53448 15.1762 7.5828 15.2622 7.66881C15.3482 7.75482 15.3965 7.87147 15.3965 7.9931V9.69655C15.3965 9.81818 15.3482 9.93484 15.2622 10.0208C15.1762 10.1069 15.0595 10.1552 14.9379 10.1552H13.2345C13.1128 10.1552 12.9962 10.1069 12.9102 10.0208C12.8242 9.93484 12.7758 9.81818 12.7758 9.69655V7.9931ZM13.431 8.18966V9.5H14.7414V8.18966H13.431ZM4.25861 11.269C4.25861 11.1473 4.30692 11.0307 4.39293 10.9447C4.47894 10.8587 4.59559 10.8103 4.71723 10.8103H6.42068C6.54231 10.8103 6.65896 10.8587 6.74497 10.9447C6.83098 11.0307 6.8793 11.1473 6.8793 11.269V12.9724C6.8793 13.094 6.83098 13.2107 6.74497 13.2967C6.65896 13.3827 6.54231 13.431 6.42068 13.431H4.71723C4.59559 13.431 4.47894 13.3827 4.39293 13.2967C4.30692 13.2107 4.25861 13.094 4.25861 12.9724V11.269ZM4.91378 11.4655V12.7759H6.22412V11.4655H4.91378ZM8.51723 11.269C8.51723 11.1473 8.56555 11.0307 8.65155 10.9447C8.73756 10.8587 8.85421 10.8103 8.97585 10.8103H10.6793C10.8009 10.8103 10.9176 10.8587 11.0036 10.9447C11.0896 11.0307 11.1379 11.1473 11.1379 11.269V12.9724C11.1379 13.094 11.0896 13.2107 11.0036 13.2967C10.9176 13.3827 10.8009 13.431 10.6793 13.431H8.97585C8.85421 13.431 8.73756 13.3827 8.65155 13.2967C8.56555 13.2107 8.51723 13.094 8.51723 12.9724V11.269ZM9.1724 11.4655V12.7759H10.4827V11.4655H9.1724ZM4.25861 14.5448C4.25861 14.4232 4.30692 14.3065 4.39293 14.2205C4.47894 14.1345 4.59559 14.0862 4.71723 14.0862H6.42068C6.54231 14.0862 6.65896 14.1345 6.74497 14.2205C6.83098 14.3065 6.8793 14.4232 6.8793 14.5448V16.2483C6.8793 16.3699 6.83098 16.4866 6.74497 16.5726C6.65896 16.6586 6.54231 16.7069 6.42068 16.7069H4.71723C4.59559 16.7069 4.47894 16.6586 4.39293 16.5726C4.30692 16.4866 4.25861 16.3699 4.25861 16.2483V14.5448ZM4.91378 14.7414V16.0517H6.22412V14.7414H4.91378ZM8.51723 14.5448C8.51723 14.4232 8.56555 14.3065 8.65155 14.2205C8.73756 14.1345 8.85421 14.0862 8.97585 14.0862H10.6793C10.8009 14.0862 10.9176 14.1345 11.0036 14.2205C11.0896 14.3065 11.1379 14.4232 11.1379 14.5448V16.2483C11.1379 16.3699 11.0896 16.4866 11.0036 16.5726C10.9176 16.6586 10.8009 16.7069 10.6793 16.7069H8.97585C8.85421 16.7069 8.73756 16.6586 8.65155 16.5726C8.56555 16.4866 8.51723 16.3699 8.51723 16.2483V14.5448ZM9.1724 14.7414V16.0517H10.4827V14.7414H9.1724Z" fill="white"/>
<path d="M4.58621 3.07672C4.58621 3.54975 4.95179 3.93106 5.40517 3.93106C5.85855 3.93106 6.22414 3.54975 6.22414 3.07672V1.96554H13.431V3.07672C13.431 3.54975 13.7966 3.93106 14.25 3.93106C14.7034 3.93106 15.069 3.54975 15.069 3.07672V1.96554H17.1924C18.5486 1.96554 19.6552 3.07344 19.6552 4.44537V15.8814C19.6552 17.598 18.2629 19 16.5372 19H3.11862C2.29194 18.9986 1.49951 18.6696 0.914954 18.0851C0.330399 17.5005 0.00138589 16.7081 0 15.8814V4.44537C0 3.07344 1.10724 1.95899 2.46279 1.96554H4.58621V3.07672ZM1.31034 5.89658V15.8814C1.31173 16.3605 1.5026 16.8195 1.84127 17.1583C2.17995 17.4971 2.63892 17.6881 3.11797 17.6897H14.0928V16.7069H13.2345C13.1128 16.7069 12.9962 16.6586 12.9102 16.5726C12.8242 16.4866 12.7759 16.3699 12.7759 16.2483V14.5449C12.7759 14.4232 12.8242 14.3066 12.9102 14.2206C12.9962 14.1346 13.1128 14.0862 13.2345 14.0862H14.9379C14.9823 14.0862 15.0264 14.0926 15.069 14.1052C15.5735 13.6702 16.2176 13.4309 16.8838 13.4311H18.3448V5.89658H1.31034ZM14.1 16.017C14.1331 15.5639 14.2771 15.1258 14.5193 14.7414H13.431V16.0518H14.098L14.1 16.017ZM14.7479 17.5541L18.2158 14.0862H16.8838C16.3179 14.088 15.7756 14.3135 15.3754 14.7137C14.9752 15.1139 14.7497 15.6562 14.7479 16.2221V17.5541Z" fill="white"/>
<path d="M13.431 0.854345V1.96552H15.069V0.854345C15.069 0.38131 14.7034 0 14.25 0C13.7966 0 13.431 0.38131 13.431 0.854345Z" fill="white"/>
</svg>

Before

Width:  |  Height:  |  Size: 5.2 KiB

View File

@@ -1,3 +0,0 @@
<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M6.63347 1.46773e-08C4.17718 1.46773e-08 2.15934 1.9315 1.9387 4.3981C1.66876 4.46542 1.43013 4.6275 1.26399 4.85636C1.09784 5.08522 1.01461 5.36652 1.02863 5.65173C1.04265 5.93694 1.15306 6.20817 1.34081 6.41864C1.52855 6.62911 1.78186 6.76561 2.05704 6.8046C2.099 6.97812 2.14991 7.14776 2.20932 7.31353L2.18622 7.30965C2.06688 7.28651 1.94628 7.27097 1.82508 7.26312H1.80057C1.49035 7.27282 1.31025 7.5234 1.25273 7.72988C1.19144 7.94993 1.22916 8.18792 1.32062 8.41621L1.35834 8.51024L0.640782 8.70217L0.637482 8.70314C0.400811 8.76809 0.0575906 8.92126 0.0057304 9.32016C-0.0140708 9.47187 0.0222314 9.60128 0.0420326 9.66381C0.0514617 9.69483 0.0627766 9.72536 0.0703199 9.7462L0.0722057 9.75153L0.0882353 9.79855C0.166497 10.0603 0.331035 10.3206 0.519618 10.5489C0.897617 11.0007 1.36672 11.3626 1.89439 11.6094L1.64357 11.8372C1.5589 11.9114 1.4921 12.0048 1.44839 12.11C1.39862 12.2346 1.38969 12.3724 1.42293 12.5027C1.44839 12.6054 1.49506 12.6868 1.52335 12.7338C1.54456 12.7687 1.57191 12.8099 1.59265 12.841L1.60963 12.8662C1.78642 13.1347 2.09805 13.3901 2.46155 13.5855C2.83447 13.7866 3.30074 13.9451 3.81934 13.9882C4.816 14.0716 5.96164 13.7241 6.96066 12.5419C7.96014 13.7246 9.10578 14.0716 10.102 13.9882C10.5761 13.9484 11.0377 13.8116 11.4598 13.5859C11.8233 13.3901 12.1349 13.1347 12.3117 12.8662L12.3287 12.841C12.3494 12.8099 12.3772 12.7683 12.398 12.7338C12.4428 12.6625 12.4766 12.5845 12.4984 12.5027C12.5316 12.3724 12.5227 12.2346 12.4729 12.11C12.4293 12.0051 12.3627 11.9118 12.2782 11.8377L12.0529 11.6326C12.6017 11.386 13.0896 11.0156 13.4804 10.5489C13.669 10.3206 13.8335 10.0603 13.9118 9.79855L13.9278 9.75153L13.9297 9.7462C13.9373 9.72536 13.9481 9.69483 13.958 9.66381C13.9773 9.60079 14.0141 9.47187 13.9943 9.32016C13.9425 8.92126 13.5992 8.76809 13.3626 8.70314L13.3593 8.70217L12.6412 8.51024L12.679 8.41621C12.7704 8.1884 12.8086 7.94993 12.7473 7.72988C12.6898 7.5234 12.5092 7.27282 12.199 7.26312H12.1754C12.0584 7.27055 11.9418 7.28544 11.8266 7.30771C11.8893 7.13128 11.9425 6.95001 11.9859 6.76486C12.2221 6.69215 12.4306 6.54602 12.5828 6.34656C12.735 6.14709 12.8233 5.90408 12.8357 5.6509C12.8481 5.39773 12.784 5.14681 12.6521 4.93264C12.5202 4.71847 12.327 4.55155 12.0991 4.45481C12.0032 3.24113 11.4666 2.10899 10.5958 1.28357C9.72506 0.45814 8.584 -9.46918e-05 7.39958 1.46773e-08H6.63347ZM11.1538 4.46984C10.9539 4.56225 10.7825 4.70948 10.6586 4.89538C10.5347 5.08128 10.4629 5.29868 10.4513 5.52373C10.4396 5.74877 10.4884 5.97279 10.5923 6.1712C10.6963 6.36961 10.8514 6.53476 11.0406 6.64853C10.8238 7.47062 10.3497 8.19645 9.69163 8.71399C9.03357 9.23153 8.22811 9.512 7.39958 9.5121H6.63347C5.78749 9.51203 4.96607 9.21968 4.30113 8.68199C3.63619 8.1443 3.16631 7.39247 2.96695 6.54723C3.11456 6.42609 3.23205 6.27062 3.30974 6.09363C3.38744 5.91665 3.4231 5.72321 3.4138 5.52927C3.4045 5.33533 3.3505 5.14644 3.25625 4.97817C3.162 4.8099 3.0302 4.66707 2.87171 4.56144C2.94183 3.58507 3.3686 2.67211 4.06635 2.00583C4.7641 1.33956 5.68117 0.969298 6.63347 0.969386H7.39958C8.33646 0.969275 9.23984 1.32765 9.93382 1.97471C10.6278 2.62178 11.0627 3.51122 11.1538 4.46984ZM10.7799 9.01335L12.9755 9.60128C12.935 9.68513 12.8661 9.79516 12.7615 9.92118C12.62 10.0928 12.4343 10.2702 12.224 10.4253C11.8718 10.6851 11.5107 10.8421 11.2113 10.8697C10.7876 10.485 10.3623 10.1021 9.93555 9.721C10.2425 9.51928 10.5259 9.28183 10.7799 9.01335ZM9.06665 10.1698C9.09494 10.2357 9.13784 10.2963 9.19536 10.3458C9.45466 10.5692 10.7201 11.716 11.4706 12.3975C11.3857 12.4896 11.2377 12.6107 11.0227 12.7271C10.7127 12.8925 10.3737 12.9928 10.0256 13.0222C9.28729 13.0838 8.36324 12.8293 7.51273 11.7058L7.5099 11.7024C7.4802 11.6636 7.41467 11.5764 7.32509 11.5105C7.21945 11.4319 7.09092 11.3925 6.96066 11.399C6.83039 11.3925 6.70186 11.4319 6.59622 11.5105C6.50664 11.5764 6.44064 11.6636 6.41141 11.7024L6.40905 11.7058C5.55807 12.8293 4.63402 13.0838 3.89619 13.0222C3.54787 12.9927 3.20875 12.8922 2.89859 12.7266C2.6836 12.6112 2.53557 12.4891 2.4507 12.3975L3.07303 11.8328C3.09377 11.8304 3.11499 11.828 3.13573 11.8246L3.1296 11.7809C3.65861 11.2991 4.19074 10.8208 4.72595 10.3463C4.7922 10.2895 4.84195 10.215 4.86975 10.131C5.43028 10.3633 6.02912 10.4823 6.63347 10.4815H7.39958C7.96904 10.4822 8.53389 10.3766 9.06665 10.1698ZM4.03338 9.67835C3.78775 9.895 3.25265 10.3778 2.71896 10.861C2.43373 10.8179 2.10041 10.6657 1.77511 10.4248C1.57712 10.2796 1.39669 10.1108 1.23765 9.92166C1.15436 9.82394 1.08267 9.71639 1.02408 9.60128L3.24605 9.00559C3.48319 9.25763 3.74721 9.4835 4.03338 9.67786V9.67835ZM2.31822 12.2123L2.31917 12.2147C2.31883 12.2139 2.31852 12.2131 2.31822 12.2123ZM11.6021 12.2123L11.6012 12.2147C11.6015 12.2139 11.6019 12.2131 11.6021 12.2123Z" fill="black"/>
</svg>

Before

Width:  |  Height:  |  Size: 4.8 KiB

View File

@@ -1,3 +0,0 @@
<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M13.65 11.3L8 5.65L13.65 0L19.3 5.65L13.65 11.3ZM0 9.3V1.3H8V9.3H0ZM10 19.3V11.3H18V19.3H10ZM0 19.3V11.3H8V19.3H0Z" fill="white"/>
</svg>

Before

Width:  |  Height:  |  Size: 243 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 64 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 658 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 491 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 27 KiB

View File

@@ -1,3 +0,0 @@
<svg width="175" height="143" viewBox="0 0 175 143" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M58.6279 8.50342C63.5741 1.80392 72.1643 -1.11416 80.1678 1.18628L108.18 9.23764C111.12 10.0829 113.827 11.5937 116.09 13.6533L134.423 30.3401C135.735 31.5341 137.2 32.5476 138.78 33.3538L159.824 44.0909C165.265 46.8673 169.133 51.9857 170.317 57.9784L174.124 77.2307C175.596 84.6768 172.711 92.3127 166.683 96.9251L148.71 110.677C142.481 115.443 134.037 116.113 127.134 112.389L98.1062 96.7277C96.736 95.9884 95.0278 96.4245 94.1796 97.7301L70.6624 133.932C65.2781 142.22 54.6331 145.31 45.6475 141.194L14.1989 126.786C8.24811 124.06 4.01525 118.586 2.87439 112.14L0.351015 97.8846C-0.601369 92.5041 0.697013 86.9686 3.94249 82.5727L58.6279 8.50342ZM104.166 81.5541C103.277 83.007 103.779 84.9079 105.27 85.7315L125.537 96.9271C127.617 98.0765 130.142 96.4555 129.963 94.0853L128.805 78.7326C128.731 77.7532 128.181 76.8727 127.333 76.3769L115.135 69.2432C113.73 68.4215 111.925 68.8749 111.076 70.2634L104.166 81.5541ZM122.143 54.0188C121.216 55.4172 121.621 57.3044 123.04 58.1993L132.708 64.2965C133.808 64.99 135.23 64.8933 136.226 64.0571L146.988 55.0189C148.601 53.6647 148.345 51.1122 146.496 50.1045L132.92 42.7055C131.558 41.9632 129.854 42.3859 128.997 43.6788L122.143 54.0188ZM118.622 35.9428C119.457 34.6691 119.201 32.9708 118.028 31.9997L114.434 29.0269C113.078 27.9044 111.05 28.1918 110.058 29.6469L56.5483 108.177C56.0282 108.941 55.8901 109.902 56.1742 110.781L58.6649 118.484C59.4373 120.873 62.6323 121.304 64.0094 119.204L118.622 35.9428ZM41.7446 125.003C44.1099 126.086 46.6347 123.84 45.8344 121.365L43.667 114.661C43.3951 113.82 42.765 113.143 41.9459 112.81L19.3166 103.633C17.1383 102.75 14.8395 104.61 15.2492 106.925L16.1201 111.845C16.2912 112.811 16.9261 113.632 17.8187 114.041L41.7446 125.003ZM18.3615 85.0889C17.202 86.6593 17.8341 88.9014 19.643 89.635L43.7741 99.4214C45.0782 99.9503 46.5745 99.4981 47.3675 98.3356L98.3265 23.6234C99.4873 21.9215 98.6193 19.5831 96.6292 19.0508L73.9521 12.9851C72.7649 12.6676 71.5043 13.1088 70.7744 14.0975L18.3615 85.0889ZM159.482 68.6611C159.158 66.4154 156.549 65.3343 154.732 66.6932L143.074 75.4115C142.256 76.0236 141.807 77.0114 141.884 78.0306L142.994 92.7426C143.173 95.1098 145.906 96.3345 147.792 94.8919L160.332 85.2964C161.192 84.6386 161.629 83.5674 161.475 82.4959L159.482 68.6611Z" fill="white"/>
</svg>

Before

Width:  |  Height:  |  Size: 2.4 KiB

View File

@@ -1,3 +0,0 @@
<svg width="153" height="152" viewBox="0 0 153 152" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M135.948 69.8556C136.119 70.2769 136.301 70.6946 136.492 71.1084C137.04 72.2934 137.667 73.4461 138.373 74.5578L143.92 71.0374L138.373 74.5578L143.104 82.013C148.056 89.8157 145.674 100.2 137.992 104.977L130.552 109.605C124.701 113.243 120.322 118.848 118.156 125.412L115.38 133.826C112.479 142.617 103.136 147.086 94.7918 143.994L86.5986 140.957C80.1391 138.563 73.0524 138.563 66.5929 140.957L58.3998 143.994C50.0555 147.086 40.7127 142.617 37.8118 133.826L35.0356 125.412C32.8696 118.848 28.491 113.243 22.6398 109.605L15.1992 104.977C7.51741 100.2 5.13523 89.8157 10.0871 82.013L4.60189 78.5318L10.0871 82.013L14.8185 74.5578C18.5179 68.7287 20.0731 61.7742 19.2276 54.9121L18.1426 46.1056C17.0009 36.8397 23.5842 28.6323 32.4318 27.732L41.108 26.8492C44.1066 26.5441 47.0149 25.772 49.7377 24.5813C53.2301 23.054 56.4152 20.8389 59.0975 18.0391L65.185 11.6849L60.4408 7.1398L65.185 11.6849C71.4541 5.14109 81.7374 5.14109 88.0065 11.6849L92.642 7.2439L88.0065 11.6849L94.0941 18.0391C98.8682 23.0224 105.235 26.1523 112.084 26.8492L120.76 27.732C129.607 28.6323 136.191 36.8397 135.049 46.1056L133.964 54.9121C133.336 60.0107 134.033 65.1577 135.948 69.8556ZM135.948 69.8556L142.032 67.376M135.948 69.8556C135.948 69.8556 135.948 69.8557 135.948 69.8557L142.032 67.376M142.032 67.376C142.166 67.7042 142.307 68.0297 142.456 68.352L98.8383 13.4941C102.543 17.3613 107.468 19.7756 112.749 20.3129L121.425 21.1958C134.046 22.4801 143.148 34.098 141.57 46.909L140.485 55.7155C139.994 59.6964 140.539 63.7135 142.032 67.376Z" stroke="white" stroke-width="13.14"/>
</svg>

Before

Width:  |  Height:  |  Size: 1.6 KiB

View File

@@ -1,7 +1,19 @@
#!/bin/sh
flutter clean
dart pub get
flutter doctor -v
# Firka legacy (formely "refilc"), the unofficial client for e-Kréta
# Copyright (C) 2025 Firka team (QwIT development)
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
flutter build ipa --release --dart-define=APPVER=$(cat pubspec.yaml | grep version: | cut -d' ' -f2 | cut -d+ -f1) --tree-shake-icons
flutter build ipa --release --tree-shake-icons --split-debug-info=debug-info --obfuscate --no-codesign

View File

@@ -1 +1,19 @@
@echo off
' Firka legacy (formely "refilc"), the unofficial client for e-Kréta
' Copyright (C) 2025 Firka team (QwIT development)
'
' This program is free software: you can redistribute it and/or modify
' it under the terms of the GNU Affero General Public License as
' published by the Free Software Foundation, either version 3 of the
' License, or (at your option) any later version.
'
' This program is distributed in the hope that it will be useful,
' but WITHOUT ANY WARRANTY; without even the implied warranty of
' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
' GNU Affero General Public License for more details.
'
' You should have received a copy of the GNU Affero General Public License
' along with this program. If not, see <https://www.gnu.org/licenses/>.
flutter build apk --release --tree-shake-icons --split-debug-info=debug-info --split-per-abi --target-platform android-arm,android-arm64 --obfuscate

View File

@@ -1,3 +1,19 @@
#!/bin/sh
# Firka legacy (formely "refilc"), the unofficial client for e-Kréta
# Copyright (C) 2025 Firka team (QwIT development)
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as
# published by the Free Software Foundation, either version 3 of the
# License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Affero General Public License for more details.
#
# You should have received a copy of the GNU Affero General Public License
# along with this program. If not, see <https://www.gnu.org/licenses/>.
flutter build apk --release --tree-shake-icons --split-debug-info=debug-info --split-per-abi --target-platform android-arm,android-arm64 --obfuscate

View File

@@ -1,15 +1,31 @@
/*
Firka legacy (formely "refilc"), the unofficial client for e-Kréta
Copyright (C) 2025 Firka team (QwIT development)
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
import 'dart:async';
import 'dart:convert';
import 'dart:developer';
import 'dart:io';
import 'package:refilc/models/ad.dart';
import 'package:refilc/models/config.dart';
import 'package:refilc/models/news.dart';
import 'package:refilc/models/release.dart';
import 'package:refilc/models/settings.dart';
import 'package:refilc/models/shared_theme.dart';
import 'package:refilc/models/supporter.dart';
import 'package:refilc_kreta_api/models/school.dart';
import 'package:flutter/foundation.dart';
import 'package:flutter/material.dart';
@@ -17,51 +33,40 @@ import 'package:http/http.dart' as http;
import 'package:connectivity_plus/connectivity_plus.dart';
class FilcAPI {
// API base
static const baseUrl = "https://api.refilcapp.hu";
// base url
static const baseUrl = "https://api.firka.app/api/v1";
// Public API
static const schoolList = "https://api.refilcapp.hu/v3/public/school-list";
static const news = "https://staticrf-api.pages.dev/news/index.json";
static const supporters = "0.0.0.0";
// unused schools list
static const schoolList = "0.0.0.0";
// Private API
static const ads = "0.0.0.0";
static const config = "$baseUrl/v3/private/config";
static const reportApi = "$baseUrl/v3/private/crash-report";
static const rfPlus = "0.0.0.0";
static const plusAuthLogin = "0.0.0.0";
static const plusAuthCallback = "0.0.0.0";
static const plusActivation = "0.0.0.0";
static const plusScopes = "0.0.0.0/";
// news endpoint
static const news = "$baseUrl/news/legacy";
// Updates
static const repo = "refilc/naplo";
static const releases = "https://api.github.com/repos/$repo/releases";
// analytics endpoint
static const config = "$baseUrl/config/";
// Share API
static const themeShare = "https://api.refilcapp.hu/v3/shared/theme/add";
static const themeGet = "https://api.refilcapp.hu/v3/shared/theme/get";
static const allThemes = "$themeGet/all";
static const themeByID = "$themeGet/";
// bug report endpoint, always gets sent, no matter if the user pressed the button or no
static const reportApi = "$baseUrl/crash/legacy";
static const gradeColorsShare = "https://api.refilcapp.hu/v3/shared/grade-colors/add";
static const gradeColorsGet = "https://api.refilcapp.hu/v3/shared/grade-colors/get";
static const allGradeColors = "$gradeColorsGet/all";
// updates path to github
static const releases =
"https://api.github.com/repos/QwIT-Development/app-legacy/releases";
// theme sharing api
static const themeShare = "$baseUrl/theme/";
static const themeGet = "$baseUrl/theme/";
static const allThemes = "$themeGet/theme/";
static const themeByID = "$themeGet/theme/";
// i don't know why it is separated
static const gradeColorsShare = "$baseUrl/theme/color/";
static const gradeColorsGet = "$baseUrl/theme/color/";
static const allGradeColors = "$gradeColorsGet/";
static const gradeColorsByID = "$gradeColorsGet/";
// Payment API
static const payment = "0.0.0.0";
static const stripeSheet = "0.0.0.0";
// Cloud Sync
// cloud sync? for what reason
static const cloudSyncApi = "0.0.0.0";
static Future<bool> checkConnectivity() async =>
(await Connectivity().checkConnectivity())[0] != ConnectivityResult.none;
// nem tudom nem vazar-e senkit se, de mar ertelmetlen ez
static Future<List<School>?> getSchools() async {
try {
@@ -94,7 +99,8 @@ class FilcAPI {
"rf-platform-version": settings.analyticsEnabled
? Platform.operatingSystemVersion
: "unknown",
"rf-app-version": const String.fromEnvironment("APPVER", defaultValue: "?"),
"rf-app-version":
const String.fromEnvironment("APPVER", defaultValue: "?"),
"rf-uinid": settings.xFilcId,
};
@@ -139,45 +145,12 @@ class FilcAPI {
return null;
}
static Future<Supporters?> getSupporters() async {
try {
http.Response res = await http.get(Uri.parse(supporters));
if (res.statusCode == 200) {
return Supporters.fromJson(jsonDecode(res.body));
} else {
throw "HTTP ${res.statusCode}: ${res.body}";
}
} on Exception catch (error, stacktrace) {
log("ERROR: FilcAPI.getSupporters: $error $stacktrace");
}
return null;
}
static Future<List<Ad>?> getAds() async {
try {
http.Response res = await http.get(Uri.parse(ads));
if (res.statusCode == 200) {
return (jsonDecode(res.body) as List)
.cast<Map>()
.map((e) => Ad.fromJson(e))
.toList();
} else {
throw "HTTP ${res.statusCode}: ${res.body}";
}
} on Exception catch (error, stacktrace) {
log("ERROR: FilcAPI.getAds: $error $stacktrace");
}
return null;
}
static Future<List<Release>?> getReleases() async {
try {
http.Response res = await http.get(Uri.parse(releases));
if (res.statusCode == 200) {
return (jsonDecode(res.body) as List)
return (jsonDecode(utf8.decode(res.bodyBytes)) as List)
.cast<Map>()
.map((e) => Release.fromJson(e))
.toList();
@@ -259,7 +232,8 @@ class FilcAPI {
http.Response res = await http.post(
Uri.parse(themeShare),
body: theme.json,
headers: {'Content-Type': 'application/x-www-form-urlencoded'},
// why tf would you urlencode a json, u want to parse it 2 times or what?
headers: {'Content-Type': 'application/json'},
);
// if (res.statusCode != 201) {
@@ -298,7 +272,7 @@ class FilcAPI {
http.Response res = await http.get(Uri.parse(allThemes));
if (res.statusCode == 200) {
return (jsonDecode(res.body) as List);
return (jsonDecode(utf8.decode(res.bodyBytes)) as List);
} else {
throw "HTTP ${res.statusCode}: ${res.body}";
}
@@ -322,7 +296,7 @@ class FilcAPI {
http.Response res = await http.post(
Uri.parse(gradeColorsShare),
body: gradeColors.json,
headers: {'Content-Type': 'application/x-www-form-urlencoded'},
headers: {'Content-Type': 'application/json'},
);
// if (res.statusCode != 201) {
@@ -357,40 +331,6 @@ class FilcAPI {
}
return null;
}
// payment
static Future<Map?> createPaymentSheet(String product) async {
try {
Map body = {
"product": product,
};
var client = http.Client();
http.Response res = await client.post(
Uri.parse(stripeSheet),
body: body,
headers: {
'Content-Type': 'application/x-www-form-urlencoded',
},
);
if (res.statusCode != 200) {
throw "HTTP ${res.statusCode}: ${res.body}";
}
return jsonDecode(res.body);
} on Exception catch (error, stacktrace) {
log("ERROR: FilcAPI.sendReport: $error $stacktrace");
}
return null;
}
// cloud sync
static Future<Map?> cloudSync(Map<String, String> data, String token) async {
return null;
}
}
class ErrorReport {

View File

@@ -1,3 +1,21 @@
/*
Firka legacy (formely "refilc"), the unofficial client for e-Kréta
Copyright (C) 2025 Firka team (QwIT development)
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
import 'package:refilc/models/ad.dart';
import 'package:flutter/material.dart';

View File

@@ -42,7 +42,7 @@ class StatusProvider extends ChangeNotifier {
void _handleDNSFailure() {
try {
InternetAddress.lookup('api.refilc.hu').then((status) {
InternetAddress.lookup('firka.app').then((status) { // koszonjuk klima a hardcoded checket
if (status.isEmpty) {
if (!_stack.contains(Status.network)) {
_stack.remove(Status.apiError);

View File

@@ -1,3 +1,21 @@
/*
Firka legacy (formely "refilc"), the unofficial client for e-Kréta
Copyright (C) 2025 Firka team (QwIT development)
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
// ignore_for_file: deprecated_member_use
import 'dart:io';
@@ -208,7 +226,7 @@ class App extends StatelessWidget {
),
);
},
title: "reFilc",
title: "Firka",
debugShowCheckedModeBanner: false,
theme: AppTheme.lightTheme(context, palette: corePalette),
darkTheme: AppTheme.darkTheme(context, palette: corePalette),

View File

@@ -1,3 +1,21 @@
/*
Firka legacy (formely "refilc"), the unofficial client for e-Kréta
Copyright (C) 2025 Firka team (QwIT development)
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
import 'dart:io';
import 'package:background_fetch/background_fetch.dart';
@@ -310,7 +328,7 @@ Future<void> initAdditionalBackgroundFetch() async {
print('[BackgroundFetch] configure success: $status');
}
BackgroundFetch.scheduleTask(TaskConfig(
taskId: "com.transistorsoft.refilcliveactivity",
taskId: "com.transistorsoft.firkaliveactivity",
delay: 300000, // 5 minute
periodic: true,
forceAlarmManager: true,

View File

@@ -2,7 +2,6 @@ enum AccountType {
apple,
google,
meta,
qwid,
}
class LinkedAccount {
@@ -26,9 +25,7 @@ class LinkedAccount {
? AccountType.apple
: json['type'] == 'google'
? AccountType.google
: json['type'] == 'meta'
? AccountType.meta
: AccountType.qwid,
: AccountType.meta,
username: json['username'],
displayName: json['display_name'],
id: json['id'],

View File

@@ -485,14 +485,14 @@ class SettingsProvider extends ChangeNotifier {
bellDelayEnabled: false,
bellDelay: 0,
gradeOpeningFun: false,
iconPack: IconPack.cupertino,
customAccentColor: const Color(0xff3D7BF4),
iconPack: IconPack.material,
customAccentColor: const Color(0xFFA7DC22),
customBackgroundColor: const Color(0xff000000),
customHighlightColor: const Color(0xff222222),
customIconColor: const Color(0x00000000),
customTextColor: const Color(0x00000000),
shadowEffect: true,
premiumScopes: [],
shadowEffect: false,
premiumScopes: ["refilc.plus.*"],
premiumAccessToken: "",
premiumLogin: "",
lastAccountId: "",
@@ -504,14 +504,14 @@ class SettingsProvider extends ChangeNotifier {
welcomeMessage: '',
appIcon: 'refilc_default',
currentThemeId: '',
currentThemeDisplayName: '',
currentThemeCreator: 'reFilc',
currentThemeDisplayName: 'Alapértelmezett',
currentThemeCreator: 'Firka',
showBreaks: false,
pinSetGeneral: '',
pinSetPersonalize: '',
pinSetNotify: '',
pinSetExtras: '',
fontFamily: '',
fontFamily: 'Figtree',
titleOnlyFont: false,
plusSessionId: '',
calSyncRoomLocation: 'location',
@@ -522,8 +522,8 @@ class SettingsProvider extends ChangeNotifier {
navShadow: true,
newColors: true,
uwuMode: false,
newPopups: true,
unseenNewFeatures: ['grade_exporting'],
newPopups: false,
unseenNewFeatures: [],
cloudSyncEnabled: false,
cloudSyncToken: '',
updatedAt: DateTime.now(),

View File

@@ -1,3 +1,21 @@
/*
Firka legacy (formely "refilc"), the unofficial client for e-Kréta
Copyright (C) 2025 Firka team (QwIT development)
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
// ignore_for_file: use_build_context_synchronously
import 'package:refilc/models/linked_account.dart';

View File

@@ -17,7 +17,7 @@ enum AccentColor {
}
Map<AccentColor, Color> accentColorMap = {
AccentColor.filc: const Color(0xFF3D7BF4),
AccentColor.filc: const Color(0xFFA7DC22),
AccentColor.blue: Colors.blue.shade300,
AccentColor.green: Colors.green.shade400,
AccentColor.lime: Colors.lightGreen.shade400,
@@ -28,69 +28,69 @@ Map<AccentColor, Color> accentColorMap = {
AccentColor.purple: Colors.purple.shade300,
//AccentColor.none: Colors.black,
AccentColor.ogfilc: const Color(0xff20AC9B),
AccentColor.adaptive: const Color(0xFF3D7BF4),
AccentColor.custom: const Color(0xFF3D7BF4),
AccentColor.adaptive: const Color(0xFFA7DC22),
AccentColor.custom: const Color(0xFFA7DC22),
};
// new v5 things
Map<AccentColor, Color> lightPrimary = {
AccentColor.filc: const Color(0xFF050B15),
AccentColor.filc: const Color(0xFF394C0A), //
};
Map<AccentColor, Color> lightSecondary = {
AccentColor.filc: const Color(0xFF3F444F),
AccentColor.filc: const Color(0xCC394C0A), //
};
Map<AccentColor, Color> lightTeritary = {
AccentColor.filc: const Color(0xFF1C469A),
AccentColor.filc: const Color(0x80394C0A), //
};
Map<AccentColor, Color> lightIcon = {
AccentColor.filc: const Color(0xFF0A2456),
};
Map<AccentColor, Color> lightAccent = {
AccentColor.filc: const Color(0xFF487DE6),
AccentColor.filc: const Color(0xFFA7DC22), //
};
Map<AccentColor, Color> lightBgDarkened = {
AccentColor.filc: const Color(0xFFB9C8E5),
AccentColor.filc: const Color(0xFFFAFFF0), //
};
Map<AccentColor, Color> lightBtnSecStrk = {
AccentColor.filc: const Color(0xFFCEDBF5),
};
Map<AccentColor, Color> lightBg = {
AccentColor.filc: const Color(0xFFDAE4F7),
AccentColor.filc: const Color(0xFFF3FBDE), //
};
Map<AccentColor, Color> lightCard = {
AccentColor.filc: const Color(0xFFEDF3FF),
AccentColor.filc: const Color(0xFFF3FBDE), //
};
Map<AccentColor, Color> lightBtnSec = {
AccentColor.filc: const Color(0xFFFBFCFF),
AccentColor.filc: const Color(0xFFFEFFFD), //
};
Map<AccentColor, Color> darkPrimary = {
AccentColor.filc: const Color(0xFFEBF1FD),
AccentColor.filc: const Color(0xFFEAF7CC), //
};
Map<AccentColor, Color> darkSecondary = {
AccentColor.filc: const Color(0xFFCFD8E9),
AccentColor.filc: const Color(0xB3EAF7CC), //
};
Map<AccentColor, Color> darkTeritary = {
AccentColor.filc: const Color(0xFFAEC8FC),
AccentColor.filc: const Color(0x80EAF7CC), //
};
Map<AccentColor, Color> darkIcon = {
AccentColor.filc: const Color(0xFFBAD1FF),
};
Map<AccentColor, Color> darkAccent = {
AccentColor.filc: const Color(0xFF487DE6),
AccentColor.filc: const Color(0xFFA7DC22), //
};
Map<AccentColor, Color> darkBgDarkened = {
AccentColor.filc: const Color(0xFF010205),
AccentColor.filc: const Color(0xFF0D1202), //
};
Map<AccentColor, Color> darkBtnSecStrk = {
AccentColor.filc: const Color(0xFF1C2230),
};
Map<AccentColor, Color> darkBg = {
AccentColor.filc: const Color(0xFF070A0E),
AccentColor.filc: const Color(0xFF141905), //
};
Map<AccentColor, Color> darkCard = {
AccentColor.filc: const Color(0xFF0F131B),
AccentColor.filc: const Color(0xFF141905), //
};
Map<AccentColor, Color> darkBtnSec = {
AccentColor.filc: const Color(0xFF131822),
AccentColor.filc: const Color(0xFF20290B), //
};

View File

@@ -7,9 +7,9 @@ class DarkMobileAppColors implements ThemeAppColors {
@override
final text = Colors.white;
@override
final background = const Color(0xff000000);
final background = const Color(0xff0D1202); //
@override
final highlight = const Color(0xff141516);
final highlight = const Color(0xff141905); //
@override
final red = const Color(0xffFF453A);
@override
@@ -19,7 +19,7 @@ class DarkMobileAppColors implements ThemeAppColors {
@override
final green = const Color(0xff32D74B);
@override
final filc = const Color(0xff3d7bf4);
final filc = const Color(0xFFA7DC22); //
@override
final teal = const Color(0xff64D2FF);
@override
@@ -32,24 +32,24 @@ class DarkMobileAppColors implements ThemeAppColors {
final pink = const Color(0xffFF375F);
// new default grade colors
@override
final gradeFive = const Color(0xff007D49);
final gradeFive = const Color(0xFF22CCAD); //
@override
final gradeFour = const Color(0xFF34C759);
final gradeFour = const Color(0xFF92EA3B); //
@override
final gradeThree = const Color(0xFFFFCC00);
final gradeThree = const Color(0xFFF9CF00); //
@override
final gradeTwo = const Color(0xFFFF8008);
final gradeTwo = const Color(0xFFFFA046); //
@override
final gradeOne = const Color(0xFFFF453A);
final gradeOne = const Color(0xFFFF54A1); //
// v5 ui login
@override
final loginPrimary = const Color(0xFFD4DAE7);
final loginPrimary = const Color(0xFF394C0A); //
@override
final loginSecondary = const Color(0xFFA4B1CC);
final loginSecondary = const Color(0xCC394C0A); //
@override
final inputBorder = const Color(0xFF586A8E);
final inputBorder = const Color(0xFFA7DC22); //
@override
final loginBackground = const Color(0xFF0F131D);
final loginBackground = const Color(0xFFFAFFF0); //
@override
final buttonBackground = const Color(0xFF3D7BF4);
final buttonBackground = const Color(0xFFFEFFFD); //
}

View File

@@ -7,9 +7,9 @@ class LightMobileAppColors implements ThemeAppColors {
@override
final text = const Color(0xFF000000);
@override
final background = const Color(0xffF4F9FF);
final background = const Color(0xffFAFFF0); //
@override
final highlight = const Color(0xffFFFFFF);
final highlight = const Color(0xffF3FBDE); //
@override
final red = const Color(0xffFF3B30);
@override
@@ -19,7 +19,7 @@ class LightMobileAppColors implements ThemeAppColors {
@override
final green = const Color(0xff34C759);
@override
final filc = const Color(0xff3d7bf4);
final filc = const Color(0xFFA7DC22); //
@override
final teal = const Color(0xff5AC8FA);
@override
@@ -32,24 +32,24 @@ class LightMobileAppColors implements ThemeAppColors {
final pink = const Color(0xffFF2D55);
// new default grade colors
@override
final gradeFive = const Color(0xff007D49);
final gradeFive = const Color(0xFF22CCAD); //
@override
final gradeFour = const Color(0xFF34C759);
final gradeFour = const Color(0xFF92EA3B); //
@override
final gradeThree = const Color(0xFFFFCC00);
final gradeThree = const Color(0xFFF9CF00); //
@override
final gradeTwo = const Color(0xFFFF8008);
final gradeTwo = const Color(0xFFFFA046); //
@override
final gradeOne = const Color(0xFFFF453A);
final gradeOne = const Color(0xFFFF54A1); //
// ui v5 login
@override
final loginPrimary = const Color(0xFF0A1C41);
final loginPrimary = const Color(0xFF394C0A); //
@override
final loginSecondary = const Color(0xFF0A1C41);
final loginSecondary = const Color(0xCC394C0A); //
@override
final inputBorder = const Color(0xFF586A8E);
final inputBorder = const Color(0xFFA7DC22); //
@override
final loginBackground = const Color(0xFFEFF4FE);
final loginBackground = const Color(0xFFFAFFF0); //
@override
final buttonBackground = const Color(0xFF0A1C41);
final buttonBackground = const Color(0xFFFEFFFD); //
}

View File

@@ -4,7 +4,6 @@ import 'package:refilc/models/ad.dart';
import 'package:refilc/ui/date_widget.dart';
import 'package:refilc_mobile_ui/common/widgets/ad/ad_tile.dart';
import 'package:refilc_mobile_ui/common/widgets/ad/ad_viewable.dart' as mobile;
import 'package:refilc_mobile_ui/plus/plus_screen.dart';
import 'package:refilc_plus/providers/plus_provider.dart';
import 'package:uuid/uuid.dart';
@@ -30,7 +29,7 @@ List<DateWidget> getWidgets(List<Ad> providerAds, BuildContext context) {
),
onTap: () => Navigator.of(context, rootNavigator: true)
.push(MaterialPageRoute(builder: (context) {
return const PlusScreen();
return Container();
})),
padding: const EdgeInsets.symmetric(horizontal: 5.0),
showExternalIcon: false,

View File

@@ -3,7 +3,7 @@ description: "Egy nem hivatalos e-KRÉTA kliens, diákoktól diákoknak."
homepage: https://refilc.hu
publish_to: "none"
version: 5.1.4+288
version: 5.1.5+290
environment:
sdk: ^3.6.0
@@ -34,7 +34,7 @@ dependencies:
html: ^0.15.5
open_filex: ^4.6.0
path_provider: ^2.1.5
permission_handler: ^11.3.1
permission_handler: ^12.0.0
share_plus: ^10.1.4
connectivity_plus: ^6.1.3
flutter_displaymode: ^0.6.0
@@ -46,7 +46,6 @@ dependencies:
elegant_notification: ^2.4.1
flutter_feather_icons: ^2.0.0+1
animated_flip_counter: ^0.3.4
rive: ^0.12.4
animated_background: ^2.0.0
dropdown_button2: ^2.3.9
home_widget: ^0.7.0+1
@@ -56,7 +55,7 @@ dependencies:
image_picker: ^1.1.2
animations: ^2.0.11
background_fetch: ^1.3.7
flutter_local_notifications: ^18.0.1
flutter_local_notifications: ^19.0.0
package_info_plus: ^8.2.1
screenshot: ^3.0.0
flutter_staggered_grid_view: ^0.7.0
@@ -81,13 +80,9 @@ flutter:
uses-material-design: true
assets:
- assets/icons/ic_launcher.png
- assets/icons/ic_splash.png
- assets/icons/ic_rounded.png
- assets/animations/
- assets/images/
- assets/images/subject_covers/
- assets/images/ext_logo/
- assets/svg/menu_icons/
- assets/other/dirtywords.xml
- assets/svg/

View File

@@ -1,29 +0,0 @@
BSD 3-Clause License
Copyright (c) 2023, reFilc
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
3. Neither the name of the copyright holder nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

View File

@@ -0,0 +1,6 @@
# refilc - Kréta library
### A következőket tartalmazza:
- endpointok elérési útvonalai
- refresh logika
- logika az endpointokhoz

View File

@@ -56,15 +56,15 @@ class GradeProvider with ChangeNotifier {
}
}
Future<void> unseenAll() async {
String? userId = _user.id;
if (userId != null) {
final userStore = _database.userStore;
userStore.storeLastSeen(DateTime(1969),
userId: userId, category: LastSeenCategory.surprisegrade);
_lastSeen = DateTime(1969);
}
Future<void> unseenAll() async {
String? userId = _user.id;
if (userId != null) {
final userStore = _database.userStore;
await userStore.storeLastSeen(DateTime(1969),
userId: userId, category: LastSeenCategory.surprisegrade);
_lastSeen = DateTime(1969);
}
}
Future<void> restore() async {
String? userId = _user.id;

View File

@@ -24,17 +24,23 @@ class ShareProvider extends ChangeNotifier {
Future<(SharedTheme?, int)> shareCurrentTheme(
BuildContext context, {
bool isPublic = false,
bool shareNick = true,
bool shareNick = false,
required SharedGradeColors gradeColors,
String displayName = '',
}) async {
final SettingsProvider settings =
Provider.of<SettingsProvider>(context, listen: false);
String? nickname = _user.nickname;
if (_user.nickname == _user.name || _user.nickname == '') {
nickname = 'Anonymous';
}
Map themeJson = {
'public_id': const Uuid().v4(),
'is_public': isPublic,
'nickname': shareNick ? _user.nickname : 'Anonymous',
'nickname': shareNick ? nickname : 'Anonymous',
'display_name': displayName,
'background_color': (settings.customBackgroundColor ??
SettingsProvider.defaultSettings().customBackgroundColor)
@@ -106,9 +112,7 @@ class ShareProvider extends ChangeNotifier {
Future<List<SharedTheme>> getAllPublicThemes(BuildContext context,
{int offset = 0, int limit = 10}) async {
// Fetch all themes only once if not already fetched
if (_cachedThemesJson == null) {
_cachedThemesJson = await FilcAPI.getAllSharedThemes(0);
}
_cachedThemesJson ??= await FilcAPI.getAllSharedThemes(0);
List<SharedTheme> themes = [];
@@ -168,7 +172,7 @@ Future<List<SharedTheme>> getAllPublicThemes(BuildContext context,
Map gradeColorsJson = {
'public_id': const Uuid().v4(),
'is_public': isPublic,
'nickname': shareNick ? _user.nickname : 'Anonymous',
'nickname': 'Anonymous',
'five_color': settings.gradeColors[4].value,
'four_color': settings.gradeColors[3].value,
'three_color': settings.gradeColors[2].value,

View File

@@ -1,29 +0,0 @@
BSD 3-Clause License
Copyright (c) 2023, reFilc
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.
3. Neither the name of the copyright holder nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

View File

@@ -0,0 +1,6 @@
# refilc - felület library
### A következőket tartalmazza:
- oldalak elrendezése
- oldalakon használt elemek logikája
- kréta bejelentkezés logikája

View File

@@ -1,3 +1,21 @@
/*
Firka legacy (formely "refilc"), the unofficial client for e-Kréta
Copyright (C) 2025 Firka team (QwIT development)
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
import 'dart:math';
import 'package:refilc/theme/colors/colors.dart';

View File

@@ -7,7 +7,6 @@ import 'package:refilc_kreta_api/providers/grade_provider.dart';
import 'package:refilc_mobile_ui/common/widgets/grade/surprise_grade.dart';
import 'package:flutter/material.dart';
import 'package:provider/provider.dart';
import 'package:rive/rive.dart';
import 'new_grades.i18n.dart';
@@ -49,8 +48,11 @@ class NewGradesSurprise extends StatelessWidget {
blurRadius: 18.0,
)
]),
child: const RiveAnimation.asset(
"assets/animations/backpack-2.riv"),
child: Icon(
Icons.backpack,
size: 36.0,
color: Theme.of(context).colorScheme.secondary,
)
),
),
),

View File

@@ -14,7 +14,6 @@ import 'package:refilc_mobile_ui/pages/home/particle.dart';
import 'package:flutter/material.dart';
import 'package:refilc/utils/format.dart';
import 'package:provider/provider.dart';
import 'package:rive/rive.dart' as rive;
import 'new_grades.i18n.dart';
@@ -33,7 +32,6 @@ class _SurpriseGradeState extends State<SurpriseGrade>
late AnimationController _revealAnimScale;
late AnimationController _revealAnimGrade;
late AnimationController _revealAnimParticle;
late rive.RiveAnimationController _controller;
late SettingsProvider settingsProvider;
@@ -59,7 +57,6 @@ class _SurpriseGradeState extends State<SurpriseGrade>
_revealAnimParticle =
AnimationController(vsync: this, duration: const Duration(seconds: 2));
_revealAnimScale.animateTo(0.7, duration: Duration.zero);
_controller = rive.SimpleAnimation('Timeline 1', autoplay: false);
WidgetsBinding.instance.addPostFrameCallback((_) {
_revealAnimFade.animateTo(1.0, curve: Curves.easeInOut);
Future.delayed(const Duration(milliseconds: 200), () {
@@ -80,7 +77,6 @@ class _SurpriseGradeState extends State<SurpriseGrade>
_revealAnimScale.dispose();
_revealAnimGrade.dispose();
_revealAnimParticle.dispose();
_controller.dispose();
super.dispose();
}
@@ -112,8 +108,6 @@ class _SurpriseGradeState extends State<SurpriseGrade>
}
subtitle = false;
setState(() => hold = false);
_controller.isActive = true;
await Future.delayed(const Duration(seconds: 2));
if (mounted) {
_revealAnimGrade.animateTo(1.0, curve: Curves.fastLinearToSlowEaseIn);
}
@@ -124,336 +118,320 @@ class _SurpriseGradeState extends State<SurpriseGrade>
}
}
@override
Widget build(BuildContext context) {
settingsProvider = Provider.of<SettingsProvider>(context);
@override
Widget build(BuildContext context) {
settingsProvider = Provider.of<SettingsProvider>(context);
return AnimatedBuilder(
animation: _revealAnimFade,
builder: (context, child) {
return FadeTransition(
opacity: _revealAnimFade,
child: Material(
color: Colors.black.withValues(alpha: .75),
return AnimatedBuilder(
animation: _revealAnimFade,
builder: (context, child) {
return FadeTransition(
opacity: _revealAnimFade,
child: Material(
color: Colors.black.withOpacity(0.75),
child: Container(
color: Theme.of(context)
.colorScheme
.secondary
.withOpacity(0.05),
child: Container(
color: Theme.of(context)
.colorScheme
.secondary
.withValues(alpha: .05),
child: Container(
decoration: const BoxDecoration(
gradient: RadialGradient(
colors: [Colors.transparent, Colors.black],
radius: 1.5,
stops: [0.2, 1.0],
decoration: const BoxDecoration(
gradient: RadialGradient(
colors: [Colors.transparent, Colors.black],
radius: 1.5,
stops: [0.2, 1.0],
),
),
child: bg.AnimatedBackground(
vsync: this,
behaviour: bg.RandomParticleBehaviour(
options: bg.ParticleOptions(
baseColor: Theme.of(context).colorScheme.secondary,
spawnMinSpeed: 5.0,
spawnMaxSpeed: 10.0,
minOpacity: 0.05,
maxOpacity: 0.08,
spawnMinRadius: 30.0,
spawnMaxRadius: 50.0,
),
),
child: bg.AnimatedBackground(
vsync: this,
behaviour: bg.RandomParticleBehaviour(
options: bg.ParticleOptions(
baseColor: Theme.of(context).colorScheme.secondary,
spawnMinSpeed: 5.0,
spawnMaxSpeed: 10.0,
minOpacity: .05,
maxOpacity: .08,
spawnMinRadius: 30.0,
spawnMaxRadius: 50.0,
particleCount: 20,
),
),
child: ScaleTransition(
scale: _revealAnimScale,
child: child,
),
child: ScaleTransition(
scale: _revealAnimScale,
child: child,
),
),
),
),
),
);
},
child: AnimatedBuilder(
animation: _revealAnimGrade,
builder: (context, child) {
return Stack(
alignment: Alignment.center,
children: [
Column(
mainAxisAlignment: MainAxisAlignment.center,
children: [
SlideTransition(
position: _revealAnimGrade.drive(
Tween(begin: Offset.zero, end: const Offset(0, 0.7))),
child: AnimatedScale(
scale: hold ? 1.1 : 1.0,
curve: Curves.easeOutBack,
duration: const Duration(milliseconds: 200),
child: GestureDetector(
onLongPressDown: (_) => setState(() => hold = true),
onLongPressEnd: (_) => reveal(),
onLongPressCancel: reveal,
child: ScaleTransition(
scale: CurvedAnimation(
curve: Curves.easeInOut,
parent: _revealAnimGrade
.drive(Tween(begin: 1.0, end: 0.8))),
child: Stack(
alignment: Alignment.center,
children: [
SizedBox(
width: 300,
height: 300,
child: Icon(
Icons.backpack,
size: 200.0,
color: Theme.of(context).colorScheme.secondary,
),
),
SlideTransition(
position: _revealAnimParticle.drive(Tween(
begin: const Offset(0, 0.3),
end: const Offset(0, 0.8))),
child: FadeTransition(
opacity: _revealAnimParticle,
child: ClipRRect(
borderRadius: BorderRadius.circular(24.0),
child: BackdropFilter(
filter: ImageFilter.blur(
sigmaX: 32.0, sigmaY: 32.0),
child: Container(
width: double.infinity,
padding: const EdgeInsets.symmetric(
horizontal: 32.0, vertical: 20.0),
decoration: BoxDecoration(
color: Colors.white.withOpacity(0.3),
borderRadius:
BorderRadius.circular(24.0),
border: Border.all(
color: Colors.black.withOpacity(0.3),
width: 1.0),
),
child: Row(
children: [
Expanded(
child: Column(
crossAxisAlignment:
CrossAxisAlignment.start,
mainAxisSize: MainAxisSize.min,
children: [
if (widget.grade.description !=
"")
Text(
widget.grade.description,
style: const TextStyle(
color: Colors.white,
fontWeight:
FontWeight.bold,
fontSize: 26.0,
),
maxLines: 2,
overflow:
TextOverflow.ellipsis,
),
Text(
widget.grade.subject
.renamedTo ??
widget.grade.subject.name
.capital(),
style: TextStyle(
color: Colors.white
.withOpacity(0.8),
fontWeight:
FontWeight.bold,
fontSize: 24.0,
fontStyle: widget
.grade
.subject
.isRenamed &&
settingsProvider
.renamedSubjectsItalics
? FontStyle.italic
: null),
maxLines: 2,
overflow:
TextOverflow.ellipsis,
),
const SizedBox(height: 2),
Text(
"${widget.grade.value.weight}%",
style: TextStyle(
color: Colors.white
.withOpacity(0.7),
fontWeight: FontWeight.w600,
fontSize: 20.0,
),
maxLines: 2,
overflow:
TextOverflow.ellipsis,
),
],
),
),
const SizedBox(width: 20.0),
Icon(
SubjectIcon.resolveVariant(
subject: widget.grade.subject,
context: context),
color: Colors.white,
size: 82.0,
),
],
),
),
),
),
),
),
],
),
),
),
),
),
const SizedBox(height: 42.0),
AnimatedOpacity(
opacity: subtitle ? 1.0 : 0.0,
duration: const Duration(milliseconds: 300),
child: Text(
"open_subtitle".i18n,
style: TextStyle(
color: Colors.white.withOpacity(0.8),
fontWeight: FontWeight.w600,
fontSize: 24.0,
),
),
),
],
),
if (_revealAnimGrade.value > 0)
AnimatedBuilder(
animation: _revealAnimParticle,
builder: (context, child) {
bool shouldPaint = false;
if (_revealAnimParticle.status ==
AnimationStatus.forward ||
_revealAnimParticle.status ==
AnimationStatus.reverse) {
shouldPaint = true;
}
String? rr = rarities[widget.grade.value.value.toString()];
rr ??= '';
if (rr.replaceAll(' ', '') == '') {
rr = defaultRarities[widget.grade.value.value - 1].i18n;
}
return ScaleTransition(
scale: _revealAnimGrade,
child: FadeTransition(
opacity: _revealAnimGrade,
child: SlideTransition(
position: _revealAnimGrade.drive(Tween(
begin: Offset.zero, end: const Offset(0, -0.6))),
child: Column(
mainAxisSize: MainAxisSize.min,
children: [
SlideTransition(
position: _revealAnimGrade.drive(Tween(
begin: Offset.zero,
end: const Offset(0, -0.9))),
child: Text(
rr,
style: TextStyle(
fontSize: 46.0,
fontWeight: FontWeight.bold,
color: gradeColor(
context: context,
value: widget.grade.value.value),
shadows: [
Shadow(
color: gradeColor(
context: context,
value: widget.grade.value.value)
.withOpacity(0.5),
blurRadius: 24.0,
),
Shadow(
color: gradeColor(
context: context,
value: widget.grade.value.value)
.withOpacity(0.3),
offset: const Offset(-3, -3),
),
],
),
),
),
const SizedBox(height: 32.0),
ScaleTransition(
scale: CurvedAnimation(
curve: Curves.easeInOutBack,
parent: _revealAnimParticle
.drive(Tween(begin: 0.6, end: 1.0))),
child: CustomPaint(
painter: PimpPainter(
particle: Sprinkles(),
controller: _revealAnimParticle,
seed: seed + 1,
shouldPaint: shouldPaint,
),
child: CustomPaint(
painter: PimpPainter(
particle: Sprinkles(),
controller: _revealAnimParticle,
seed: seed,
shouldPaint: shouldPaint,
),
child: RotationTransition(
turns: CurvedAnimation(
curve: Curves.easeInBack,
parent: _revealAnimGrade)
.drive(Tween(begin: 0.95, end: 1.0)),
child: GradeValueWidget(
widget.grade.value,
fill: true,
contrast: true,
shadow: true,
outline: true,
size: 100.0,
),
),
),
),
),
],
),
),
),
);
},
),
],
);
},
child: AnimatedBuilder(
animation: _revealAnimGrade,
builder: (context, child) {
return Stack(
alignment: Alignment.center,
children: [
Column(
mainAxisAlignment: MainAxisAlignment.center,
children: [
SlideTransition(
position: _revealAnimGrade.drive(
Tween(begin: Offset.zero, end: const Offset(0, 0.7))),
child: AnimatedScale(
scale: hold ? 1.1 : 1.0,
curve: Curves.easeOutBack,
duration: const Duration(milliseconds: 200),
child: GestureDetector(
onLongPressDown: (_) => setState(() => hold = true),
onLongPressEnd: (_) => reveal(),
onLongPressCancel: reveal,
child: ScaleTransition(
scale: CurvedAnimation(
curve: Curves.easeInOut,
parent: _revealAnimGrade
.drive(Tween(begin: 1.0, end: 0.8))),
child: Stack(
alignment: Alignment.center,
children: [
SizedBox(
width: 300,
height: 300,
child: rive.RiveAnimation.asset(
"assets/animations/backpack-2.riv",
fit: BoxFit.contain,
controllers: [_controller],
antialiasing: false,
),
),
SlideTransition(
position: _revealAnimParticle.drive(Tween(
begin: const Offset(0, 0.3),
end: const Offset(0, 0.8))),
child: FadeTransition(
opacity: _revealAnimParticle,
child: ClipRRect(
borderRadius: BorderRadius.circular(24.0),
child: BackdropFilter(
filter: ImageFilter.blur(
sigmaX: 32.0, sigmaY: 32.0),
child: Container(
width: double.infinity,
padding: const EdgeInsets.symmetric(
horizontal: 32.0, vertical: 20.0),
decoration: BoxDecoration(
color: Colors.white
.withValues(alpha: .3),
borderRadius:
BorderRadius.circular(24.0),
border: Border.all(
color: Colors.black
.withValues(alpha: .3),
width: 1.0),
),
child: Row(
children: [
Expanded(
child: Column(
crossAxisAlignment:
CrossAxisAlignment.start,
mainAxisSize:
MainAxisSize.min,
children: [
if (widget.grade
.description !=
"")
Text(
widget
.grade.description,
style: const TextStyle(
color: Colors.white,
fontWeight:
FontWeight.bold,
fontSize: 26.0,
),
maxLines: 2,
overflow: TextOverflow
.ellipsis,
),
Text(
widget.grade.subject
.renamedTo ??
widget.grade.subject
.name
.capital(),
style: TextStyle(
color: Colors.white
.withValues(
alpha: .8),
fontWeight:
FontWeight.bold,
fontSize: 24.0,
fontStyle: widget
.grade
.subject
.isRenamed &&
settingsProvider
.renamedSubjectsItalics
? FontStyle.italic
: null),
maxLines: 2,
overflow:
TextOverflow.ellipsis,
),
const SizedBox(height: 2),
Text(
"${widget.grade.value.weight}%",
style: TextStyle(
color: Colors.white
.withValues(
alpha: .7),
fontWeight:
FontWeight.w600,
fontSize: 20.0,
),
maxLines: 2,
overflow:
TextOverflow.ellipsis,
),
],
),
),
const SizedBox(width: 20.0),
Icon(
SubjectIcon.resolveVariant(
subject:
widget.grade.subject,
context: context),
color: Colors.white,
size: 82.0,
),
],
),
),
),
),
),
),
],
),
),
),
),
),
const SizedBox(height: 42.0),
AnimatedOpacity(
opacity: subtitle ? 1.0 : 0.0,
duration: const Duration(milliseconds: 300),
child: Text(
"open_subtitle".i18n,
style: TextStyle(
color: Colors.white.withValues(alpha: .8),
fontWeight: FontWeight.w600,
fontSize: 24.0,
),
),
),
],
),
if (_revealAnimGrade.value > 0)
AnimatedBuilder(
animation: _revealAnimParticle,
builder: (context, child) {
bool shouldPaint = false;
if (_revealAnimParticle.status ==
AnimationStatus.forward ||
_revealAnimParticle.status ==
AnimationStatus.reverse) {
shouldPaint = true;
}
String? rr =
rarities[widget.grade.value.value.toString()];
rr ??= '';
if (rr.replaceAll(' ', '') == '') {
rr = defaultRarities[widget.grade.value.value - 1].i18n;
}
return ScaleTransition(
scale: _revealAnimGrade,
child: FadeTransition(
opacity: _revealAnimGrade,
child: SlideTransition(
position: _revealAnimGrade.drive(Tween(
begin: Offset.zero,
end: const Offset(0, -0.6))),
child: Column(
mainAxisSize: MainAxisSize.min,
children: [
SlideTransition(
position: _revealAnimGrade.drive(Tween(
begin: Offset.zero,
end: const Offset(0, -0.9))),
child: Text(
rr,
style: TextStyle(
fontSize: 46.0,
fontWeight: FontWeight.bold,
color: gradeColor(
context: context,
value: widget.grade.value.value),
shadows: [
Shadow(
color: gradeColor(
context: context,
value:
widget.grade.value.value)
.withValues(alpha: .5),
blurRadius: 24.0,
),
Shadow(
color: gradeColor(
context: context,
value:
widget.grade.value.value)
.withValues(alpha: .3),
offset: const Offset(-3, -3),
),
],
),
),
),
const SizedBox(height: 32.0),
ScaleTransition(
scale: CurvedAnimation(
curve: Curves.easeInOutBack,
parent: _revealAnimParticle
.drive(Tween(begin: 0.6, end: 1.0))),
child: CustomPaint(
painter: PimpPainter(
particle: Sprinkles(),
controller: _revealAnimParticle,
seed: seed + 1,
shouldPaint: shouldPaint,
),
child: CustomPaint(
painter: PimpPainter(
particle: Sprinkles(),
controller: _revealAnimParticle,
seed: seed,
shouldPaint: shouldPaint,
),
child: RotationTransition(
turns: CurvedAnimation(
curve: Curves.easeInBack,
parent: _revealAnimGrade)
.drive(
Tween(begin: 0.95, end: 1.0)),
child: GradeValueWidget(
widget.grade.value,
fill: true,
contrast: true,
shadow: true,
outline: true,
size: 100.0,
),
),
),
),
),
],
),
),
),
);
},
),
],
);
}),
);
}
),
);
}
}
class PimpPainter extends CustomPainter {

View File

@@ -34,7 +34,7 @@ extension Localization on String {
"Messages": "Üzenetek",
"Absences": "Hiányok",
"update_available": "Frissítés elérhető",
"missed_exams": "Ezen a héten hiányoztál %s dolgozatról.",
"missed_exams": "Ezen a héten hiányoztál %s számonkérésről.",
"missed_exam_contact": "Keresd %s-t, ha pótolni szeretnéd!",
},
"de_de": {

View File

@@ -63,7 +63,7 @@ class UpdateViewState extends State<UpdateView> {
ClipRRect(
borderRadius: BorderRadius.circular(18.0),
child: Image.asset(
"assets/icons/ic_launcher.png",
"assets/images/pixel.png",
width: 64.0,
),
)

View File

@@ -67,12 +67,15 @@ class GradesCountItem extends StatelessWidget {
),
SizedBox(
width: 22.0,
child: Text(
count.toString(),
textAlign: TextAlign.center,
style: const TextStyle(
fontWeight: FontWeight.w500,
fontSize: 14.0,
child: FittedBox(
fit: BoxFit.scaleDown,
child: Text(
count.toString(),
textAlign: TextAlign.center,
style: const TextStyle(
fontWeight: FontWeight.w500,
fontSize: 14.0,
),
),
),
),

View File

@@ -38,7 +38,7 @@ extension Localization on String {
"Messages": "Üzenetek",
"Absences": "Hiányzások",
"update_available": "Frissítés elérhető",
"missed_exams": "Ezen a héten hiányoztál %s dolgozatról.",
"missed_exams": "Ezen a héten hiányoztál %s számonkérésről.",
"missed_exam_contact": "Keresd %s tanár urat/hölgyet, hogy pótold!",
},
"de_de": {

View File

@@ -1,3 +1,21 @@
/*
Firka legacy (formely "refilc"), the unofficial client for e-Kréta
Copyright (C) 2025 Firka team (QwIT development)
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
// ignore_for_file: no_leading_underscores_for_local_identifiers, use_build_context_synchronously
import 'dart:convert';
@@ -71,7 +89,32 @@ class NotesPageState extends State<NotesPage> with TickerProviderStateMixin {
final TextEditingController _taskName = TextEditingController();
final TextEditingController _taskContent = TextEditingController();
void generateTiles() async {
@override
void initState() {
super.initState();
WidgetsBinding.instance.addPostFrameCallback((_) {
generateTiles();
});
}
Future<void> deleteTodoItem(TodoItem item) async {
todoItems.removeWhere((element) => element.id == item.id);
await databaseProvider.userStore.storeSelfTodoItems(todoItems, userId: user.id!);
Provider.of<SelfNoteProvider>(context, listen: false).restore();
Provider.of<SelfNoteProvider>(context, listen: false).restoreTodo();
setState(() {});
}
Future<void> generateTiles() async {
if (!mounted) return;
user = Provider.of<UserProvider>(context, listen: false);
databaseProvider = Provider.of<DatabaseProvider>(context, listen: false);
updateProvider = Provider.of<UpdateProvider>(context, listen: false);
selfNoteProvider = Provider.of<SelfNoteProvider>(context, listen: false);
doneItems = await databaseProvider.userQuery.toDoItems(userId: user.id!);
todoItems = await databaseProvider.userQuery.getTodoItems(userId: user.id!);
@@ -80,14 +123,10 @@ class NotesPageState extends State<NotesPage> with TickerProviderStateMixin {
List<Homework> hw = Provider.of<HomeworkProvider>(context, listen: false)
.homework
.where((e) => e.deadline.isAfter(DateTime.now()))
// e.deadline.isBefore(DateTime(DateTime.now().year,
// DateTime.now().month, DateTime.now().day + 3)))
.toList();
// todo tiles
List<Widget> toDoTiles = [];
// TODO: FIX THIS ASAP
if (hw.isNotEmpty &&
Provider.of<PlusProvider>(context, listen: false)
.hasScope(PremiumScopes.unlimitedSelfNotes)) {
@@ -98,51 +137,39 @@ class NotesPageState extends State<NotesPage> with TickerProviderStateMixin {
'${(e.subject.isRenamed ? e.subject.renamedTo : e.subject.name) ?? ''}, ${e.content.escapeHtml()}',
isTicked: doneItems[e.id] ?? false,
onTap: (p0) async {
// print(p0);
// print(doneItems);
if (!doneItems.containsKey(e.id)) {
doneItems.addAll({e.id: p0});
} else {
doneItems[e.id] = p0;
}
// print(doneItems);
// print(doneItems[e.id]);
// print(user.id);
doneItems[e.id] = p0;
await databaseProvider.userStore
.storeToDoItem(doneItems, userId: user.id!);
setState(() {});
// print(
// await databaseProvider.userQuery.toDoItems(userId: user.id!));
},
)));
}
if (selfNoteProvider.todos.isNotEmpty) {
toDoTiles.addAll(selfNoteProvider.todos.map((e) => TickTile(
padding: EdgeInsets.zero,
title: e.title,
description: e.content,
isTicked: e.done,
onTap: (p0) async {
final todoItemIndex =
todoItems.indexWhere((element) => element.id == e.id);
if (todoItemIndex != -1) {
TodoItem todoItem = todoItems[todoItemIndex];
Map<String, dynamic> todoItemJson = todoItem.toJson;
todoItemJson['done'] = p0;
todoItem = TodoItem.fromJson(todoItemJson);
todoItems[todoItemIndex] = todoItem;
await databaseProvider.userStore
.storeSelfTodoItems(todoItems, userId: user.id!);
}
// await databaseProvider.userStore
// .storeSelfTodoItems(todoItems, userId: user.id!);
},
)));
}
if (selfNoteProvider.todos.isNotEmpty) {
toDoTiles.addAll(selfNoteProvider.todos.map((e) => GestureDetector(
onLongPress: () async {
final todoItem = todoItems.firstWhere((item) => item.id == e.id);
await deleteTodoItem(todoItem);
},
child: TickTile(
padding: EdgeInsets.zero,
title: e.title,
description: e.content,
isTicked: e.done,
onTap: (p0) async {
final todoItemIndex = todoItems.indexWhere((element) => element.id == e.id);
if (todoItemIndex != -1) {
TodoItem todoItem = todoItems[todoItemIndex];
Map<String, dynamic> todoItemJson = todoItem.toJson;
todoItemJson['done'] = p0;
todoItem = TodoItem.fromJson(todoItemJson);
todoItems[todoItemIndex] = todoItem;
await databaseProvider.userStore.storeSelfTodoItems(todoItems, userId: user.id!);
}
},
),
)));
}
if (toDoTiles.isNotEmpty) {
tiles.add(const SizedBox(
@@ -328,9 +355,8 @@ class NotesPageState extends State<NotesPage> with TickerProviderStateMixin {
child: ProfileImage(
heroTag: "profile",
name: firstName,
backgroundColor: Theme.of(context)
.colorScheme
.tertiary, //ColorUtils.stringToColor(user.displayName ?? "?"),
backgroundColor: Theme.of(context).colorScheme.tertiary,
//ColorUtils.stringToColor(user.displayName ?? "?"),
badge: updateProvider.available,
role: user.role,
profilePictureString: user.picture,

View File

@@ -18,6 +18,8 @@ extension ScreensLocalization on String {
"task_content": "Task content...",
"task_name": "Task title...",
"new_task": "New Task",
"next": "Next",
"cancel": "Cancel",
},
"hu_hu": {
"notes": "Füzet",
@@ -34,6 +36,8 @@ extension ScreensLocalization on String {
"task_content": "Feladat tartalma...",
"task_name": "Feladat címe...",
"new_task": "Új feladat",
"next": "Tovább",
"cancel": "Mégse",
},
"de_de": {
"notes": "Broschüre",
@@ -50,6 +54,8 @@ extension ScreensLocalization on String {
"task_content": "Aufgabeninhalt...",
"task_name": "Aufgabentitel...",
"new_task": "Neue Aufgabe",
"next": "Weiter",
"cancel": "Abbrechen",
},
};

View File

@@ -1,170 +0,0 @@
import 'package:refilc/icons/filc_icons.dart';
import 'package:refilc_mobile_ui/plus/plus_screen.dart';
import 'package:refilc_plus/models/premium_scopes.dart';
import 'package:refilc_plus/providers/plus_provider.dart';
import 'package:refilc_plus/ui/mobile/plus/upsell.dart';
import 'package:flutter/material.dart';
import 'package:flutter_svg/svg.dart';
import 'package:provider/provider.dart';
class ActiveSponsorCard extends StatelessWidget {
const ActiveSponsorCard({super.key});
static PremiumFeatureLevel? estimateLevel(List<String> scopes) {
if (scopes.contains(PremiumScopes.all) ||
scopes.contains(PremiumScopes.tierSponge)) {
return PremiumFeatureLevel.sponge;
}
if (scopes.contains(PremiumScopes.tierGold)) {
return PremiumFeatureLevel.ink;
}
if (scopes.contains(PremiumScopes.tierBasic)) {
return PremiumFeatureLevel.cap;
}
return PremiumFeatureLevel.old;
}
IconData? _levelIcon(PremiumFeatureLevel level) {
switch (level) {
case PremiumFeatureLevel.cap:
return FilcIcons.kupak;
case PremiumFeatureLevel.ink:
return FilcIcons.tinta;
case PremiumFeatureLevel.sponge:
return FilcIcons.kupak;
case PremiumFeatureLevel.old:
return FilcIcons.kupak;
case PremiumFeatureLevel.basic:
return FilcIcons.kupak;
case PremiumFeatureLevel.gold:
return FilcIcons.kupak;
}
}
@override
Widget build(BuildContext context) {
final premium = Provider.of<PlusProvider>(context, listen: false);
final level = estimateLevel(premium.scopes);
if (level == null) {
return const SizedBox();
}
Color? glow = Colors.white;
switch (level) {
case PremiumFeatureLevel.cap:
glow = Colors.lightGreen;
break;
case PremiumFeatureLevel.ink:
glow = Colors.purple;
break;
case PremiumFeatureLevel.sponge:
glow = Colors.red;
break;
case PremiumFeatureLevel.old:
glow = Colors.red;
break;
case PremiumFeatureLevel.basic:
glow = Colors.red;
break;
case PremiumFeatureLevel.gold:
glow = Colors.red;
break;
}
return Container(
decoration: BoxDecoration(
borderRadius: BorderRadius.circular(20.0),
boxShadow: [
BoxShadow(
color: glow.withValues(alpha: .4),
blurRadius: 42.0,
),
],
),
child: Card(
margin: EdgeInsets.zero,
elevation: 0,
color: const Color(0xff2B2B2B),
shape:
RoundedRectangleBorder(borderRadius: BorderRadius.circular(14.0)),
child: InkWell(
borderRadius: BorderRadius.circular(14.0),
splashColor: glow.withValues(alpha: .2),
onTap: () {
Navigator.of(context, rootNavigator: true)
.push(MaterialPageRoute(builder: (context) {
return const PlusScreen();
}));
},
child: Padding(
padding: const EdgeInsets.symmetric(vertical: 12.0),
child: Row(
children: [
Padding(
padding: const EdgeInsets.symmetric(horizontal: 16.0),
child: Stack(
children: [
CircleAvatar(
backgroundColor:
Theme.of(context).colorScheme.secondary,
backgroundImage: NetworkImage(
"https://github.com/${premium.login}.png?size=128"),
),
Positioned.fill(
child: Align(
alignment: Alignment.bottomRight,
child: Transform.translate(
offset: const Offset(3.0, 4.0),
child: Container(
padding: const EdgeInsets.all(4.0),
decoration: const BoxDecoration(
color: Color(0xff2B2B2B),
shape: BoxShape.circle,
),
child: const SizedBox(
height: 14.0,
width: 14.0,
),
),
),
),
),
Positioned.fill(
child: Align(
alignment: Alignment.bottomRight,
child: SvgPicture.asset(
"assets/images/github.svg",
height: 14.0,
),
),
),
],
),
),
Expanded(
child: Text(
premium.login,
overflow: TextOverflow.ellipsis,
style: const TextStyle(
fontWeight: FontWeight.w600,
fontSize: 20,
color: Colors.white),
),
),
Padding(
padding: const EdgeInsets.symmetric(horizontal: 16.0),
child: Icon(
_levelIcon(level),
color: Colors.white,
),
),
],
),
),
),
),
);
}
}

View File

@@ -1,26 +0,0 @@
import 'package:flutter/material.dart';
class AvatarStack extends StatelessWidget {
const AvatarStack({super.key, required this.children});
final List<Widget> children;
@override
Widget build(BuildContext context) {
return Stack(
children: [
if (children.isNotEmpty) children[0],
if (children.length > 1)
Transform.translate(
offset: const Offset(-20.0, 0.0),
child: children[1],
),
if (children.length > 2)
Transform.translate(
offset: const Offset(-40.0, 0.0),
child: children[2],
),
],
);
}
}

View File

@@ -1,175 +0,0 @@
// import 'package:refilc/api/client.dart';
// import 'package:refilc/theme/colors/colors.dart';
import 'package:refilc_plus/providers/plus_provider.dart';
// import 'package:refilc_plus/ui/mobile/plus/activation_view/activation_view.dart';
import 'package:flutter/material.dart';
import 'package:flutter_feather_icons/flutter_feather_icons.dart';
import 'package:flutter_svg/svg.dart';
import 'package:provider/provider.dart';
class GithubLoginButton extends StatelessWidget {
const GithubLoginButton({super.key});
@override
Widget build(BuildContext context) {
final premium = Provider.of<PlusProvider>(context);
return Card(
margin: EdgeInsets.zero,
elevation: 0,
color: const Color(0xFFC1CBDF),
shape: RoundedRectangleBorder(borderRadius: BorderRadius.circular(16.0)),
child: InkWell(
borderRadius: BorderRadius.circular(14.0),
onTap: () async {
// if (premium.hasPremium) {
// premium.auth.refreshAuth(removePremium: true);
// ScaffoldMessenger.of(context).showSnackBar(SnackBar(
// content: Text(
// "reFilc+ támogatás deaktiválva!",
// style: TextStyle(
// color: AppColors.of(context).text,
// fontWeight: FontWeight.bold,
// fontSize: 18.0),
// ),
// backgroundColor: Theme.of(context).scaffoldBackgroundColor,
// ));
// return;
// }
// Navigator.of(context).push(MaterialPageRoute(builder: (context) {
// return const PremiumActivationView();
// }));
// bool initFinished = await initPaymentSheet(context);
// if (initFinished) {
// stripe.PaymentSheetPaymentOption? result =
// await stripe.Stripe.instance.presentPaymentSheet();
// print(result == null);
// print(result?.label ?? 'nem label');
// }
// launchUrl(
// Uri.parse(
// 'https://api.refilc.hu/v3/payment/stripe-create-checkout?product=asdasd'),
// mode: LaunchMode.inAppBrowserView,
// );
},
child: Padding(
padding: const EdgeInsets.symmetric(vertical: 12.0),
child: Row(
mainAxisAlignment: MainAxisAlignment.center,
children: [
Stack(
children: [
SvgPicture.asset(
"assets/images/btn_github.svg",
height: 28.0,
),
Positioned.fill(
child: Align(
alignment: Alignment.bottomRight,
child: Transform.translate(
offset: const Offset(3.5, 4.6),
child: Container(
padding: const EdgeInsets.all(4.0),
decoration: const BoxDecoration(
color: Color(0xFFC1CBDF),
// color: Colors.red,
shape: BoxShape.circle,
),
child: const SizedBox(
height: 10.0,
width: 10.0,
),
),
),
),
),
Positioned.fill(
child: Align(
alignment: Alignment.bottomRight,
child: Transform.translate(
offset: const Offset(2.0, 2.0),
child: Icon(
premium.hasPremium
? FeatherIcons.minusCircle
: FeatherIcons.plusCircle,
color: const Color(0xFF243F76),
size: 14.0,
),
),
),
),
],
),
const SizedBox(
width: 18.0,
),
Text(
premium.hasPremium
? "Github szétkapcsolása"
: "Fiók összekötése Github-al",
style: const TextStyle(
fontWeight: FontWeight.w600,
fontSize: 18,
color: Color(0xFF243F76),
),
),
const SizedBox(
width: 4.0,
),
],
),
),
),
);
}
// Future<bool> initPaymentSheet(BuildContext context) async {
// try {
// // 1. create payment intent on the server
// final data = await _createPaymentSheet();
// if (data == null) {
// throw "API error, can't create payment sheet!";
// }
// // 2. initialize the payment sheet
// await stripe.Stripe.instance.initPaymentSheet(
// paymentSheetParameters: stripe.SetupPaymentSheetParameters(
// // Set to true for custom flow
// customFlow: false,
// // Main params
// merchantDisplayName: 'reFilc',
// paymentIntentClientSecret: data['paymentIntent'],
// // Customer keys
// customerEphemeralKeySecret: data['ephemeralKey'],
// customerId: data['customer'],
// // Extra options
// // applePay: const stripe.PaymentSheetApplePay(
// // merchantCountryCode: 'HU',
// // ),
// googlePay: const stripe.PaymentSheetGooglePay(
// merchantCountryCode: 'HU',
// testEnv: true,
// ),
// style: ThemeMode.system,
// ),
// );
// return true;
// } catch (e) {
// // ignore: use_build_context_synchronously
// ScaffoldMessenger.of(context).showSnackBar(
// SnackBar(content: Text('Error: $e')),
// );
// rethrow;
// }
// }
// Future<Map?> _createPaymentSheet() async {
// Map? data = await FilcAPI.createPaymentSheet("refilcplus");
// return data;
// }
}

View File

@@ -1,54 +0,0 @@
import 'package:flutter/material.dart';
import 'package:flutter_svg/svg.dart';
class GithubCard extends StatelessWidget {
const GithubCard({super.key, this.onPressed});
final void Function()? onPressed;
@override
Widget build(BuildContext context) {
return Card(
margin: EdgeInsets.zero,
elevation: 0,
shape: RoundedRectangleBorder(borderRadius: BorderRadius.circular(14.0)),
color: const Color(0xff2B2B2B),
child: Material(
type: MaterialType.transparency,
child: InkWell(
borderRadius: BorderRadius.circular(14.0),
onTap: onPressed,
child: Padding(
padding:
const EdgeInsets.symmetric(horizontal: 16.0, vertical: 12.0)
.add(const EdgeInsets.only(top: 4.0)),
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Row(
children: [
const Expanded(
child: Text(
"Támogass minket Githubon, hogy megszerezd a jutalmakat!",
style: TextStyle(color: Colors.white),
),
),
SvgPicture.asset("assets/images/github.svg"),
],
),
const SizedBox(height: 4.0),
Chip(
backgroundColor: Colors.black.withValues(alpha: .5),
label: const Text(
"Már támogatsz? Jelentkezz be!",
style: TextStyle(color: Colors.white),
),
),
],
),
),
),
),
);
}
}

View File

@@ -1,107 +0,0 @@
import 'package:refilc/theme/colors/colors.dart';
import 'package:refilc_plus/providers/plus_provider.dart';
// import 'package:refilc_plus/ui/mobile/plus/activation_view/activation_view.dart';
import 'package:flutter/material.dart';
import 'package:flutter_feather_icons/flutter_feather_icons.dart';
import 'package:flutter_svg/svg.dart';
import 'package:provider/provider.dart';
class GithubConnectButton extends StatelessWidget {
const GithubConnectButton({super.key});
@override
Widget build(BuildContext context) {
final premium = Provider.of<PlusProvider>(context);
return Card(
margin: EdgeInsets.zero,
elevation: 0,
color: const Color(0xff2B2B2B),
shape: RoundedRectangleBorder(borderRadius: BorderRadius.circular(14.0)),
child: InkWell(
borderRadius: BorderRadius.circular(14.0),
onTap: () {
if (premium.hasPremium) {
premium.auth.refreshAuth(removePremium: true);
ScaffoldMessenger.of(context).showSnackBar(SnackBar(
content: Text(
"Prémium deaktiválva.",
style: TextStyle(
color: AppColors.of(context).text,
fontWeight: FontWeight.bold,
fontSize: 18.0),
),
backgroundColor: Theme.of(context).scaffoldBackgroundColor,
));
return;
}
// Navigator.of(context).push(MaterialPageRoute(builder: (context) {
// // return const PremiumActivationView();
// }));
},
child: Padding(
padding: const EdgeInsets.symmetric(vertical: 12.0),
child: Row(
children: [
Padding(
padding: const EdgeInsets.symmetric(horizontal: 16.0),
child: Stack(
children: [
SvgPicture.asset(
"assets/images/github.svg",
height: 32.0,
),
Positioned.fill(
child: Align(
alignment: Alignment.bottomRight,
child: Transform.translate(
offset: const Offset(3.0, 4.0),
child: Container(
padding: const EdgeInsets.all(4.0),
decoration: const BoxDecoration(
color: Color(0xff2B2B2B),
shape: BoxShape.circle,
),
child: const SizedBox(
height: 14.0,
width: 14.0,
),
),
),
),
),
Positioned.fill(
child: Align(
alignment: Alignment.bottomRight,
child: Transform.translate(
offset: const Offset(2.0, 2.0),
child: Icon(
premium.hasPremium
? FeatherIcons.minusCircle
: FeatherIcons.plusCircle,
color: Colors.white,
size: 16.0,
),
),
),
),
],
),
),
Text(
premium.hasPremium
? "GitHub szétkapcsolása"
: "GitHub csatlakoztatása",
style: const TextStyle(
fontWeight: FontWeight.w600,
fontSize: 20,
color: Colors.white),
),
],
),
),
),
);
}
}

View File

@@ -1,81 +0,0 @@
import 'dart:ui';
import 'package:flutter/material.dart';
class PremiumGoalCard extends StatelessWidget {
const PremiumGoalCard({super.key, this.progress = 100, this.target = 1});
final double progress;
final double target;
@override
Widget build(BuildContext context) {
return Card(
margin: EdgeInsets.zero,
shape: RoundedRectangleBorder(borderRadius: BorderRadius.circular(20.0)),
child: Padding(
padding: const EdgeInsets.all(20.0),
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Text(
"Cél: ${target.round()} támogató",
style:
const TextStyle(fontWeight: FontWeight.bold, fontSize: 18.0),
),
const SizedBox(height: 8.0),
Stack(
alignment: Alignment.center,
children: [
Container(
height: 12,
decoration: BoxDecoration(
color: Colors.black.withValues(alpha: .2),
borderRadius: BorderRadius.circular(45.0),
),
),
LayoutBuilder(
builder: (context, size) {
return Align(
alignment: Alignment.centerLeft,
child: Row(
children: [
Container(
height: 12,
width: size.maxWidth * (progress / 100),
decoration: BoxDecoration(
gradient: const LinearGradient(colors: [
Color(0xFFFF2A9D),
Color(0xFFFF37F7)
]),
borderRadius: BorderRadius.circular(45.0),
),
),
Transform.translate(
offset: const Offset(-15.0, 0),
child: Stack(
children: [
ImageFiltered(
imageFilter:
ImageFilter.blur(sigmaX: 5, sigmaY: 5),
child: Image.asset("assets/images/heart.png",
color:
Colors.black.withValues(alpha: .3)),
),
Image.asset("assets/images/heart.png"),
],
),
),
],
),
);
},
),
],
),
],
),
),
);
}
}

View File

@@ -1,348 +0,0 @@
import 'package:flutter/material.dart';
import 'package:provider/provider.dart';
import 'package:refilc/models/settings.dart';
import 'package:refilc_mobile_ui/common/action_button.dart';
import 'package:refilc_plus/providers/plus_provider.dart';
import 'package:refilc_plus/ui/mobile/plus/activation_view/activation_view.dart';
import 'package:refilc_mobile_ui/plus/plus_screen.i18n.dart';
import 'package:url_launcher/url_launcher.dart';
import 'package:uuid/uuid.dart';
class PlusPlanCard extends StatelessWidget {
const PlusPlanCard({
super.key,
required this.iconPath,
required this.title,
required this.description,
required this.color,
required this.gradient,
this.price = 0,
required this.id,
this.active = false,
this.borderRadius,
this.features = const [],
required this.docsAccepted,
});
final String iconPath;
final String title;
final String description;
final Color color;
final LinearGradient gradient;
final double price;
final String id;
final bool active;
final BorderRadiusGeometry? borderRadius;
final List<List<String>> features;
final bool docsAccepted;
@override
Widget build(BuildContext context) {
return GestureDetector(
onTap: () {
// if (!docsAccepted) {
// ScaffoldMessenger.of(context).showSnackBar(const SnackBar(
// content: Text(
// "El kell fogadnod az ÁSZF-et és az Adatkezelési Tájékoztatót!",
// style:
// TextStyle(color: Colors.black, fontWeight: FontWeight.bold),
// ),
// backgroundColor: Colors.white,
// ));
// return;
// }
if (Provider.of<SettingsProvider>(context, listen: false).xFilcId ==
"none") {
Provider.of<SettingsProvider>(context, listen: false)
.update(xFilcId: const Uuid().v4(), store: true);
}
// if (Provider.of<SettingsProvider>(context, listen: false).xFilcId ==
// "none") {
// ScaffoldMessenger.of(context).showSnackBar(const SnackBar(
// content: Text(
// "Be kell kapcsolnod a Névtelen Analitikát a beállítások főoldalán, mielőtt reFilc+ előfizetést vásárolnál!",
// style:
// TextStyle(color: Colors.black, fontWeight: FontWeight.bold),
// ),
// backgroundColor: Colors.white,
// ));
// return;
// }
if (Provider.of<PlusProvider>(context, listen: false).hasPremium) {
if (!active) {
launchUrl(
Uri.parse(
'https://billing.stripe.com/p/login/4gwbIRclL89D5PicMM'),
mode: LaunchMode.inAppBrowserView,
);
}
return;
}
showDialog(
context: context,
builder: (context) => AlertDialog(
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(12.0)),
title: Text('docs'.i18n),
content: Text('docs_acceptance'.i18n),
actions: [
ActionButton(
label: "next".i18n,
onTap: () {
// pop dialog
Navigator.of(context).pop();
// show payment option selector
showDialog(
context: context,
builder: (context) => AlertDialog(
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(12.0)),
title: Text('payment_method'.i18n),
content: Text('select_payment_method'.i18n),
actions: [
ActionButton(
label: "stripe".i18n,
onTap: () {
// pop dialog
Navigator.of(context).pop();
// start payment process
Navigator.of(context)
.push(MaterialPageRoute(builder: (context) {
return PremiumActivationView(
product: id,
paymentProvider: "stripe",
);
}));
},
),
ActionButton(
label: "paypal".i18n,
onTap: () {
// pop dialog
Navigator.of(context).pop();
// start payment process
Navigator.of(context)
.push(MaterialPageRoute(builder: (context) {
return PremiumActivationView(
product: id,
paymentProvider: "paypal",
);
}));
},
),
],
),
);
},
),
],
),
);
},
child: Container(
decoration: BoxDecoration(
gradient: gradient,
borderRadius: borderRadius!.add(BorderRadius.circular(1.5)),
),
padding: const EdgeInsets.all(1.5),
child: Card(
margin: EdgeInsets.zero,
shape: RoundedRectangleBorder(
borderRadius: borderRadius!,
),
shadowColor: Colors.transparent,
surfaceTintColor: Colors.white,
color: Colors.white.withValues(alpha: 0.9),
child: Padding(
padding: const EdgeInsets.only(
top: 18.0, bottom: 16.0, left: 22.0, right: 18.0),
child: Column(
children: [
Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [
Row(
children: [
Image.asset(
iconPath,
width: iconPath.endsWith('ink.png') ? 29.0 : 25.0,
height: 25.0,
),
const SizedBox(
width: 12.0,
),
Text(
title,
style: const TextStyle(
fontSize: 22.0,
color: Color(0xFF0B0B0B),
fontWeight: FontWeight.w600,
height: 1.2,
),
),
],
),
Container(
decoration: BoxDecoration(
borderRadius: BorderRadius.circular(20.0),
gradient: active
? const LinearGradient(
begin: Alignment.topLeft,
end: Alignment.bottomRight,
colors: [
Color.fromARGB(255, 196, 213, 253),
Color.fromARGB(255, 227, 235, 250),
Color.fromARGB(255, 214, 226, 250),
],
)
: const LinearGradient(
colors: [
Color(0xFFEFF4FE),
Color(0xFFEFF4FE),
],
),
),
padding: const EdgeInsets.all(2.0),
child: Container(
decoration: BoxDecoration(
borderRadius: BorderRadius.circular(20.0),
color: const Color(0xFFEFF4FE),
),
padding: const EdgeInsets.symmetric(
horizontal: 10.0, vertical: 2.0),
child: Text(
active
? 'active'.i18n
: '${price.toStringAsFixed(2).replaceAll('.', ',')} €',
style: const TextStyle(
fontSize: 16.6,
color: Color(0xFF243F76),
fontWeight: FontWeight.w600,
),
),
),
),
],
),
const SizedBox(
height: 12.0,
),
Text(
description,
style: TextStyle(
color: const Color(0xFF011234).withValues(alpha: 0.6),
fontSize: 13.69,
fontWeight: FontWeight.w500,
),
),
const SizedBox(
height: 14.20,
),
Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: features
.map((e) => Column(
children: [
const SizedBox(
height: 10.0,
),
Row(
children: [
SizedBox(
width: 22.22,
child: Text(
e[0],
style: const TextStyle(fontSize: 18.0),
),
),
const SizedBox(
width: 14.0,
),
Expanded(
child: e[1].endsWith('tier_benefits')
? Text.rich(
style: const TextStyle(
height: 1.2,
fontWeight: FontWeight.w500,
color: Color(0xFF011234),
fontSize: 13.69,
),
TextSpan(
children: [
TextSpan(
text: 'every'.i18n,
),
e[1].startsWith('cap')
? const TextSpan(
text: 'reFilc+',
style: TextStyle(
color:
Color(0xFF7C3EFF),
fontWeight:
FontWeight.w600,
),
)
: TextSpan(
children: [
const TextSpan(
text: 'reFilc+',
style: TextStyle(
color: Color(
0xFF7C3EFF),
fontWeight:
FontWeight
.w600,
),
),
TextSpan(
text: 'and'.i18n,
),
const TextSpan(
text:
'reFilc+ Gold',
style: TextStyle(
color: Color(
0xFF0061BB),
fontWeight:
FontWeight
.w600,
),
),
],
),
TextSpan(text: 'benefit'.i18n),
],
),
)
: Text(
e[1],
maxLines: 2,
style: const TextStyle(
height: 1.2,
color: Color(0xFF011234),
fontWeight: FontWeight.w500,
fontSize: 13.69,
),
),
),
],
),
],
))
.toList(),
),
],
),
),
),
),
);
}
}

View File

@@ -1,79 +0,0 @@
import 'package:flutter/material.dart';
class PremiumRewardCard extends StatelessWidget {
const PremiumRewardCard(
{super.key,
this.imageKey,
this.icon,
this.title,
this.description,
this.soon = false});
final String? imageKey;
final Widget? icon;
final Widget? title;
final Widget? description;
final bool soon;
@override
Widget build(BuildContext context) {
return Card(
margin: EdgeInsets.zero,
shape: RoundedRectangleBorder(borderRadius: BorderRadius.circular(16.0)),
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
if (soon)
const Padding(
padding: EdgeInsets.only(left: 8.0),
child: Chip(
labelPadding: EdgeInsets.zero,
padding: EdgeInsets.symmetric(horizontal: 12.0),
backgroundColor: Color(0x777645D3),
label: Text("Hamarosan",
style: TextStyle(fontWeight: FontWeight.w500)),
),
),
if (imageKey != null)
Padding(
padding: const EdgeInsets.symmetric(horizontal: 14.0)
.add(EdgeInsets.only(bottom: 12.0, top: soon ? 0 : 14.0)),
child: Image.asset("assets/images/${imageKey!}.png"),
)
else
const SizedBox(height: 12),
Padding(
padding: const EdgeInsets.symmetric(horizontal: 12.0),
child: Row(
children: [
if (icon != null) ...[icon!, const SizedBox(width: 12.0)],
if (title != null)
Expanded(
child: DefaultTextStyle(
style: Theme.of(context)
.textTheme
.bodyMedium!
.copyWith(fontWeight: FontWeight.w700, fontSize: 20),
child: title!,
),
),
],
),
),
if (description != null)
Padding(
padding: const EdgeInsets.symmetric(horizontal: 12.0)
.add(const EdgeInsets.only(top: 4.0, bottom: 12.0)),
child: DefaultTextStyle(
style: Theme.of(context)
.textTheme
.bodyMedium!
.copyWith(fontSize: 16),
child: description!,
),
),
],
),
);
}
}

View File

@@ -1,35 +0,0 @@
import 'package:refilc/models/supporter.dart';
import 'package:flutter/material.dart';
class SupporterChip extends StatelessWidget {
const SupporterChip({super.key, required this.supporter});
final Supporter supporter;
@override
Widget build(BuildContext context) {
return Chip(
side: BorderSide.none,
shape: const StadiumBorder(side: BorderSide.none),
padding: const EdgeInsets.all(8.0),
avatar: supporter.avatar != ""
? CircleAvatar(
backgroundColor: Theme.of(context).colorScheme.secondary,
backgroundImage: NetworkImage(supporter.avatar),
)
: null,
labelPadding: const EdgeInsets.only(left: 12.0, right: 8.0),
label: Text.rich(
TextSpan(children: [
TextSpan(text: supporter.name),
if (supporter.type == DonationType.once)
TextSpan(
text: " \$${supporter.price}",
style: const TextStyle(fontWeight: FontWeight.w400),
),
]),
style: const TextStyle(fontWeight: FontWeight.bold, fontSize: 16.0),
),
);
}
}

View File

@@ -1,79 +0,0 @@
import 'package:refilc/models/supporter.dart';
import 'package:refilc_mobile_ui/plus/components/supporter_chip.dart';
import 'package:refilc_mobile_ui/plus/components/supporter_tile.dart';
import 'package:flutter/material.dart';
class SupporterGroupCard extends StatelessWidget {
const SupporterGroupCard({
super.key,
this.title,
this.icon,
this.expanded = false,
this.supporters = const [],
this.glow,
});
final Widget? icon;
final Widget? title;
final bool expanded;
final List<Supporter> supporters;
final Color? glow;
@override
Widget build(BuildContext context) {
return Container(
decoration: BoxDecoration(
borderRadius: BorderRadius.circular(20.0),
boxShadow: [
if (glow != null)
BoxShadow(
color: glow!.withValues(alpha: .2),
blurRadius: 60.0,
),
],
),
child: Card(
margin: EdgeInsets.zero,
shape:
RoundedRectangleBorder(borderRadius: BorderRadius.circular(20.0)),
child: Padding(
padding: const EdgeInsets.all(24.0),
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Row(
children: [
if (icon != null) ...[icon!, const SizedBox(width: 12.0)],
if (title != null)
Expanded(
child: DefaultTextStyle(
style: Theme.of(context)
.textTheme
.titleLarge!
.copyWith(fontWeight: FontWeight.w700),
child: title!,
),
),
],
),
const SizedBox(height: 12.0),
if (expanded)
Column(
children: supporters
.map((e) => SupporterTile(supporter: e))
.toList(),
)
else
Wrap(
spacing: 8.0,
children: supporters
.map((e) => SupporterChip(supporter: e))
.toList(),
),
],
),
),
),
);
}
}

View File

@@ -1,23 +0,0 @@
import 'package:refilc/models/supporter.dart';
import 'package:flutter/material.dart';
class SupporterTile extends StatelessWidget {
const SupporterTile({super.key, required this.supporter});
final Supporter supporter;
@override
Widget build(BuildContext context) {
return ListTile(
contentPadding: EdgeInsets.zero,
leading: CircleAvatar(
backgroundImage: NetworkImage(supporter.avatar),
),
title: Text(
supporter.name,
style: const TextStyle(fontWeight: FontWeight.bold),
),
subtitle: Text(supporter.comment),
);
}
}

View File

@@ -1,82 +0,0 @@
import 'dart:math';
import 'package:refilc/models/supporter.dart';
import 'package:refilc_mobile_ui/plus/components/avatar_stack.dart';
import 'package:refilc_mobile_ui/plus/supporters_screen.dart';
import 'package:flutter/material.dart';
class SupportersButton extends StatelessWidget {
const SupportersButton({super.key, required this.supporters});
final Future<Supporters?> supporters;
@override
Widget build(BuildContext context) {
return Card(
shape: const StadiumBorder(),
margin: EdgeInsets.zero,
child: InkWell(
customBorder: const StadiumBorder(),
onTap: () {
Navigator.of(context).push(
MaterialPageRoute(
builder: (context) => SupportersScreen(supporters: supporters)),
);
},
child: Container(
padding: const EdgeInsets.symmetric(vertical: 16.0, horizontal: 14.0),
child: Row(
children: [
const Expanded(
child: Text(
"Köszönjük, támogatók!",
style: TextStyle(fontWeight: FontWeight.bold, fontSize: 17.0),
),
),
FutureBuilder<Supporters?>(
future: supporters,
builder: (context, snapshot) {
if (!snapshot.hasData) {
return const SizedBox();
}
final sponsors = snapshot.data!.github
.where((e) => e.type == DonationType.monthly)
.toList();
sponsors.shuffle(Random(
(DateTime.now().millisecondsSinceEpoch /
1000 /
60 /
60 /
24)
.floor()));
return AvatarStack(
children: [
// ignore: prefer_is_empty
if (sponsors.length > 0 && sponsors[0].avatar != "")
CircleAvatar(
backgroundColor:
Theme.of(context).colorScheme.secondary,
backgroundImage: NetworkImage(sponsors[0].avatar),
),
if (sponsors.length > 1 && sponsors[1].avatar != "")
CircleAvatar(
backgroundColor:
Theme.of(context).colorScheme.secondary,
backgroundImage: NetworkImage(sponsors[1].avatar),
),
if (sponsors.length > 2 && sponsors[2].avatar != "")
CircleAvatar(
backgroundColor:
Theme.of(context).colorScheme.secondary,
backgroundImage: NetworkImage(sponsors[2].avatar),
),
],
);
}),
],
),
),
),
);
}
}

View File

@@ -1,845 +0,0 @@
// ignore_for_file: use_build_context_synchronously
import 'package:flutter/services.dart';
import 'package:refilc_mobile_ui/plus/plus_screen.i18n.dart';
import 'package:refilc_mobile_ui/plus/components/plan_card.dart';
import 'package:flutter_feather_icons/flutter_feather_icons.dart';
import 'package:flutter/material.dart';
import 'package:provider/provider.dart';
import 'package:refilc_plus/providers/plus_provider.dart';
import 'package:refilc_plus/ui/mobile/plus/upsell.dart';
import 'components/active_sponsor_card.dart';
// import 'components/github_button.dart';
class PlusScreen extends StatefulWidget {
const PlusScreen({super.key});
@override
State<PlusScreen> createState() => PlusScreenState();
}
class PlusScreenState extends State<PlusScreen> {
Uri parseTierUri({required String tierId}) {
return Uri.parse(
'https://github.com/sponsors/refilc/sponsorships?tier_id=$tierId&preview=true');
}
bool showLifetime = false;
bool docsAccepted = false;
@override
Widget build(BuildContext context) {
LinearGradient plusGradient = const LinearGradient(
colors: [
Color(0xFF7087FF),
Color(0xFF9069FF),
Color(0xFFE4D7FF),
Color(0xFFDBC5FF),
Color(0xFFE57DFF),
Color(0xFFDBB7FF),
Color(0xFF6850FF),
Color(0xFF2144FF),
],
stops: [0.0, 0.16, 0.32, 0.49, 0.69, 0.8, 0.92, 1.0],
begin: Alignment.topLeft,
end: Alignment.bottomRight,
);
LinearGradient goldGradient = const LinearGradient(
colors: [
Color(0xFFFFBD70),
Color(0xFFFFDE69),
Color(0xFFFFECD7),
Color(0xFFFFE4C5),
Color(0xFFFFDB7D),
Color(0xFFFFDEB7),
Color(0xFFFFAE50),
Color(0xFFFF9921),
],
stops: [0.0, 0.16, 0.32, 0.49, 0.69, 0.8, 0.92, 1.0],
begin: Alignment.topLeft,
end: Alignment.bottomRight,
);
return Scaffold(
backgroundColor: const Color(0xffF4F9FF),
body: Container(
padding: EdgeInsets.zero,
width: double.infinity,
decoration: const BoxDecoration(
image: DecorationImage(
image: AssetImage('assets/images/premium_top_banner.png'),
fit: BoxFit.fitWidth,
alignment: Alignment.topCenter,
),
),
child: Container(
decoration: BoxDecoration(
gradient: LinearGradient(
colors: [
const Color(0xffF4F9FF).withValues(alpha: 0.30),
const Color(0xffF4F9FF).withValues(alpha: 0.40),
const Color(0xffF4F9FF).withValues(alpha: 0.50),
const Color(0xffF4F9FF).withValues(alpha: 0.60),
const Color(0xffF4F9FF).withValues(alpha: 0.70),
],
begin: Alignment.topCenter,
end: Alignment.bottomCenter,
stops: const [0.0, 0.1, 0.15, 0.2, 0.25],
),
),
child: ListView(
children: [
Container(
decoration: BoxDecoration(
gradient: LinearGradient(
colors: [
const Color(0xffF4F9FF).withValues(alpha: 0.0),
const Color(0xffF4F9FF).withValues(alpha: 0.7),
const Color(0xffF4F9FF).withValues(alpha: 0.8),
const Color(0xffF4F9FF).withValues(alpha: 0.9),
const Color(0xffF4F9FF),
],
begin: Alignment.topCenter,
end: Alignment.bottomCenter,
stops: const [0.0, 0.1, 0.15, 0.18, 0.22],
),
),
child: Padding(
padding: const EdgeInsets.symmetric(
horizontal: 20.0, vertical: 15.0),
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
// heading (title, x button)
Padding(
padding: const EdgeInsets.only(left: 12.0),
child: Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [
const Text(
'reFilc+',
style: TextStyle(
fontSize: 33,
color: Color(0xFF0a1c41),
fontWeight: FontWeight.bold,
),
),
IconButton(
onPressed: () => Navigator.of(context).pop(),
icon: const Icon(
FeatherIcons.x,
color: Colors.black,
),
)
],
),
),
Padding(
padding: const EdgeInsets.symmetric(horizontal: 12.0),
child: Text.rich(
TextSpan(
text: 'even_more_cheaper'.i18n,
style: const TextStyle(
height: 1.2,
fontSize: 22,
color: Color(0xFF0A1C41),
fontWeight: FontWeight.w600,
),
children: [
WidgetSpan(
child: Transform.translate(
offset: const Offset(1.0, -5.5),
child: Text(
'1',
style: TextStyle(
fontSize: 14.4,
color: const Color(0xFF0A1C41)
.withValues(alpha: 0.5),
fontWeight: FontWeight.w600,
),
),
),
),
],
),
),
),
// cards and description
const SizedBox(
height: 60,
),
Padding(
padding: const EdgeInsets.symmetric(horizontal: 12.0),
child: Text.rich(
TextSpan(
children: [
TextSpan(text: 'support_1'.i18n),
WidgetSpan(
child: Transform.translate(
offset: const Offset(1.0, -3.6),
child: Text(
'2',
style: TextStyle(
color: const Color(0xFF011234)
.withValues(alpha: 0.5),
fontSize: 10.0,
fontWeight: FontWeight.w500,
),
),
),
),
TextSpan(
text: 'support_2'.i18n,
),
],
style: TextStyle(
color: const Color(0xFF011234)
.withValues(alpha: 0.6),
fontWeight: FontWeight.w500,
),
),
),
),
const SizedBox(
height: 18,
),
PlusPlanCard(
active: ActiveSponsorCard.estimateLevel(
context.watch<PlusProvider>().scopes) ==
PremiumFeatureLevel.cap,
iconPath: 'assets/images/plus_tier_cap.png',
title: 'reFilc+',
description: 'tier_rfp'.i18n,
color: const Color(0xFF7C3EFF),
gradient: plusGradient,
id: showLifetime ? 'refilcpluslifetime' : 'refilcplus',
price: showLifetime ? 29.99 : 0.99,
borderRadius: const BorderRadius.vertical(
top: Radius.circular(16.0),
bottom: Radius.circular(16.0)),
features: [
['✨', 'rfp_1'.i18n],
['1️⃣', 'rfp_5'.i18n],
// ['👥', 'rfp_2'.i18n],
['👋', 'rfp_3'.i18n],
['📓', 'rfp_4'.i18n],
// ['🎓', 'rfp_6'.i18n],
['📩', 'rfp_17'.i18n],
['🪟', 'rfp_18'.i18n],
['👕', 'rfp_14'.i18n],
['👑', 'rfp_15'.i18n],
['🔜', 'more_soon'.i18n],
],
docsAccepted: docsAccepted,
),
const SizedBox(
height: 12.0,
),
PlusPlanCard(
active: ActiveSponsorCard.estimateLevel(
context.watch<PlusProvider>().scopes) ==
PremiumFeatureLevel.ink,
iconPath: 'assets/images/plus_tier_ink.png',
title: 'reFilc+ Gold',
description: 'tier_rfpgold'.i18n,
color: const Color(0xFFFFBD3E),
gradient: goldGradient,
id: showLifetime
? 'refilcplusgoldlifetime'
: 'refilcplusgold',
price: showLifetime ? 49.99 : 2.99,
borderRadius: const BorderRadius.vertical(
top: Radius.circular(16.0),
bottom: Radius.circular(16.0)),
features: [
['🕑', 'rfp_7'.i18n],
['🔤', 'rfp_8'.i18n],
// ['👥', 'rfp_9'.i18n],
// ['🎓', 'Összesített átlagszámoló'],
['📱', 'rfp_10'.i18n],
['🟦', 'rfp_11'.i18n],
['📒', 'rfp_12'.i18n],
['📅', 'rfp_13'.i18n],
['👀', 'rfp_16'.i18n],
const ['🖋️', 'cap_tier_benefits'],
['🔜', 'more_soon'.i18n],
],
docsAccepted: docsAccepted,
),
// const SizedBox(
// height: 8.0,
// ),
// PlusPlanCard(
// active: ActiveSponsorCard.estimateLevel(
// context.watch<PlusProvider>().scopes) ==
// PremiumFeatureLevel.sponge,
// iconPath: 'assets/images/plus_tier_sponge.png',
// title: 'Szivacs',
// description:
// 'Férj hozzá még több funkcióhoz, használj még több profilt és tedd egyszerűbbé mindennapjaid.',
// color: const Color(0xFFFFC700),
// id: 'refilcplusgold',
// price: 4.99,
// borderRadius: const BorderRadius.vertical(
// top: Radius.circular(8.0),
// bottom: Radius.circular(16.0)),
// features: const [
// ['👥', 'Korlátlan fiók használata egyszerre'],
// ['🖋️', 'ink_cap_tier_benefits'],
// ],
// ),
// const SizedBox(
// height: 18.0,
// ),
// const GithubLoginButton(),
// lifetime plan toggle
const SizedBox(
height: 18.0,
),
Container(
decoration: BoxDecoration(
borderRadius: BorderRadius.circular(16.0),
border: Border.all(
color: Colors.black.withValues(alpha: 0.2),
),
),
child: SwitchListTile(
contentPadding:
const EdgeInsets.only(left: 15.0, right: 10.0),
value: showLifetime,
onChanged: (value) {
setState(() {
showLifetime = !showLifetime;
});
},
title: Text(
'show_lifetime'.i18n,
style: const TextStyle(
color: Colors.black,
fontWeight: FontWeight.w500,
),
),
),
),
// reactivate plus
const SizedBox(
height: 18.0,
),
Container(
decoration: BoxDecoration(
borderRadius: BorderRadius.circular(16.0),
border: Border.all(
color: Colors.black.withValues(alpha: 0.2),
),
),
child: ListTile(
contentPadding:
const EdgeInsets.only(left: 15.0, right: 10.0),
onTap: () async {
// try clipboard re-activation
final data = await Clipboard.getData("text/plain");
if (data != null &&
data.text != null &&
data.text != "") {
// activate using clipboard data
final result = await context
.read<PlusProvider>()
.auth
.finishAuth(data.text!);
if (!result && mounted) {
ScaffoldMessenger.of(context)
.showSnackBar(const SnackBar(
content: Text(
"Sikertelen aktiválás. Kérlek próbáld újra később!",
style: TextStyle(
color: Colors.white,
fontWeight: FontWeight.bold),
),
backgroundColor: Colors.red,
));
} else {
ScaffoldMessenger.of(context)
.showSnackBar(const SnackBar(
content: Text(
"Sikeres aktiválás!",
style: TextStyle(
color: Colors.white,
fontWeight: FontWeight.bold),
),
backgroundColor: Colors.green,
));
Future.delayed(const Duration(seconds: 2),
() => Navigator.of(context).pop());
}
}
// try re-activation using refresh
final result = await context
.read<PlusProvider>()
.auth
.refreshAuth(reactivate: true);
if (mounted) {
if (result) {
ScaffoldMessenger.of(context)
.showSnackBar(const SnackBar(
content: Text(
"Sikeres aktiválás!",
style: TextStyle(
color: Colors.white,
fontWeight: FontWeight.bold),
),
backgroundColor: Colors.green,
));
Future.delayed(const Duration(seconds: 2),
() => Navigator.of(context).pop());
} else {
ScaffoldMessenger.of(context)
.showSnackBar(const SnackBar(
content: Text(
"Sikertelen aktiválás. Kérlek próbáld újra később!",
style: TextStyle(
color: Colors.white,
fontWeight: FontWeight.bold),
),
backgroundColor: Colors.red,
));
}
}
},
title: Text(
'reactivate'.i18n,
style: const TextStyle(
color: Colors.black,
fontWeight: FontWeight.w500,
),
),
),
),
// aszf warning
// const SizedBox(
// height: 18.0,
// ),
// Container(
// decoration: BoxDecoration(
// borderRadius: BorderRadius.circular(16.0),
// border: Border.all(
// color: Colors.black.withValues(alpha: 0.2),
// ),
// ),
// child: CheckboxListTile(
// side:
// const BorderSide(color: Colors.black, width: 2.0),
// contentPadding:
// const EdgeInsets.only(left: 15.0, right: 10.0),
// value: docsAccepted,
// onChanged: (value) {
// setState(() {
// docsAccepted = !docsAccepted;
// });
// },
// // title: Text(
// // 'show_lifetime'.i18n,
// // style: const TextStyle(
// // color: Colors.black,
// // fontWeight: FontWeight.w500,
// // ),
// // ),
// subtitle: const Text(
// 'Elfogadod a reFilc előfizetésekkel kapcsolatos Általános Szerződési Feltételeit (elérhető az alábbi link-en: filc.one/pay-terms), valamint Adatkezelési Tájékoztatónkat (elérhető az alábbi link-en: filc.one/pay-privacy)?',
// textAlign: TextAlign.start,
// style: TextStyle(color: Colors.black),
// ),
// ),
// ),
// CheckboxListTile(value: false, onChanged: onChanged)
// Padding(
// padding: const EdgeInsets.symmetric(horizontal: 12.0),
// child: Text(
// 'A szolgáltatási csomag kiválasztásával (megérintés) elfogadod a reFilc előfizetésekkel kapcsolatos Általános Szerződési Feltételeit (elérhető az alábbi link-en: filc.one/pay-terms), valamint Adatkezelési Tájékoztatónkat (elérhető az alábbi link-en: filc.one/pay-privacy).',
// textAlign: TextAlign.justify,
// style:
// TextStyle(color: Colors.black.withValues(alpha: 0.9)),
// ),
// ),
// faq section
const SizedBox(
height: 30.0,
),
Padding(
padding: const EdgeInsets.symmetric(horizontal: 12.0),
child: Text(
'faq'.i18n,
style: TextStyle(
color:
const Color(0xFF011234).withValues(alpha: 0.6),
fontWeight: FontWeight.w500,
),
),
),
const SizedBox(
height: 18,
),
Card(
margin: EdgeInsets.zero,
shape: const RoundedRectangleBorder(
borderRadius: BorderRadius.vertical(
top: Radius.circular(16.0),
bottom: Radius.circular(8.0),
),
),
shadowColor: Colors.transparent,
surfaceTintColor: const Color(0xffFFFFFF),
color: Colors.white,
child: Padding(
padding: const EdgeInsets.only(
top: 18.0,
bottom: 16.0,
left: 22.0,
right: 18.0,
),
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Text(
'money'.i18n,
style: const TextStyle(
fontSize: 16.6,
fontWeight: FontWeight.w600,
color: Colors.black,
),
),
const SizedBox(
height: 14.0,
),
Text.rich(
TextSpan(
style: TextStyle(
color: const Color(0xFF011234)
.withValues(alpha: 0.6),
fontWeight: FontWeight.w500,
),
children: [
TextSpan(
text: 'm_1'.i18n,
),
WidgetSpan(
child: Transform.translate(
offset: const Offset(1.0, -3.6),
child: Text(
'3',
style: TextStyle(
color: const Color(0xFF011234)
.withValues(alpha: 0.5),
fontSize: 10.0,
fontWeight: FontWeight.w500,
),
),
),
),
TextSpan(
text: 'm_2'.i18n,
),
],
),
),
],
),
),
),
const SizedBox(
height: 8.0,
),
Card(
margin: EdgeInsets.zero,
shape: const RoundedRectangleBorder(
borderRadius: BorderRadius.vertical(
top: Radius.circular(8.0),
bottom: Radius.circular(16.0),
),
),
shadowColor: Colors.transparent,
surfaceTintColor: const Color(0xffFFFFFF),
color: Colors.white,
child: Padding(
padding: const EdgeInsets.only(
top: 18.0,
bottom: 16.0,
left: 22.0,
right: 18.0,
),
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Text(
'open'.i18n,
style: const TextStyle(
fontSize: 16.6,
fontWeight: FontWeight.w600,
color: Colors.black,
),
),
const SizedBox(
height: 14.0,
),
Text(
'o_1'.i18n,
style: TextStyle(
color: const Color(0xFF011234)
.withValues(alpha: 0.6),
fontWeight: FontWeight.w500,
),
),
],
),
),
),
const SizedBox(
height: 30.0,
),
Padding(
padding: const EdgeInsets.symmetric(horizontal: 12.0),
child: Text(
'desc'.i18n,
style: TextStyle(
color:
const Color(0xFF011234).withValues(alpha: 0.6),
fontWeight: FontWeight.w500,
),
),
),
const SizedBox(
height: 18,
),
Card(
margin: EdgeInsets.zero,
shape: const RoundedRectangleBorder(
borderRadius: BorderRadius.vertical(
top: Radius.circular(8.0),
bottom: Radius.circular(16.0),
),
),
shadowColor: Colors.transparent,
surfaceTintColor: const Color(0xffFFFFFF),
color: Colors.white,
child: Padding(
padding: const EdgeInsets.only(
top: 18.0,
bottom: 16.0,
left: 22.0,
right: 18.0,
),
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Row(
children: [
Container(
decoration: BoxDecoration(
color: const Color(0xff011234),
borderRadius: BorderRadius.circular(20.0),
),
padding: const EdgeInsets.symmetric(
horizontal: 10.0,
vertical: 2.5,
),
child: const Text(
'1',
style: TextStyle(
color: Colors.white,
fontWeight: FontWeight.w500,
),
),
),
const SizedBox(
width: 14.0,
),
Expanded(
child: Text(
'cheaper'.i18n,
maxLines: 5,
style: const TextStyle(
fontWeight: FontWeight.w500,
fontSize: 14.4,
height: 1.3,
color: Colors.black,
),
),
),
],
),
const SizedBox(
height: 14.0,
),
Row(
children: [
Container(
decoration: BoxDecoration(
color: const Color(0xff011234),
borderRadius: BorderRadius.circular(20.0),
),
padding: const EdgeInsets.symmetric(
horizontal: 8.8,
vertical: 2.5,
),
child: const Text(
'2',
style: TextStyle(
color: Colors.white,
fontWeight: FontWeight.w500,
),
),
),
const SizedBox(
width: 14.0,
),
Expanded(
child: Text(
'qwit'.i18n,
maxLines: 5,
style: const TextStyle(
fontWeight: FontWeight.w500,
fontSize: 14.4,
height: 1.3,
color: Colors.black,
),
),
),
],
),
const SizedBox(
height: 14.0,
),
Row(
children: [
Container(
decoration: BoxDecoration(
color: const Color(0xff011234),
borderRadius: BorderRadius.circular(20.0),
),
padding: const EdgeInsets.symmetric(
horizontal: 8.6,
vertical: 2.5,
),
child: const Text(
'3',
style: TextStyle(
color: Colors.white,
fontWeight: FontWeight.w500,
),
),
),
const SizedBox(
width: 14.0,
),
Expanded(
child: Text(
'apple'.i18n,
maxLines: 5,
style: const TextStyle(
fontWeight: FontWeight.w500,
fontSize: 14.4,
height: 1.3,
color: Colors.black,
),
),
),
],
),
const SizedBox(
height: 14.0,
),
Row(
children: [
Container(
decoration: BoxDecoration(
color: const Color(0xff011234),
borderRadius: BorderRadius.circular(20.0),
),
padding: const EdgeInsets.symmetric(
horizontal: 7.9,
vertical: 2.5,
),
child: const Text(
'4',
style: TextStyle(
color: Colors.white,
fontWeight: FontWeight.w500,
),
),
),
const SizedBox(
width: 14.0,
),
Expanded(
child: Text(
'eur'.i18n,
maxLines: 5,
style: const TextStyle(
fontWeight: FontWeight.w500,
fontSize: 14.4,
height: 1.3,
color: Colors.black,
),
),
),
],
),
const SizedBox(
height: 14.0,
),
Row(
children: [
Container(
decoration: BoxDecoration(
color: const Color(0xff011234),
borderRadius: BorderRadius.circular(20.0),
),
padding: const EdgeInsets.symmetric(
horizontal: 7.9,
vertical: 2.5,
),
child: const Text(
'5',
style: TextStyle(
color: Colors.white,
fontWeight: FontWeight.w500,
),
),
),
const SizedBox(
width: 14.0,
),
Expanded(
child: Text(
'faq_dc'.i18n,
maxLines: 5,
style: const TextStyle(
fontWeight: FontWeight.w500,
fontSize: 14.4,
height: 1.3,
color: Colors.black,
),
),
),
],
),
],
),
),
),
],
),
),
),
],
),
),
),
);
}
}

View File

@@ -1,206 +0,0 @@
import 'package:i18n_extension/i18n_extension.dart';
extension SettingsLocalization on String {
static final _t = Translations.byLocale("hu_hu") +
{
"en_en": {
"even_more_cheaper": "More reFilc, cheaper\nthan anything else!",
"support_1": "Support QwIT",
"support_2": " and get useful features in return!",
"tier_rfp": "More customisation, more accounts, easier notes.",
"tier_rfpgold":
"Get access to more features and make your day better and simpler.",
"faq": "FAQ",
"money": "What will you spend my money on?",
"m_1":
"We will spend the money from our supporters on the \$100 fee of the Apple",
"m_2":
" Developer Program, our servers, and the reFilc domains. The remaining money will be spent on other development stuff, and pizza parties.",
"open": "Will reFilc stay open-source?",
"o_1":
"Yes, reFilc is, and always will be, open-source. Subscribers can ask for the source code of reFilc+ on our Discord server.",
"desc": "Explanations",
"cheaper":
"The lowest tier of service is cheaper than most known subscriptions, but there may be exceptions.",
"qwit":
"\"QwIT\" is an abbreviation of \"QwIT Development\", the development team behind reFilc and other projects.",
"apple": "\"Apple\" is a trademark of Apple Inc.",
"eur":
"Prices are displayed in euros, which means it's dependant on the exchange rate. 1 EUR ≈ 390 HUF",
"active": "Active",
// benefits
"rfp_1": "Early access to updates",
"rfp_2": "Use two accounts simaltaneously",
"rfp_3": "Custom welcome message",
"rfp_4": "Unlimited custom notes and tasks on the Notebook page",
"rfp_5": "Custom grade rarities",
"rfp_6": "Overall average calculator",
"rfp_7": "Timetable notes",
"rfp_8": "Custom font types",
"rfp_9": "Unlimited accounts",
"rfp_10": "Custom app icon (from v5.1)",
"rfp_11": "Change Live Activity color",
"rfp_12": "Better goal planner",
"rfp_13": "Import your timetable into your calendar app",
"rfp_14": "Discount in reFilc Shop (soon)",
"rfp_15": "Subscriber role in our Discord community",
"rfp_16": "Private leaks and informations about upcoming features",
"rfp_17": "Grade exporting",
"rfp_18": "Viewing exported grades",
// docs and payment method popup
"docs": "Documents",
"docs_acceptance":
"By pressing the \"Next\" button, you accept reFilc's Terms and Conditions for subscriptions (available at the following link: filc.one/pay-terms) and our Privacy Policy (available at the following link: filc.one/pay-privacy).",
"next": "Next",
"payment_method": "Payment Method",
"select_payment_method":
"Please select a preferred payment method! Credit card payments are handled by Stripe, which also supports Apple Pay, Google Pay and Revolut Pay.",
"stripe": "Credit Card",
"paypal": "PayPal",
// other
"and": " and ",
"every": "Every ",
"benefit": " benefit",
"show_lifetime": "Show Lifetime Plans",
"more_soon": "More coming soon...",
"faq_dc":
"To redeem your Discord-related benefits, contact us on Discord in DMs!",
"reactivate": "Reactivate Existing Subscription",
},
"hu_hu": {
"even_more_cheaper": "Még több reFilc, olcsóbban,\nmint bármi más!",
"support_1": "Támogasd a QwIT",
"support_2": " csapatát, és szerezz cserébe pár kényelmes jutalmat!",
"tier_rfp":
"Több személyre szabás, több fiók, egyszerű feladatfeljegyzés.",
"tier_rfpgold":
"Férj hozzá még több funkcióhoz és tedd egyszerűbbé mindennapjaid.",
"faq": "Gyakori kérdések",
"money": "Mire költitek a pénzt?",
"m_1": "A támogatásokból kapott pénz elsősorban az Apple",
"m_2":
" Developer Program évi \$100-os díját, valamint az API mögött álló szerverek és a reFilc domain címek árát fedezi, a maradékot egyéb fejlesztésekre, fejlesztői fagyizásra fordítjuk.",
"open": "Még mindig nyílt a forráskód?",
"o_1":
"Igen, a reFilc teljesen nyílt forráskódú, és ez így is fog maradni. A reFilc+ funkcióinak forráskódjához bármely támogatónk hozzáférhet, ha ezt Discord-on kérelmezi.",
"desc": "Magyarázatok",
"cheaper":
"A szolgáltatás legalacsonyabb szintje olcsóbb a legtöbb ismert előfizetésnél, viszont előfordulhatnak kivételek.",
"qwit":
"A \"QwIT\" a \"QwIT Development\" rövid neve, ez a fejlesztői csapat neve, mely a reFilc és egyéb projektek mögött áll.",
"apple": "Az \"Apple\" az Apple Inc. védjegye.",
"eur":
"Az árak euróban vannak feltüntetve, így az árfolyam befolyásolja, hogy mennyit kell fizetned a szolgáltatásért. 1 EUR ≈ 390 Ft",
"active": "Aktív",
// benefits
"rfp_1": "Előzetes hozzáférés új verziókhoz",
"rfp_2": "2 fiók használata egyszerre",
"rfp_3": "Egyedi üdvözlő üzenet",
"rfp_4": "Korlátlan saját jegyzet és feladat a füzet oldalon",
"rfp_5": "Egyedi jegy ritkaságok",
"rfp_6": "Összesített átlagszámoló",
"rfp_7": "Órarend jegyzetek",
"rfp_8": "Egyedi betütípusok",
"rfp_9": "Korlátlan fiók használata egyszerre",
"rfp_10": "Alkalmazás ikonjának megváltoztatása (v5.1-től)",
"rfp_11": "Live Activity szín",
"rfp_12": "Fejlettebb cél kitűzés",
"rfp_13": "Naptár szinkronizálás",
"rfp_14": "Kedvezmény a reFilc Shop-ban (hamarosan)",
"rfp_15": "Előfizetői rang a Discord szerverünkön",
"rfp_16": "Privát betekintések és információk közelgő újításokról",
"rfp_17": "Jegy exportálás",
"rfp_18": "Exportált jegyek megtekintése",
// docs and payment method popup
"docs": "Dokumentumok",
"docs_acceptance":
"A \"Tovább\" gombra kattintva elfogadod a reFilc előfizetésekkel kapcsolatos Általános Szerződési Feltételeit (elérhető az alábbi link-en: filc.one/pay-terms), valamint Adatkezelési Tájékoztatónkat (elérhető az alábbi link-en: filc.one/pay-privacy).",
"next": "Tovább",
"payment_method": "Fizetési mód",
"select_payment_method":
"Kérlek válassz egy fizetési módot! A bankkártyás fizetést a Stripe biztosítja, mely támogat Apple Pay-t, Google Pay-t és Revolut Pay-t is.",
"stripe": "Bankkártya",
"paypal": "PayPal",
// other
"and": " és ",
"every": "Minden ",
"benefit": " előny",
"show_lifetime": "Örökre szóló csomagok",
"more_soon": "Hamarosan mégtöbb finomság...",
"faq_dc":
"A Discord-al kapcsolatos előnyök beváltásához írj nekünk Discord-on privát üzenetet!",
"reactivate": "Meglévő előfizetés újraaktiválása",
},
"de_de": {
"even_more_cheaper": "Mehr reFilc, günstiger\nals alles andere!",
"support_1": "Unterstütze QwIT",
"support_2": " und du kriegst mehr nützliche Features!",
"tier_rfp":
"Mehr Personalisierung, mehr Profile, einfachere Notizen.",
"tier_rfpgold":
"Hol dir mehr Features und mach damit dein Alltag einfacher.",
"faq": "Häufig gestellte Fragen (FAQ)",
"money": "Was tun wir mit deinem Geld?",
"m_1":
"Wir verwenden das gesammelte Geld von unseren Sponsoren ausschließlich auf die \$100 Gebühr von dem Apple",
"m_2":
" Developer Program, unsere Server und die reFilc Domänen. Das restliche Geld wird auf andere Entwicklungsbezogene Dinge und auch Pizza Parties bezweckt.",
"open": "Wird reFilc Open-Source bleiben?",
"o_1":
"Ja, reFilc ist und bleibt weiterhin ein Open-Source Projekt. Abonnenten des reFilc+ Abos können auch natürlich den Quellcode dieser Version in unserem Discord Server finden.",
"desc": "Erklärung/Aufklärung",
"cheaper":
"Das günstigste Abonnement ist das beliebteste, es gibt natürlich aber auch ausnahmen.",
"qwit":
"\"QwIT\" ist ein Teil of \"QwIT Development\", die Entwickler hinter des Programms reFilc.",
"apple": "\"Apple\" ist eine geschützte Marke von Apple Inc.",
"eur":
"Der Preis wird in Euro angegeben im Bezug zum aktuellen Wechselkurs. 1 EUR ≈ 390 HUF",
"active": "Aktiv",
// benefits
"rfp_1": "Frühzeitiger Zugriff auf Updates",
"rfp_2": "Verwendung von zwei Konten gleichzeitig",
"rfp_3": "Individuelle Begrüßungsnachricht",
"rfp_4":
"Unbegrenzte eigene Notizen und Aufgaben auf der Notizbuchseite",
"rfp_5": "Individuelle Notenraritäten",
"rfp_6": "Gesamtdurchschnittsberechner",
"rfp_7": "Stundenplan-Notizen",
"rfp_8": "Individuelle Schriftarten",
"rfp_9": "Unbegrenzte Konten",
"rfp_10": "Anpassung des App-Symbols (ab v5.1)",
"rfp_11": "Änderung der Live-Aktivitätsfarbe",
"rfp_12": "Verbesserter Zielplaner",
"rfp_13": "Importieren Sie Ihren Stundenplan in Ihre Kalender-App",
"rfp_14": "Rabatt im reFilc Shop (bald)",
"rfp_15": "Abonnentenrolle in unserer Discord-Community",
"rfp_16": "Private Leaks und Informationen über kommende Funktionen",
"rfp_17": "Notenexport",
"rfp_18": "Anzeigen exportierter Noten",
// docs and payment method popup
"docs": "Dokumente",
"docs_acceptance":
"Durch Drücken der Schaltfläche \"Weiter\" akzeptieren Sie die Allgemeinen Geschäftsbedingungen von reFilc für Abonnements (verfügbar unter folgendem Link: filc.one/pay-terms) und unsere Datenschutzrichtlinie (verfügbar unter folgendem Link: filc.one/pay-privacy).",
"next": "Weiter",
"payment_method": "Zahlungsmethode",
"select_payment_method":
"Bitte wählen Sie eine bevorzugte Zahlungsmethode aus! Kreditkartenzahlungen werden von Stripe abgewickelt, der auch Apple Pay, Google Pay und Revolut Pay unterstützt.",
"stripe": "Kreditkarte",
"paypal": "PayPal",
// other
"and": " und ",
"every": "Jeder ",
"benefit": " Vorteil",
"show_lifetime": "Für immer Pakete",
"more_soon": "Mehr folgt bald...",
"faq_dc":
"Um Ihre Vorteile einzulösen, schreiben Sie uns eine private Nachricht auf Discord!",
"reactivate": "Bestehendes Abonnement reaktivieren",
},
};
String get i18n => localize(this, _t);
String fill(List<Object> params) => localizeFill(this, params);
String plural(int value) => localizePlural(value, this, _t);
String version(Object modifier) => localizeVersion(modifier, this, _t);
}

View File

@@ -1,126 +0,0 @@
import 'dart:ui';
import 'package:refilc/icons/filc_icons.dart';
import 'package:refilc_mobile_ui/plus/plus_screen.dart';
import 'package:flutter/material.dart';
import 'package:animations/animations.dart';
class PremiumButton extends StatefulWidget {
const PremiumButton({super.key});
@override
State<PremiumButton> createState() => _PremiumButtonState();
}
class _PremiumButtonState extends State<PremiumButton>
with TickerProviderStateMixin {
late final AnimationController _animation;
bool _heldDown = false;
@override
void initState() {
super.initState();
_animation =
AnimationController(vsync: this, duration: const Duration(seconds: 3));
_animation.repeat();
}
@override
void dispose() {
_animation.dispose();
super.dispose();
}
@override
Widget build(BuildContext context) {
return OpenContainer(
openColor: Theme.of(context).scaffoldBackgroundColor,
closedColor: Theme.of(context).scaffoldBackgroundColor,
clipBehavior: Clip.none,
transitionType: ContainerTransitionType.fadeThrough,
openElevation: 0,
closedElevation: 0,
closedShape:
RoundedRectangleBorder(borderRadius: BorderRadius.circular(14.0)),
openBuilder: (context, _) => const PlusScreen(),
closedBuilder: (context, action) => GestureDetector(
onTapDown: (_) => setState(() => _heldDown = true),
onTapUp: (_) => setState(() => _heldDown = false),
onTapCancel: () => setState(() => _heldDown = false),
onTap: action,
child: Stack(
alignment: Alignment.center,
children: [
// RGB background animation
AnimatedBuilder(
animation: _animation,
builder: (context, child) {
return Padding(
padding: const EdgeInsets.symmetric(horizontal: 18.0),
child: ClipRRect(
borderRadius: BorderRadius.circular(14.0),
child: ImageFiltered(
imageFilter:
ImageFilter.blur(sigmaX: 10.0, sigmaY: 10.0),
child: Container(
height: 70,
decoration: BoxDecoration(
gradient: SweepGradient(
colors: const [
Colors.blue,
Colors.orange,
Colors.purple,
Colors.blue,
],
transform: GradientRotation(
_animation.value * 6.283185)),
),
),
),
),
);
}),
// Button background & text
BackdropFilter(
filter: ImageFilter.blur(sigmaX: 6.0, sigmaY: 6.0),
child: AnimatedScale(
duration: const Duration(milliseconds: 250),
curve: Curves.easeOutBack,
scale: _heldDown ? 1.03 : 1,
child: Container(
margin: const EdgeInsets.symmetric(horizontal: 24.0),
width: double.infinity,
height: 60,
decoration: BoxDecoration(
borderRadius: BorderRadius.circular(14.0),
gradient: const LinearGradient(colors: [
Color(0xff124F3D),
Color(0xff1EA18F),
]),
),
child: const Row(
mainAxisAlignment: MainAxisAlignment.center,
children: [
Icon(FilcIcons.premium, color: Colors.white),
SizedBox(width: 12.0),
Text(
"reFilc+",
style: TextStyle(
color: Colors.white,
fontWeight: FontWeight.bold,
fontSize: 20.0,
),
textAlign: TextAlign.center,
),
],
),
),
),
),
],
),
),
);
}
}

Some files were not shown because too many files have changed in this diff Show More