Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Allows users to see their first and second period on the homescreen before school starts. #126

Open
wants to merge 271 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
271 commits
Select commit Hold shift + click to select a range
cc3dc50
Switched PeriodReminderTime to number period, not based on Special
Levi-Lesches Oct 13, 2020
0f1d8de
Merge branch 'master' into web
Levi-Lesches Oct 13, 2020
3d88b20
Cleanup
Levi-Lesches Oct 13, 2020
f2adee1
Merge branch 'master' into web
Levi-Lesches Oct 13, 2020
9d719da
Fixed faculty Firestore bug
Levi-Lesches Oct 13, 2020
d5d371c
Created constants.testers
Levi-Lesches Oct 14, 2020
0da5a6b
Added redundancy error checking
Levi-Lesches Oct 14, 2020
d470a2d
Migrated to new Crashlytics SDK (Android)
Levi-Lesches Oct 14, 2020
daedce7
Changed name to RamLife (iOS, Android)
Levi-Lesches Oct 14, 2020
42e4ec3
Migrated to new Android Embedding (v2)
Levi-Lesches Oct 14, 2020
7e7830c
Made HomePage stateless
Levi-Lesches Oct 14, 2020
9918f25
Cleaned Student.getPeriods
Levi-Lesches Oct 14, 2020
b9b8de8
Documented data library
Levi-Lesches Oct 14, 2020
6aba893
Organized Services into Services and Databases
Levi-Lesches Oct 14, 2020
a8df7ee
Fixed models to handle new Service and Database
Levi-Lesches Oct 14, 2020
99d5bc6
Fixed pages to handle new Service and Database
Levi-Lesches Oct 14, 2020
dfc2f97
Disable Crashlytics during debug mode
Levi-Lesches Oct 14, 2020
939a9c7
Reinstated HomeModel, properly this time
Levi-Lesches Oct 14, 2020
ca261cd
Refactored login page logic
Levi-Lesches Oct 14, 2020
c396007
Fixed models dispose issues
Levi-Lesches Oct 14, 2020
b144f9d
Fixed upper-case email bug
Levi-Lesches Oct 14, 2020
b17f0f9
Turned Crashlytics into a Service
Levi-Lesches Oct 14, 2020
dc7d66c
refactored Notifications to a Service
Levi-Lesches Oct 14, 2020
df979fd
built version 2.0.2
todesj Oct 14, 2020
a014601
Documented Services library
Levi-Lesches Oct 14, 2020
36d0b2e
Refactored FCM into the PushNotification Service
Levi-Lesches Oct 14, 2020
528941c
Cleaned up Services exports
Levi-Lesches Oct 14, 2020
f30b4b5
Defined data classes for clubs feature
Levi-Lesches Oct 14, 2020
4347968
Organized data library
Levi-Lesches Oct 15, 2020
c11ed5f
Cleanup after reorganizing data library
Levi-Lesches Oct 15, 2020
2e33ef4
Fixed some null errors in User.fromJson
Levi-Lesches Oct 15, 2020
7b1b433
Disabled FCM due to native errors
Levi-Lesches Oct 15, 2020
82da10a
Merge branch 'master' into coding-club-prep
Levi-Lesches Oct 15, 2020
c0a221c
Left groundwork for coding club 10/22/2020
Levi-Lesches Oct 15, 2020
73950c2
Repo cleanup -- gitignore and analysis_options
Levi-Lesches Oct 16, 2020
0dbe55e
Revert "Left groundwork for coding club 10/22/2020"
Levi-Lesches Oct 16, 2020
842b392
Fixed bug on modified day
Levi-Lesches Oct 16, 2020
415e679
Incorporated Advisory into Firestore
Levi-Lesches Oct 16, 2020
8184adb
Added ContactInfo to User
Levi-Lesches Oct 18, 2020
10d4e35
Bumped version to 2.1.0
Levi-Lesches Oct 18, 2020
b8af443
Merge branch 'master' of https://github.com/Levi-Lesches/RamLife
todesj Oct 20, 2020
606a399
Merge branch 'master' of https://github.com/Levi-Lesches/RamLife
todesj Oct 20, 2020
b563ba7
Merge pull request #7 from todesj/master
Levi-Lesches Oct 20, 2020
d0f4530
Documented services library
Levi-Lesches Oct 20, 2020
290c99a
Made data models inherit from Model
Levi-Lesches Oct 21, 2020
21d020a
Added UserModel
Levi-Lesches Oct 21, 2020
8f1226b
tried to upgrade crashlytics
todesj Oct 21, 2020
faae1a9
Deleted Admin models in favor of UserModel
Levi-Lesches Oct 23, 2020
8c8c6e7
Made Schedule rely on User model'
Levi-Lesches Oct 23, 2020
038c856
Refactored Period to use PeriodData
Levi-Lesches Oct 27, 2020
d8e554b
Documented models
Levi-Lesches Oct 27, 2020
721daf2
Cleaned up docs for widgets
Levi-Lesches Oct 27, 2020
216d6dc
Finished documentation
Levi-Lesches Oct 27, 2020
e3216ac
Merge branch 'ios-crashlytics'
todesj Oct 27, 2020
b6b253d
Merge pull request #8 from todesj/master
Levi-Lesches Oct 27, 2020
c56004c
Fixed some more bugs
Levi-Lesches Oct 28, 2020
4926284
Fixed notifications TZ bug
Levi-Lesches Oct 28, 2020
29d6584
Cleanup
Levi-Lesches Oct 28, 2020
5c808aa
Fixed admin bug
Levi-Lesches Oct 28, 2020
dfc53e0
Fixed NextClass to use Period.getName
Levi-Lesches Oct 28, 2020
983b9e9
Bumped version to 2.1.1
Levi-Lesches Oct 28, 2020
3530c35
Bumped version to 2.1.1
Levi-Lesches Oct 28, 2020
19402a2
Merge branch 'master' of https://github.com/Levi-Lesches/RamLife
Levi-Lesches Oct 28, 2020
35fa1db
Merge branch 'master' into web
Levi-Lesches Oct 28, 2020
c524429
Cleaned up merge with master into web
Levi-Lesches Oct 28, 2020
bea4180
Config iOS version to be dependent on pubspec.yaml
Levi-Lesches Oct 28, 2020
cfaa369
Fixed some bugs on the web app
Levi-Lesches Oct 28, 2020
780780d
Merge branch 'web'
Levi-Lesches Oct 28, 2020
4829eac
Converted ObjectStoreExtension.get to Map<String, dynamic with casting
Levi-Lesches Oct 28, 2020
6085a10
Refactored main to rely on SplashPage
Levi-Lesches Oct 28, 2020
96a9880
Prioritized brightness in SplashScreen
Levi-Lesches Oct 29, 2020
2b61d46
Fixed bug where LocalDatabase fails on null value
Levi-Lesches Oct 29, 2020
2c7013c
Refactored SplashPage
Levi-Lesches Oct 29, 2020
210b609
Detect downgrades in LocalDatabase
Levi-Lesches Oct 29, 2020
3007d11
Organized reminders dataclasses into different files
Levi-Lesches Nov 2, 2020
ae10bc7
Refactored Database.reminders
Levi-Lesches Nov 2, 2020
2c874b8
Refactored page refresh logic for web
Levi-Lesches Nov 2, 2020
90ac0b5
Redesigned AdminPage to be more responsive
Levi-Lesches Nov 2, 2020
b222d84
Changed admin page icon in the drawer
Levi-Lesches Nov 4, 2020
70ea63c
Moved routing logic to RouteInitializer
Levi-Lesches Mar 22, 2021
7637767
Fixed some web issues
Levi-Lesches Mar 22, 2021
1f82bb4
Fixed some ReminderPage deprecations
Levi-Lesches Mar 22, 2021
1b46c66
Moved HomePage to custom ResponsiveScaffold
Levi-Lesches Mar 24, 2021
8793245
Added null safety (Dart 2.12) to pubspec.yaml
Levi-Lesches Mar 24, 2021
6b873ed
Converted club data to nnbd
Levi-Lesches Mar 24, 2021
60fb236
Converted reminder data to nnbd
Levi-Lesches Mar 24, 2021
5a71e81
Migrated schedule data to nnbd
Levi-Lesches Mar 25, 2021
eccef88
Migrated the whole data library to nnbd
Levi-Lesches Mar 25, 2021
d9b4afa
Migrated data models to NNBD
Levi-Lesches Mar 25, 2021
e6ef78b
Migrated view models to nnbd
Levi-Lesches Mar 25, 2021
4591f29
Updated dependencies to nnbd
Levi-Lesches Mar 25, 2021
0368de7
Migrated Services to nnbd
Levi-Lesches Mar 26, 2021
45b2a43
Migrated widgets library to nnbd
Levi-Lesches Mar 26, 2021
4ff2a0c
Migrated pages library to nnbd
Levi-Lesches Mar 26, 2021
e2330b0
Cleanup on Web -- successful login!
Levi-Lesches Mar 26, 2021
45790f2
Updated firebase scripts for nnbd
Levi-Lesches Mar 26, 2021
669f47e
Redid home page to include DashboardPage, SchedulePage, ReminderPage
Levi-Lesches Mar 26, 2021
d35ead1
Bump y18n from 3.2.1 to 3.2.2 in /firebase/rules_test
dependabot[bot] Mar 31, 2021
929afec
Merge pull request #9 from Levi-Lesches/dependabot/npm_and_yarn/fireb…
Levi-Lesches Mar 31, 2021
8cf99c2
Moved ResponsiveScaffold into RamLife for easier management
Levi-Lesches Apr 2, 2021
c348a69
Migrated ResponsivePage -> NavigationItem
Levi-Lesches Apr 2, 2021
48b6dd9
Refactored AdminHomePage into a collapsible menu in the drawer.
Levi-Lesches Apr 5, 2021
d60ebc2
Redesigned RouteInitializer and FeedbackPage
Levi-Lesches Apr 5, 2021
9cbd6f5
Merge branch 'master' of https://github.com/Levi-Lesches/RamLife
Levi-Lesches Apr 5, 2021
aac4744
Optimized RouteInitializer logic
Levi-Lesches Apr 5, 2021
6277bce
Fixed broken SchedulePage controls
Levi-Lesches Apr 6, 2021
b61c53f
Fixed null error in AdminCalendarPage
Levi-Lesches Apr 6, 2021
922e09f
Fixed AdminCalendarPage
Levi-Lesches Apr 6, 2021
f9722f2
Fixed bug with BrightnessChanger
Levi-Lesches Apr 6, 2021
3484f6d
Cleaned up Firebase tooling
Levi-Lesches Apr 9, 2021
cd6865c
Fixed small bugs for launch
Levi-Lesches Apr 11, 2021
09f4e3c
Made Database update Sports and calendar more frequently
Levi-Lesches Apr 11, 2021
e3cf898
Don't make SchedulePage dispose itself
Levi-Lesches Apr 11, 2021
507140d
Fixed small layout issue with ResponsiveScaffold drawers
Levi-Lesches Apr 11, 2021
ca1475b
Disabled Sports for now
Levi-Lesches Apr 12, 2021
e42c01e
Migrated data library from Special -> Schedule
Levi-Lesches Apr 12, 2021
522771d
Refactored out Admin dataclass
Levi-Lesches Apr 13, 2021
e72e8d0
Fully migrated Special -> Schedule
Levi-Lesches Apr 13, 2021
7a01a4a
Migrated all JSON from Map<String, dynamic> -> Map
Levi-Lesches Apr 13, 2021
6daefdf
Migrated models library JSON
Levi-Lesches Apr 13, 2021
1e85942
Migrated services JSON
Levi-Lesches Apr 13, 2021
62f3efb
Final touches on Special -> Schedule migration
Levi-Lesches Apr 14, 2021
f964d4f
Cleaned up changes to Admin
Levi-Lesches Apr 14, 2021
1ac44a5
Fixed errant call to ScheduleModels.updateReminders
Levi-Lesches Apr 14, 2021
9a86a95
Refresh schedules and calendar together
Levi-Lesches Apr 14, 2021
c83b495
Hide sports page until Covid-19 subsides
Levi-Lesches Apr 14, 2021
bfe1cae
Added better support for testers, thanks to Ms. Taub
Levi-Lesches Apr 14, 2021
59bc694
Removed unnecessary ! by updating cloud_firestore
Levi-Lesches Apr 14, 2021
b7a2b51
Removed Admin data from admin firestore.dart
Levi-Lesches Apr 14, 2021
4b8f648
Auth.signOut now revokes auth -- no more forced signing in
Levi-Lesches Apr 14, 2021
26f10be
Added CloudDatabase.registerForClub
Apr 15, 2021
21df68f
Merge pull request #30 from BraydenKO/clubs
Levi-Lesches Apr 15, 2021
1a05fe3
Merge branch 'master' of https://github.com/Levi-Lesches/RamLife
Levi-Lesches Apr 15, 2021
ba854ca
Updated web icons to be maskable
Levi-Lesches Apr 15, 2021
be5442b
Added Subject.virtualLink
Levi-Lesches Apr 15, 2021
9070f1c
Added Zoom links to Firestore
Levi-Lesches Apr 15, 2021
bb1c141
Added zoom link to Period.getInfo
Levi-Lesches Apr 15, 2021
e9280d2
Made zoom links selectable
Levi-Lesches Apr 15, 2021
0991f0d
Made Zoom links clickable
Levi-Lesches Apr 15, 2021
4ec8a79
Removed all instances of Special and replaced with Schedule
Levi-Lesches Apr 15, 2021
830452c
Fixed web.manifest.json
Levi-Lesches Apr 15, 2021
68acc5e
Auto-generate documentation
Levi-Lesches Apr 16, 2021
3827d11
Update documentation.yml
Levi-Lesches Apr 16, 2021
30b1244
Generated documentation
Apr 16, 2021
8cd3b30
Fixed BrightnessChanger regression
Levi-Lesches Apr 19, 2021
873f459
Update documentation.yml
Levi-Lesches Apr 19, 2021
be993c7
Improved documentation bot
Levi-Lesches Apr 19, 2021
1f04891
Make doc bot pull branches first
Levi-Lesches Apr 19, 2021
c144026
Merge branch 'master' into documentation
Levi-Lesches Apr 19, 2021
102ba70
deleted docs folder
Levi-Lesches Apr 19, 2021
7294067
Remove merge from doc bot
Levi-Lesches Apr 19, 2021
47fadd2
Replaced outdated SpecialBuilder with modern ScheduleBuilder
Levi-Lesches Apr 20, 2021
6c00dcb
Added git status to doc-bot
Levi-Lesches Apr 20, 2021
6215bf9
Remove docs from .gitignore
Levi-Lesches Apr 20, 2021
7f0fd0b
Remove docs before generating
Levi-Lesches Apr 20, 2021
3055cff
Confirm that docs have been generated.
Levi-Lesches Apr 20, 2021
1fa4976
Made ScheduleBuilder refresh when name changed
Levi-Lesches Apr 20, 2021
cb4eb93
Allow admins to update schedules
Levi-Lesches Apr 20, 2021
ed892ae
Remove docs before generating
Levi-Lesches Apr 20, 2021
70b9ff1
Refactored doc-bot
Levi-Lesches Apr 20, 2021
cb77ff4
Added Git pull to doc-bot
Levi-Lesches Apr 20, 2021
cefbe84
Added missing documentation for data library
Levi-Lesches Apr 20, 2021
824733e
Added missing docs for the pages library
Levi-Lesches Apr 20, 2021
65e1e38
Try adding more comprehensive docs
Levi-Lesches Apr 20, 2021
3364fb1
Added missing docs for the services library
Levi-Lesches Apr 20, 2021
45b1b55
Include more Services in docs
Levi-Lesches Apr 20, 2021
d740bb5
Added missing docs for models library
Levi-Lesches Apr 20, 2021
867acd5
Added missing docs for widgets library
Levi-Lesches Apr 20, 2021
0345e27
Merge branch 'master' of https://github.com/Levi-Lesches/RamLife
Levi-Lesches Apr 20, 2021
1416063
doc-bot: merge new changes before generating docs
Levi-Lesches Apr 20, 2021
b703cb6
doc-bot: Allow merge of unrelated histories
Levi-Lesches Apr 20, 2021
f7b57cf
Add two GitHub actions (#53)
Levi-Lesches Apr 21, 2021
9849726
Auto deploy website to Firebase hosting (#54)
Levi-Lesches Apr 21, 2021
10f02ac
Auto deploy fix (#55)
Levi-Lesches Apr 21, 2021
44f3fdf
Actual fix for auto-deploy (#56)
Levi-Lesches Apr 21, 2021
02945eb
Auto-deploy PR now targets test
Levi-Lesches Apr 21, 2021
777356e
Add main target to Firebase hosting (#59)
Levi-Lesches Apr 22, 2021
383c79b
Add main as target (#60)
Levi-Lesches Apr 22, 2021
bc353b6
Create CODEOWNERS
Levi-Lesches Apr 22, 2021
811aa07
Test
Levi-Lesches Apr 22, 2021
4a74e57
Deleted test
Levi-Lesches Apr 22, 2021
c08bd24
Delete test
Levi-Lesches Apr 22, 2021
72542b1
Merge branch 'master' of https://github.com/Levi-Lesches/RamLife
Levi-Lesches Apr 26, 2021
6612faf
Fixed brightness bug (#65)
DavidTarrab Apr 26, 2021
c3a42d8
Brought iOS up-to-date for App Store release
todesj Apr 27, 2021
2716a4c
Reintroduce code to properly initialize brightness
Levi-Lesches Apr 27, 2021
3d778b0
Switch IDB version back to 2
Levi-Lesches Apr 27, 2021
a2ed9a0
Fixed login bug
Levi-Lesches Apr 27, 2021
dc48dc7
Added IT as testers
Levi-Lesches Apr 27, 2021
a23c941
Temporarily patched
Levi-Lesches Apr 27, 2021
3296354
Fixed Ios issue (#69)
todesj Apr 28, 2021
5a76f2c
Migrated from ModelListener widget to ModelListener extends State (#66)
Levi-Lesches Apr 28, 2021
3036fcb
Merged origin/master into master
Levi-Lesches Apr 28, 2021
23ac7c3
Fixed model dispose bug on home screen
Levi-Lesches Apr 29, 2021
b6de23a
Fixed HomeScreen page-switching issues
Levi-Lesches Apr 30, 2021
80df3c6
Bump lodash from 4.17.19 to 4.17.21 in /firebase/rules_test (#74)
dependabot[bot] May 12, 2021
3671298
Bump lodash in /firebase/cloud_functions/functions (#75)
dependabot[bot] May 12, 2021
70b3cde
Bump grpc from 1.24.2 to 1.24.9 in /firebase/rules_test (#76)
dependabot[bot] May 12, 2021
e7b90ce
Add Blocking Issues to RamLife (#77)
Levi-Lesches May 12, 2021
c77123c
Completely redid the database (#70)
Levi-Lesches May 13, 2021
26dae77
Run bot on PR commit so the check passes
Levi-Lesches May 16, 2021
caac713
Change IDB reminders from autoincrement to ID
Levi-Lesches May 16, 2021
29e366f
Schedule search (#84)
Levi-Lesches Jul 18, 2021
59ca9d1
.
Levi-Lesches Aug 2, 2021
80e1207
Credits Page (#57)
Levi-Lesches Sep 15, 2021
9a23910
Updated pubspec.lock and removed it from .gitignore
Levi-Lesches Sep 19, 2021
1599b11
Alphabetized some imports
Levi-Lesches Sep 19, 2021
19621c7
Bump tar from 4.4.13 to 4.4.19 in /firebase/rules_test (#92)
dependabot[bot] Sep 19, 2021
02ee0f9
Bump path-parse in /firebase/cloud_functions/functions (#91)
dependabot[bot] Sep 19, 2021
7ef3f35
Bump glob-parent from 5.1.0 to 5.1.2 in /firebase/rules_test (#87)
dependabot[bot] Sep 19, 2021
61d70d1
Fixed ThemeData for Flutter (#95)
DavidTarrab Sep 20, 2021
e202161
Added License
Levi-Lesches Oct 1, 2021
4154204
New Bundle ID (#97)
todesj Oct 5, 2021
33f0eff
.0
Levi-Lesches Oct 10, 2021
7658722
Python admin scripts to replace outdated Dart/JS scripts (#100)
Levi-Lesches Oct 10, 2021
8232838
Update web preview workflow to use new repo name
Levi-Lesches Oct 10, 2021
0fd58f8
Updated firebase messaging and fixed all platforms (#98)
todesj Oct 10, 2021
4a5f1ed
Switched login error email (#104)
DavidTarrab Nov 2, 2021
5fb1bd6
Android auth (#106)
todesj Nov 5, 2021
e476f91
Changed from the MIT license to the GPL v3.0
Levi-Lesches Nov 10, 2021
8f9cbef
Revert "Changed from the MIT license to the GPL v3.0"
Levi-Lesches Nov 10, 2021
8377067
Added script to sign out all users
Levi-Lesches Nov 11, 2021
fbee891
Fixes bug where users refreshed page but period time did not update (…
todesj Jan 8, 2022
00fec0e
Tap for Schedule Touch Ups (#114)
DavidTarrab Jan 8, 2022
10c9bbb
New urls (#111)
todesj Jan 8, 2022
3407964
Merge tools to master (#117)
Levi-Lesches Jan 11, 2022
433e2d5
Enabled support for Firbease Local Emulator Suite (#116)
todesj Jan 11, 2022
6567137
Subject refresh (#118)
todesj Jan 14, 2022
21f5bd5
Dashboard fix (#119)
todesj Jan 14, 2022
d454518
Ios folder xcode changes (#120)
todesj Jan 14, 2022
d81471c
Fixes Firebase initialization on Web when using the emulator (#123)
Levi-Lesches Jan 18, 2022
7a54c2e
Make the Sports page public (#122)
todesj Feb 25, 2022
cee6797
Corrected iOS Signing (#125)
todesj Feb 25, 2022
f910efd
Bump ini from 1.3.5 to 1.3.8 in /firebase/rules_test (#128)
dependabot[bot] May 16, 2022
0f4434d
Bump node-fetch in /firebase/cloud_functions/functions (#129)
dependabot[bot] May 16, 2022
dedebd4
Bump minimist from 1.2.5 to 1.2.6 in /firebase/cloud_functions/functi…
dependabot[bot] May 16, 2022
4146ed5
Bump ajv from 6.12.0 to 6.12.6 in /firebase/rules_test (#124)
dependabot[bot] May 16, 2022
5015c72
Bump protobufjs in /firebase/cloud_functions/functions (#130)
dependabot[bot] Jun 3, 2022
f2c5830
Allows users to see their firstand second period on the homescreen be…
todesj Mar 10, 2022
69fb4c8
Fixes double qoutes error
todesj Mar 10, 2022
8f4b9c1
Updated iOS Version
todesj Mar 10, 2022
ec0666f
Updated Android version number
todesj Mar 10, 2022
abecef6
changed version number
todesj Sep 6, 2022
3aeb9e7
hid zoom link from UI and changed versions
todesj Sep 8, 2022
de062ec
Android version change
todesj Sep 8, 2022
500c796
corrected apple signing errors
todesj Sep 15, 2022
a2a7a19
added back ios Podfile.lock
todesj Sep 15, 2022
7ca4117
Updated android version
todesj Sep 20, 2022
9623793
updated ios file
todesj Nov 1, 2022
6afd2a5
Removed zoom link from schedule search
todesj Feb 23, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion .firebaserc
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
{
"projects": {
"default": "ramaz-go"
},
"targets": {
"ramaz-go": {
"hosting": {
"test": [
"ramlife-test"
],
"main": [
"ramaz-go"
]
}
}
}
}
}
22 changes: 22 additions & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# Brayden Kohler has backend: data, testing, services and Firebase
/firebase/ @BraydenKO
/lib/data.dart @BraydenKO
/lib/services.dart @BraydenKO
/lib/src/data @BraydenKO
/lib/src/services @BraydenKO
/test/ @BraydenKO

# David Tarrab has frontend and android
/android/ @DavidTarrab
/images/ @DavidTarrab
/lib/app.dart @DavidTarrab
/lib/main.dart @DavidTarrab
/lib/widgets.dart @DavidTarrab
/lib/pages.dart @DavidTarrab
/lib/src/pages/ @DavidTarrab
/lib/src/widgets/ @DavidTarrab

# Josh has middleware and ios
/ios/ @todesj
/lib/models.dart @todesj
/lib/src/models/ @todesj
33 changes: 33 additions & 0 deletions .github/workflows/analyze.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Analyzer

on: pull_request

jobs:
analyze:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./repo

steps:
- name: Cache Flutter
id: cache-flutter
uses: actions/cache@v2
with:
path: flutter/
key: ${{ runner.os }}-flutter

- name: Install Flutter
if: steps.cache-flutter.outputs.cache-hit != 'true'
uses: britannio/[email protected]

- uses: actions/checkout@v2
with:
path: repo # keeps Flutter separate from repo

# Has to be after checkout since repo won't exist
- name: Add Flutter to path
run: echo "../flutter/bin" >> $GITHUB_PATH

- name: Analyze
run: flutter analyze --dartdocs
15 changes: 15 additions & 0 deletions .github/workflows/blocking-issues.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Blocking Issues

on:
issues:
types: [closed]
pull_request_target:
types: [opened, synchronize, edited]

jobs:
blocking_issues:
runs-on: ubuntu-latest
name: Checks for blocking issues

steps:
- uses: Levi-Lesches/blocking-issues@v1
74 changes: 74 additions & 0 deletions .github/workflows/documentation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
# This workflow uses actions that are not certified by GitHub.
# They are provided by a third-party and are governed by
# separate terms of service, privacy policy, and support
# documentation.

name: Documentation

on:
push:
branches: [ master ]

jobs:
documentation:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./repo
steps:
- name: Cache Flutter
id: cache-flutter
uses: actions/cache@v2
with:
path: flutter/
key: ${{ runner.os }}-flutter

- name: Install Flutter
if: steps.cache-flutter.outputs.cache-hit != 'true'
uses: britannio/[email protected]

- uses: actions/checkout@v2
with:
fetch-depth: 0
path: repo # keep Flutter separate

- name: Git Setup
run: |
git config --local user.name "github-actions[bot]"
git branch --all
git switch --track origin/documentation
git merge origin/master
rm -rf docs
git stage docs
git commit -m "Removed documentation" -m "Will generate new docs"

- name: Add Flutter to path
run: echo "../flutter/bin" >> $GITHUB_PATH

- name: Flutter Setup
run: |
flutter packages get
flutter pub global activate dartdoc
flutter pub global run dartdoc --version
flutter --version

- name: Analyze code
run: flutter analyze --dartdocs

- name: Output error
if: failure()
run: echo "::error The code or is missing documentation. Run flutter analyze --dartdocs"

- name: Generate documentation
run: flutter pub global run dartdoc --ignore 'unresolved-doc-reference,not-implemented,no-documentable-libraries,ambiguous-reexport' --exclude 'dart:async,dart:collection,dart:convert,dart:core,dart:developer,dart:io,dart:isolate,dart:math,dart:typed_data,dart:ui,dart:html,dart:js,dart:ffi,dart:js_util' --quiet --json --output docs --no-validate-links --no-verbose-warnings --no-allow-non-local-warnings

- name: Commit files
run: |
cd docs
cd ..
git status
git stage --force docs
git commit -a -m "Generated documentation"

- name: Push commit
run: git push
49 changes: 49 additions & 0 deletions .github/workflows/firebase-hosting-merge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
# This file was auto-generated by the Firebase CLI
# https://github.com/firebase/firebase-tools

name: Deploy to Firebase Hosting

on:
push:
branches: master

jobs:
build_and_deploy:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./repo

steps:
- name: Get Flutter from the cache
id: cache-flutter
uses: actions/cache@v2
with:
path: flutter/
key: ${{ runner.os }}-flutter

- name: Install Flutter
if: steps.cache-flutter.outputs.cache-hit != 'true'
uses: britannio/[email protected]

- uses: actions/checkout@v2
with:
path: repo

- name: Add Flutter to path
run: echo "../flutter/bin" >> $GITHUB_PATH

- name: Build web app
run: flutter build web

- name: Deploy web app
uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_RAMAZ_GO }}'
channelId: live
projectId: ramaz-go
entryPoint: ./repo
target: main
env:
FIREBASE_CLI_PREVIEWS: hostingchannels
47 changes: 47 additions & 0 deletions .github/workflows/firebase-hosting-pull-request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# This file was auto-generated by the Firebase CLI
# https://github.com/firebase/firebase-tools

name: Deploy web preview
on: pull_request

jobs:
build_and_preview:
if: ${{ github.event.pull_request.head.repo.full_name == 'Ramaz-Upper-School/RamLife' }}
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./repo

steps:
- name: Get Flutter from the cache
id: cache-flutter
uses: actions/cache@v2
with:
path: flutter/
key: ${{ runner.os }}-flutter

- name: Install Flutter
if: steps.cache-flutter.outputs.cache-hit != 'true'
uses: britannio/[email protected]

- uses: actions/checkout@v2
with:
path: repo

- name: Add Flutter to path
run: echo "../flutter/bin" >> $GITHUB_PATH

- name: Build web app
run: flutter build web

- name: Deploy to preview channel
uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT_RAMAZ_GO }}'
projectId: ramaz-go
entryPoint: ./repo
channelId: live
target: test
env:
FIREBASE_CLI_PREVIEWS: hostingchannels
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
*.txt.yaml
todo
/data/
docs/

# Firebase folders:
node_modules
Expand All @@ -54,7 +53,6 @@ firebase/rules_test/firestore.rules

# Miscellaneous
*.class
*.lock
*.log
*.pyc
*.swp
Expand Down
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2019 Levi Lesches

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
14 changes: 9 additions & 5 deletions analysis_options.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
analyzer:
exclude: [lib/generated_plugin_registrant.dart]
exclude:
- lib/generated_plugin_registrant.dart
- lib/firebase_options.dart
- test/*
- firebase/*
linter:
rules:
- always_declare_return_types
Expand All @@ -11,8 +15,8 @@ linter:
# - avoid_annotating_with_dynamic
# - avoid_as # dart 1 only
- avoid_bool_literals_in_conditional_expressions
- avoid_catches_without_on_clauses
- avoid_catching_errors
# - avoid_catches_without_on_clauses
# - avoid_catching_errors
- avoid_double_and_int_checks
- avoid_empty_else
- avoid_field_initializers_in_const_classes
Expand Down Expand Up @@ -54,7 +58,7 @@ linter:
- empty_constructor_bodies
- empty_statements
- file_names
- flutter_style_todos
# - flutter_style_todos
- hash_and_equals
- implementation_imports
- invariant_booleans
Expand Down Expand Up @@ -119,7 +123,7 @@ linter:
- slash_for_doc_comments
- sort_child_properties_last
# - sort_constructors_first
- sort_pub_dependencies
# - sort_pub_dependencies
- sort_unnamed_constructors_first
- test_types_in_equals
- throw_in_finally
Expand Down
10 changes: 2 additions & 8 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ if (keystorePropertiesFile.exists()) {
}

apply plugin: 'com.android.application'
apply plugin: 'io.fabric'
apply plugin: 'com.google.firebase.crashlytics'
apply from: "$flutterRoot/packages/flutter_tools/gradle/flutter.gradle"

android {
Expand All @@ -47,7 +47,7 @@ android {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId "com.ramaz.student_life"
minSdkVersion 21
targetSdkVersion 27
targetSdkVersion 30
multiDexEnabled true
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
Expand Down Expand Up @@ -83,12 +83,6 @@ flutter {
}

dependencies {
implementation 'com.crashlytics.sdk.android:crashlytics:2.10.1'
implementation 'com.google.firebase:firebase-analytics:17.2.0'
implementation 'com.google.firebase:firebase-auth:18.1.0'
implementation 'com.google.firebase:firebase-core:17.0.1'
implementation 'com.google.firebase:firebase-firestore:20.2.0'
implementation 'com.google.firebase:firebase-messaging:19.0.1'
testImplementation 'junit:junit:4.12'
androidTestImplementation 'com.android.support.test:runner:1.0.2'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2'
Expand Down
Loading