Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
96 commits
Select commit Hold shift + click to select a range
5f0de2d
First commit.
Colisian Feb 19, 2024
b46e3cd
added directory for screens.
Colisian Feb 19, 2024
3a4057e
Added proposed directories and files.
Colisian Feb 19, 2024
807097d
Added comments to describe files.
Colisian Feb 20, 2024
3ffbd8a
Updated file_service.dart
Colisian Feb 20, 2024
14ff82c
basic edits.
Colisian Feb 20, 2024
f313f19
Added file_picker dependency, and code for screen.
Colisian Feb 20, 2024
fbc3a98
Created a basic screen for file upload and a method to navigate to an…
Colisian Feb 20, 2024
5ad59e2
Merge pull request #1 from Colisian/FileUploadScreen
Colisian Feb 20, 2024
89134b4
Slight changes to fileuploadscreen.
Colisian Feb 22, 2024
d5cafc7
Added comment to user_settings.dart
Colisian Feb 22, 2024
56b90ca
Added basic logic for uploading and deleting files from the database.
Colisian Feb 22, 2024
f2b0a50
Adjusted file_upload_screen.dart and file_service.dart to be ready fo…
Colisian Feb 22, 2024
3b05984
Add Firebase configuration and files
ReneGliddon Feb 23, 2024
69ccf27
Adjusted main.dart screen to prep for other button navigations.
Colisian Feb 23, 2024
34e72ea
Merge pull request #2 from Colisian/FileUpload-2
Colisian Feb 23, 2024
135121c
Added settings and question generating screens.
Colisian Feb 24, 2024
e3f7394
Adjusted order of the buttons on the main screen.
Colisian Feb 24, 2024
7e502a8
Deleted exclamation point in main.
Colisian Feb 24, 2024
819277b
Merge pull request #3 from Colisian/Main-Screen-Additions
Colisian Feb 24, 2024
b5faef0
Merge branch 'developer' into firebase-creation
Colisian Feb 24, 2024
4278d68
Merge pull request #4 from Colisian/firebase-creation
Colisian Feb 24, 2024
1ee865f
build.gradle adjustments for firebase.
Colisian Feb 26, 2024
5129d56
Latest working firebase/google service changes.
Colisian Feb 26, 2024
d197e7d
comments in gradle.
Colisian Feb 26, 2024
0bfa421
commit
KathrynScearce Feb 27, 2024
24aff75
Bad Spelling
KathrynScearce Feb 27, 2024
868aa59
Spelled Right
KathrynScearce Feb 27, 2024
fd75094
Merge pull request #5 from Colisian/Teachers-Portal
KathrynScearce Feb 27, 2024
cfb8345
Button Color Change.
Colisian Feb 27, 2024
bd49dd2
Edited style in question generator file.
Colisian Feb 27, 2024
2e260ca
Style Changes in question generation screen.
Colisian Feb 29, 2024
c528202
Slight functionality adjustments in fileuploadscreen.
Colisian Feb 29, 2024
87e14b6
Merge pull request #6 from Colisian:FileUploadScreenHelp
Colisian Feb 29, 2024
a9770ed
basic generated questions screen and data files
ReneGliddon Mar 1, 2024
d05e26d
Merge branch 'developer' of https://github.com/Colisian/LLMspring2024…
ReneGliddon Mar 1, 2024
d8755ac
Slight changes to qg screen.
Colisian Mar 1, 2024
116bcf8
Merge branch 'developer' of https://github.com/Colisian/LLMspring2024…
Colisian Mar 1, 2024
bde4327
Added a "clear response button" to question generator.
Colisian Mar 1, 2024
2f7f696
Added an Upload to AI to file upload screen. Slight adjustments to qu…
Colisian Mar 1, 2024
297c706
login sign up and some navigation changes
ReneGliddon Mar 2, 2024
3ef2d69
Added dialog confimration to Save Response button. Added navigation t…
Colisian Mar 2, 2024
a8c13f4
Merge pull request #7 from Colisian/Generate-Question-Screen-Edits
Colisian Mar 2, 2024
ea7cdb9
fluid design
KathrynScearce Mar 5, 2024
59fe854
fluid design fix
KathrynScearce Mar 5, 2024
2110e4d
Take this zip
Tdeering06 Mar 6, 2024
bb9a393
Merge pull request #8 from Colisian/fluid-design
Colisian Mar 6, 2024
08f497e
added view password and reset password functionality, also refined th…
ReneGliddon Mar 6, 2024
165c394
merged changes
ReneGliddon Mar 6, 2024
5046093
New branches with variables for APIKey and variables for dropdowns in…
Colisian Mar 6, 2024
24219e2
Update pubspec.yaml
Tdeering06 Mar 7, 2024
2adb5ec
Update openai_services.dart
Tdeering06 Mar 7, 2024
0691e82
Update question_generator_screen.dart
Tdeering06 Mar 7, 2024
7bc00e2
Update main.dart
Tdeering06 Mar 7, 2024
7f0c9d0
Delete LLM/educ_ai_tion/educ_ai_tion.zip
Tdeering06 Mar 7, 2024
a089ea1
Create .env
Tdeering06 Mar 7, 2024
ab9aedb
Broken OpenAI integration code.
Colisian Mar 8, 2024
4dfcac1
Update main.dart
Tdeering06 Mar 8, 2024
5670d3f
Update pubspec.yaml
Tdeering06 Mar 8, 2024
d84316c
Update pubspec.yaml
Tdeering06 Mar 8, 2024
6b1d67f
Added .env to pubspect assets.
Colisian Mar 8, 2024
88dbedc
Merge branch 'DropDowns-in-Q.-Generator' of https://github.com/Colisi…
Colisian Mar 8, 2024
5c31d08
Added .env to gitignore
Colisian Mar 8, 2024
6ec966e
Added drop down boxes that prompt the API call.
Colisian Mar 9, 2024
ff9f1eb
Slight adjustments.
Colisian Mar 9, 2024
0cb9a69
changed the login and sign up to only accept emails in the users data…
ReneGliddon Mar 9, 2024
e9bbc26
Merge changes from developer branch
ReneGliddon Mar 9, 2024
9aa8934
added various classes that can be used in the code
ReneGliddon Mar 10, 2024
16a020a
Merge branch 'developer' into DropDowns-in-Q.-Generator
Colisian Mar 10, 2024
45faba5
Merge pull request #9 from Colisian/DropDowns-in-Q.-Generator
Colisian Mar 10, 2024
e65e4d8
added the password 6 character check
ReneGliddon Mar 10, 2024
759769a
small change to the login page...forgot what it was
ReneGliddon Mar 10, 2024
00fd738
Merge branch 'developer' of https://github.com/Colisian/LLMspring2024…
ReneGliddon Mar 10, 2024
e87a0b4
merged changes
ReneGliddon Mar 10, 2024
a8c141d
changes because I can't seem to push so maybe changes?
ReneGliddon Mar 10, 2024
f48823e
Changes related to welcomescreen by hadiga
hemadiga Mar 12, 2024
6c33ed6
changes related to customappbar
hemadiga Mar 13, 2024
c9ac37e
Should not show because gitignore.
Colisian Mar 13, 2024
260864b
Merge branch 'developer' of https://github.com/Colisian/LLMspring2024…
Colisian Mar 13, 2024
b06c5e1
Update .env
Colisian Mar 13, 2024
7430644
Update .env
Colisian Mar 13, 2024
eac383a
Merge pull request #10 from Colisian/developer
Colisian Mar 13, 2024
8c8fc15
Merge pull request #11 from Colisian/openai
Colisian Mar 13, 2024
aa667af
stop tracking .env
Colisian Mar 13, 2024
9871066
Merge branch 'developer' of https://github.com/Colisian/LLMspring2024…
Colisian Mar 13, 2024
3925c91
stop tracking .env
Colisian Mar 13, 2024
244e929
file upload page functionality minus submittal
npatton2 Mar 14, 2024
541bca9
HAdiga-feature-displayQuestionsPage
hemadiga Mar 17, 2024
acecb25
Added path provider dependency.
Colisian Mar 17, 2024
80ec712
uploads only .txt files but not implemented store API functionality
npatton2 Mar 17, 2024
8c2cb40
Merge branch 'developer' of https://github.com/Colisian/LLMspring2024…
npatton2 Mar 17, 2024
0202616
changed wording and added file clear once uploaded
npatton2 Mar 17, 2024
8872546
added upload to Firebase functionality
npatton2 Mar 17, 2024
9639e9a
changes related to updated displayquestions
hemadiga Mar 17, 2024
9a7f377
changes related to list the saved questions files
hemadiga Mar 18, 2024
7899d13
file related to save questions
hemadiga Mar 19, 2024
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
47 changes: 47 additions & 0 deletions LLM/educ_ai_tion/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# Miscellaneous
*.class
*.log
*.pyc
*.swp
.DS_Store
.atom/
.buildlog/
.history
.svn/
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
.pub-cache/
.pub/
/build/

# Env file
.env

# 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

45 changes: 45 additions & 0 deletions LLM/educ_ai_tion/.metadata
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
# This file tracks properties of this Flutter project.
# Used by Flutter tool to assess capabilities and perform upgrades etc.
#
# This file should be version controlled and should not be manually edited.

version:
revision: "bae5e49bc2a867403c43b2aae2de8f8c33b037e4"
channel: "stable"

project_type: app

# Tracks metadata for the flutter migrate command
migration:
platforms:
- platform: root
create_revision: bae5e49bc2a867403c43b2aae2de8f8c33b037e4
base_revision: bae5e49bc2a867403c43b2aae2de8f8c33b037e4
- platform: android
create_revision: bae5e49bc2a867403c43b2aae2de8f8c33b037e4
base_revision: bae5e49bc2a867403c43b2aae2de8f8c33b037e4
- platform: ios
create_revision: bae5e49bc2a867403c43b2aae2de8f8c33b037e4
base_revision: bae5e49bc2a867403c43b2aae2de8f8c33b037e4
- platform: linux
create_revision: bae5e49bc2a867403c43b2aae2de8f8c33b037e4
base_revision: bae5e49bc2a867403c43b2aae2de8f8c33b037e4
- platform: macos
create_revision: bae5e49bc2a867403c43b2aae2de8f8c33b037e4
base_revision: bae5e49bc2a867403c43b2aae2de8f8c33b037e4
- platform: web
create_revision: bae5e49bc2a867403c43b2aae2de8f8c33b037e4
base_revision: bae5e49bc2a867403c43b2aae2de8f8c33b037e4
- platform: windows
create_revision: bae5e49bc2a867403c43b2aae2de8f8c33b037e4
base_revision: bae5e49bc2a867403c43b2aae2de8f8c33b037e4

# User provided section

# List of Local paths (relative to this file) that should be
# ignored by the migrate tool.
#
# Files that are not part of the templates will be ignored by default.
unmanaged_files:
- 'lib/main.dart'
- 'ios/Runner.xcodeproj/project.pbxproj'
3 changes: 3 additions & 0 deletions LLM/educ_ai_tion/.vs/CMakeWorkspaceSettings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"enableCMake": false
}
3 changes: 3 additions & 0 deletions LLM/educ_ai_tion/.vs/ProjectSettings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"CurrentProjectSetting": "No Configurations"
}
6 changes: 6 additions & 0 deletions LLM/educ_ai_tion/.vs/VSWorkspaceState.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"ExpandedNodes": [
""
],
"PreviewInSolutionExplorer": false
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added LLM/educ_ai_tion/.vs/educ_ai_tion/v17/.wsuo
Binary file not shown.
Binary file not shown.
Binary file added LLM/educ_ai_tion/.vs/slnx.sqlite
Binary file not shown.
3 changes: 3 additions & 0 deletions LLM/educ_ai_tion/.vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"java.configuration.updateBuildConfiguration": "interactive"
}
3 changes: 3 additions & 0 deletions LLM/educ_ai_tion/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# educ_ai_tion

A new Flutter project.
1 change: 1 addition & 0 deletions LLM/educ_ai_tion/analysis_options.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
include: package:flutter_lints/flutter.yaml
13 changes: 13 additions & 0 deletions LLM/educ_ai_tion/android/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
gradle-wrapper.jar
/.gradle
/captures/
/gradlew
/gradlew.bat
/local.properties
GeneratedPluginRegistrant.java

# Remember to never publicly share your keystore.
# See https://flutter.dev/docs/deployment/android#reference-the-keystore-from-the-app
key.properties
**/*.keystore
**/*.jks
71 changes: 71 additions & 0 deletions LLM/educ_ai_tion/android/app/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
plugins {
id "com.android.application"
id "kotlin-android"
id "dev.flutter.flutter-gradle-plugin"
}

def localProperties = new Properties()
def localPropertiesFile = rootProject.file('local.properties')
if (localPropertiesFile.exists()) {
localPropertiesFile.withReader('UTF-8') { reader ->
localProperties.load(reader)
}
}

def flutterVersionCode = localProperties.getProperty('flutter.versionCode')
if (flutterVersionCode == null) {
flutterVersionCode = '1'
}

def flutterVersionName = localProperties.getProperty('flutter.versionName')
if (flutterVersionName == null) {
flutterVersionName = '1.0'
}

android {
namespace "com.example.educ_ai_tion"
compileSdk flutter.compileSdkVersion
ndkVersion flutter.ndkVersion

compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}

kotlinOptions {
jvmTarget = '1.8'
}

sourceSets {
main.java.srcDirs += 'src/main/kotlin'
}

defaultConfig {
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
applicationId "com.example.educ_ai_tion"
// You can update the following values to match your application needs.
// For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-gradle-build-configuration.
minSdkVersion flutter.minSdkVersion
targetSdkVersion flutter.targetSdkVersion
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
}

buildTypes {
release {
// TODO: Add your own signing config for the release build.
// Signing with the debug keys for now, so `flutter run --release` works.
signingConfig signingConfigs.debug
}
}
}

flutter {
source '../..'
}

dependencies {

}

apply plugin: 'com.google.gms.google-services'
29 changes: 29 additions & 0 deletions LLM/educ_ai_tion/android/app/google-services.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"project_info": {
"project_number": "408851813099",
"project_id": "llmspring2024-1cef2",
"storage_bucket": "llmspring2024-1cef2.appspot.com"
},
"client": [
{
"client_info": {
"mobilesdk_app_id": "1:408851813099:android:8d82452ed9f7caa38b24ae",
"android_client_info": {
"package_name": "com.example.educ_ai_tion"
}
},
"oauth_client": [],
"api_key": [
{
"current_key": "AIzaSyAkz5mr57wGQeW7YNy6PbgcBCDSjt5K5zA"
}
],
"services": {
"appinvite_service": {
"other_platform_oauth_client": []
}
}
}
],
"configuration_version": "1"
}
7 changes: 7 additions & 0 deletions LLM/educ_ai_tion/android/app/src/debug/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<!-- The INTERNET permission is required for development. Specifically,
the Flutter tool needs it to communicate with the running application
to allow setting breakpoints, to provide hot reload, etc.
-->
<uses-permission android:name="android.permission.INTERNET"/>
</manifest>
44 changes: 44 additions & 0 deletions LLM/educ_ai_tion/android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<application
android:label="educ_ai_tion"
android:name="${applicationName}"
android:icon="@mipmap/ic_launcher">
<activity
android:name=".MainActivity"
android:exported="true"
android:launchMode="singleTop"
android:theme="@style/LaunchTheme"
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|smallestScreenSize|locale|layoutDirection|fontScale|screenLayout|density|uiMode"
android:hardwareAccelerated="true"
android:windowSoftInputMode="adjustResize">
<!-- Specifies an Android theme to apply to this Activity as soon as
the Android process has started. This theme is visible to the user
while the Flutter UI initializes. After that, this theme continues
to determine the Window background behind the Flutter UI. -->
<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>
<!-- Don't delete the meta-data below.
This is used by the Flutter tool to generate GeneratedPluginRegistrant.java -->
<meta-data
android:name="flutterEmbedding"
android:value="2" />
</application>
<!-- Required to query activities that can process text, see:
https://developer.android.com/training/package-visibility?hl=en and
https://developer.android.com/reference/android/content/Intent#ACTION_PROCESS_TEXT.

In particular, this is used by the Flutter engine in io.flutter.plugin.text.ProcessTextPlugin. -->
<queries>
<intent>
<action android:name="android.intent.action.PROCESS_TEXT"/>
<data android:mimeType="text/plain"/>
</intent>
</queries>
</manifest>
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
// Generated file.
//
// If you wish to remove Flutter's multidex support, delete this entire file.
//
// Modifications to this file should be done in a copy under a different name
// as this file may be regenerated.

package io.flutter.app;

import android.app.Application;
import android.content.Context;
import androidx.annotation.CallSuper;
import androidx.multidex.MultiDex;

/**
* Extension of {@link android.app.Application}, adding multidex support.
*/
public class FlutterMultiDexApplication extends Application {
@Override
@CallSuper
protected void attachBaseContext(Context base) {
super.attachBaseContext(base);
MultiDex.install(this);
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
package com.example.educ_ai_tion

import io.flutter.embedding.android.FlutterActivity

class MainActivity: FlutterActivity()
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Modify this file to customize your launch splash screen -->
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="?android:colorBackground" />

<!-- You can insert your own image assets here -->
<!-- <item>
<bitmap
android:gravity="center"
android:src="@mipmap/launch_image" />
</item> -->
</layer-list>
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Modify this file to customize your launch splash screen -->
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item android:drawable="@android:color/white" />

<!-- You can insert your own image assets here -->
<!-- <item>
<bitmap
android:gravity="center"
android:src="@mipmap/launch_image" />
</item> -->
</layer-list>
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 18 additions & 0 deletions LLM/educ_ai_tion/android/app/src/main/res/values-night/styles.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- Theme applied to the Android Window while the process is starting when the OS's Dark Mode setting is on -->
<style name="LaunchTheme" parent="@android:style/Theme.Black.NoTitleBar">
<!-- Show a splash screen on the activity. Automatically removed when
the Flutter engine draws its first frame -->
<item name="android:windowBackground">@drawable/launch_background</item>
</style>
<!-- Theme applied to the Android Window as soon as the process has started.
This theme determines the color of the Android Window while your
Flutter UI initializes, as well as behind your Flutter UI while its
running.
This Theme is only used starting with V2 of Flutter's Android embedding. -->
<style name="NormalTheme" parent="@android:style/Theme.Black.NoTitleBar">
<item name="android:windowBackground">?android:colorBackground</item>
</style>
</resources>
18 changes: 18 additions & 0 deletions LLM/educ_ai_tion/android/app/src/main/res/values/styles.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- Theme applied to the Android Window while the process is starting when the OS's Dark Mode setting is off -->
<style name="LaunchTheme" parent="@android:style/Theme.Light.NoTitleBar">
<!-- Show a splash screen on the activity. Automatically removed when
the Flutter engine draws its first frame -->
<item name="android:windowBackground">@drawable/launch_background</item>
</style>
<!-- Theme applied to the Android Window as soon as the process has started.
This theme determines the color of the Android Window while your
Flutter UI initializes, as well as behind your Flutter UI while its
running.
This Theme is only used starting with V2 of Flutter's Android embedding. -->
<style name="NormalTheme" parent="@android:style/Theme.Light.NoTitleBar">
<item name="android:windowBackground">?android:colorBackground</item>
</style>
</resources>
7 changes: 7 additions & 0 deletions LLM/educ_ai_tion/android/app/src/profile/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<!-- The INTERNET permission is required for development. Specifically,
the Flutter tool needs it to communicate with the running application
to allow setting breakpoints, to provide hot reload, etc.
-->
<uses-permission android:name="android.permission.INTERNET"/>
</manifest>
Loading