Dark mode em upload pdf

This commit is contained in:
2026-05-18 23:05:33 +01:00
parent 7f12f3eb1f
commit 8043ee42fe
19 changed files with 77 additions and 73 deletions

View File

@@ -13,7 +13,7 @@ This document outlines the complete Flutter project structure for the AI Study A
## 📁 ROOT DIRECTORY STRUCTURE
```
teachit/
learn_it/
├── android/ # Android-specific files
├── ios/ # iOS-specific files
├── web/ # Web-specific files
@@ -381,7 +381,7 @@ lib/
### pubspec.yaml
```yaml
name: teachit
name: learn_it
description: AI Study Assistant - Educational Intelligence Platform
version: 1.0.0+1
@@ -551,7 +551,7 @@ linter:
**android/app/build.gradle**
```gradle
android {
namespace 'com.example.teachit'
namespace 'com.example.learnit'
compileSdkVersion flutter.compileSdkVersion
compileOptions {
@@ -564,7 +564,7 @@ android {
}
defaultConfig {
applicationId "com.example.teachit"
applicationId "com.example.learnit"
minSdkVersion 21
targetSdkVersion flutter.targetSdkVersion
versionCode flutterVersionCode.toInteger()
@@ -596,9 +596,9 @@ dependencies {
**ios/Runner/Info.plist**
```xml
<key>CFBundleDisplayName</key>
<string>TeachIt</string>
<string>Learn It</string>
<key>CFBundleIdentifier</key>
<string>com.example.teachit</string>
<string>com.example.learnit</string>
<key>CFBundleVersion</key>
<string>1.0</string>
<key>UISupportedInterfaceOrientations</key>
@@ -1063,7 +1063,7 @@ class Environment {
static const bool isProductionMode = kReleaseMode;
static const String apiBaseUrl = isDebugMode
? 'http://localhost:8080'
: 'https://api.teachit.app';
: 'https://api.learnit.app';
}
```

View File

@@ -12,7 +12,7 @@
**Dependencies**: None
#### Subtasks:
- [ ] Create new Flutter project: `flutter create teachit`
- [ ] Create new Flutter project: `flutter create learn_it`
- [ ] Configure Flutter SDK version (3.41.9 or latest stable)
- [ ] Set up version control (Git repository)
- [ ] Create initial project structure
@@ -62,8 +62,8 @@ dev_dependencies:
#### Implementation Details:
```bash
# Create project
flutter create teachit
cd teachit
flutter create learn_it
cd learn_it
# Initialize git
git init

View File

@@ -275,7 +275,7 @@ export class FieldEncryption {
async decryptField(encryptedData: EncryptedData, key: string): Promise<string> {
const decipher = crypto.createDecipher(this.algorithm, key);
decipher.setAAD(Buffer.from('teachit-field', 'utf8'));
decipher.setAAD(Buffer.from('learnit-field', 'utf8'));
decipher.setAuthTag(Buffer.from(encryptedData.tag, 'hex'));
let decrypted = decipher.update(encryptedData.data, 'hex', 'utf8');
@@ -409,7 +409,7 @@ export const securityHeaders = {
"style-src 'self' 'unsafe-inline'",
"img-src 'self' data: https:",
"font-src 'self'",
"connect-src 'self' https://api.teachit.app",
"connect-src 'self' https://api.learnit.app",
"frame-ancestors 'none'",
"base-uri 'self'",
"form-action 'self'",
@@ -1218,7 +1218,7 @@ export class GDPRRights {
return {
format: 'JSON',
data: userData,
schema: 'teachit-data-schema-v1.0',
schema: 'learnit-data-schema-v1.0',
};
}
@@ -1433,30 +1433,30 @@ export class SecurityDashboard {
### Security Team
#### Incident Response Team
- **Security Lead**: security@teachit.app
- **Incident Response**: incidents@teachit.app
- **Vulnerability Reports**: vulnerabilities@teachit.app
- **Compliance Officer**: compliance@teachit.app
- **Security Lead**: security@learnit.app
- **Incident Response**: incidents@learnit.app
- **Vulnerability Reports**: vulnerabilities@learnit.app
- **Compliance Officer**: compliance@learnit.app
#### Emergency Contacts
- **Critical Incidents**: +1-800-SECURITY
- **Data Breach**: +1-800-BREACH
- **Legal Counsel**: legal@teachit.app
- **Law Enforcement**: emergency@teachit.app
- **Legal Counsel**: legal@learnit.app
- **Law Enforcement**: emergency@learnit.app
### Reporting Security Issues
#### Vulnerability Disclosure
- **Email**: security@teachit.app
- **Email**: security@learnit.app
- **PGP Key**: Available on request
- **Response Time**: Within 24 hours
- **Bounty Program**: Available for qualifying reports
#### Data Subject Requests
- **Access Requests**: privacy@teachit.app
- **Deletion Requests**: delete@teachit.app
- **Correction Requests**: corrections@teachit.app
- **Complaints**: complaints@teachit.app
- **Access Requests**: privacy@learnit.app
- **Deletion Requests**: delete@learnit.app
- **Correction Requests**: corrections@learnit.app
- **Complaints**: complaints@learnit.app
---

View File

@@ -109,9 +109,9 @@ import 'package:flutter_test/flutter_test.dart';
import 'package:mockito/mockito.dart';
import 'package:dartz/dartz.dart';
import 'package:teachit/features/auth/domain/entities/user.dart';
import 'package:teachit/features/auth/domain/repositories/auth_repository.dart';
import 'package:teachit/features/auth/domain/usecases/sign_in.dart';
import 'package:learn_it/features/auth/domain/entities/user.dart';
import 'package:learn_it/features/auth/domain/repositories/auth_repository.dart';
import 'package:learn_it/features/auth/domain/usecases/sign_in.dart';
class MockAuthRepository extends Mock implements AuthRepository {}
@@ -353,7 +353,7 @@ import 'package:mockito/mockito.dart';
import 'package:mockito/annotations.dart';
import 'package:teachit/features/auth/presentation/screens/login_screen.dart';
import 'package:teachit/features/auth/presentation/providers/auth_provider.dart';
import 'package:learn_it/features/auth/presentation/providers/auth_provider.dart';
import 'login_screen_test.mocks.dart';
@@ -516,9 +516,9 @@ import 'package:firebase_core/firebase_core.dart';
import 'package:cloud_firestore/cloud_firestore.dart';
import 'package:firebase_auth/firebase_auth.dart';
import 'package:teachit/main.dart' as app;
import 'package:learn_it/main.dart' as app;
import 'package:teachit/features/auth/presentation/screens/login_screen.dart';
import 'package:teachit/features/student/presentation/screens/student_dashboard_screen.dart';
import 'package:learn_it/features/student/presentation/screens/student_dashboard_screen.dart';
void main() {
group('Authentication Flow Integration Tests', () {
@@ -767,7 +767,7 @@ import 'package:flutter/material.dart';
import 'package:flutter_test/flutter_test.dart';
import 'package:integration_test/integration_test.dart';
import 'package:teachit/main.dart' as app;
import 'package:learn_it/main.dart' as app;
void main() {
IntegrationTestWidgetsFlutterBinding.ensureInitialized();

View File

@@ -17,7 +17,7 @@ Welcome to the AI Study Assistant! This comprehensive guide will help you master
#### 1. Download and Install
- **Android**: Download from Google Play Store
- **iOS**: Download from App Store
- **Web**: Visit [app.teachit.app](https://app.teachit.app)
- **Web**: Visit [app.learnit.app](https://app.learnit.app)
#### 2. Create Account
1. Open the app
@@ -475,8 +475,8 @@ Monitor class performance with:
- **Tutoring Services**: Additional support
#### Technical Support
- **Email**: support@teachit.app
- **Phone**: 1-800-TEACH-IT
- **Email**: support@learnit.app
- **Phone**: 1-800-LEARN-IT
- **Live Chat**: In-app chat support
- **Community Forum**: User discussions
@@ -565,10 +565,10 @@ Monitor class performance with:
### Contact Information
#### Support Channels
- **Email Support**: support@teachit.app
- **Phone Support**: 1-800-TEACH-IT
- **Email Support**: support@learnit.app
- **Phone Support**: 1-800-LEARN-IT
- **Live Chat**: In-app support
- **Social Media**: @TeachItApp
- **Social Media**: @LearnItApp
#### School Support
- **IT Department**: Technical assistance
@@ -602,10 +602,10 @@ Monitor class performance with:
- **Esc**: Cancel/close
### Emergency Contacts
- **Technical Issues**: support@teachit.app
- **Account Problems**: admin@teachit.app
- **Security Concerns**: security@teachit.app
- **Emergency**: 1-800-TEACH-IT
- **Technical Issues**: support@learnit.app
- **Account Problems**: admin@learnit.app
- **Security Concerns**: security@learnit.app
- **Emergency**: 1-800-LEARN-IT
---