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

Refactoring API and UI #179

Merged
merged 156 commits into from
Jan 27, 2025
Merged
Changes from 1 commit
Commits
Show all changes
156 commits
Select commit Hold shift + click to select a range
4ab1c61
Updated server libraries
miksrv Oct 27, 2024
232e78f
Added API EventsPhotosModel
miksrv Oct 27, 2024
5f3618a
Added API ObjectsModel
miksrv Oct 27, 2024
e592084
Refactoring API UsersModel
miksrv Oct 27, 2024
b999b33
Added API PhotosObjectModel
miksrv Oct 27, 2024
0803fdb
Refactoring API EventsModel
miksrv Oct 27, 2024
deca7ea
Refactoring API EventPhotosModel
miksrv Oct 27, 2024
d79521f
Removed old API models
miksrv Oct 29, 2024
a209dfb
Created new API models
miksrv Oct 29, 2024
1e75d8d
Removed old API Entitlies
miksrv Oct 29, 2024
8779299
Added new API Entities
miksrv Oct 29, 2024
1f4054a
Deleted SettingsUserRelaySeeder
miksrv Oct 29, 2024
bcc03b4
Refactoring Object Table UI Component
miksrv Nov 4, 2024
7ed3b47
Removed UI Sidebar React component
miksrv Nov 4, 2024
90c08c3
Removed OLD API Migrations Files
miksrv Nov 4, 2024
6357281
Refactoring UI pages
miksrv Nov 5, 2024
0f211b9
Refactoring API controllers
miksrv Nov 5, 2024
4d1bde6
Refactoring API migrations
miksrv Nov 5, 2024
07f7165
Refactoring API migrations
miksrv Nov 5, 2024
b5796f5
Added API Locale helper
miksrv Nov 7, 2024
2d44f23
Added API Languages files (for en and ru)
miksrv Nov 7, 2024
0e879a2
Implemented new API Equipment Controller
miksrv Nov 7, 2024
3020906
Updated client API models
miksrv Nov 11, 2024
b8ade0e
Refactoring client API types
miksrv Nov 11, 2024
5eb97ce
Update applicationSlice.ts
miksrv Nov 11, 2024
71cdcea
Implemented i18next config, install i18 libraries
miksrv Nov 11, 2024
04e0961
Upgraded UI global styles, CSS variables and themes
miksrv Nov 11, 2024
83c4301
Implemented client colors helper
miksrv Nov 11, 2024
3fd752d
Upgraded API constants
miksrv Nov 11, 2024
9bfcf07
Code-style API CORS Filter
miksrv Nov 11, 2024
69b1fda
Upgraded API CategoryModel and EventsModel
miksrv Nov 11, 2024
b051b90
Updated API Photos and Events migrations
miksrv Nov 13, 2024
7177efc
Added API DB Seeds
miksrv Nov 13, 2024
47f8ef1
Implemented new and refactoring exists API Entities
miksrv Nov 13, 2024
5d9a0b5
Removed photo table UI component
miksrv Nov 19, 2024
174356b
Implemented Object Photos Table UI Component
miksrv Nov 19, 2024
2fd1fc9
Removed unused Objects Section UI Component
miksrv Nov 19, 2024
9ce7fc0
Updated UI API
miksrv Nov 19, 2024
92982ef
Improved .gitignore, Updated UI Libraries, ESLint config
miksrv Nov 19, 2024
b54b78c
Implemented API PhotoUploadLibrary
miksrv Nov 19, 2024
0640935
Implemented API LocaleLibrary
miksrv Nov 19, 2024
3b2f67a
Updated API Models
miksrv Nov 23, 2024
d4d7c33
Removed API Sensors controller
miksrv Nov 23, 2024
0aeec5f
Removed API Fits Controller
miksrv Nov 23, 2024
9fc2c77
Removed UI Input General component
miksrv Nov 23, 2024
535f513
Added new Files UI types
miksrv Nov 24, 2024
49db358
Removed unused UI object table component
miksrv Nov 24, 2024
d3a3fd6
Implemented new Star Map UI component
miksrv Nov 24, 2024
b45dac8
Created UI Moon functions
miksrv Nov 24, 2024
70055b0
Created UI tools String tools
miksrv Nov 24, 2024
79249cd
Refactoring Object Header UI Component
miksrv Nov 25, 2024
dfe1b9a
Refactoring Object Files Table UI Component
miksrv Nov 25, 2024
f35ba20
Refactoring Object Description UI Component
miksrv Nov 25, 2024
4c94a75
Removed unused Container UI Component
miksrv Nov 25, 2024
e455881
Created API filters helper
miksrv Nov 25, 2024
7f1a709
Refactoring API ObjectFitsFileEntity
miksrv Nov 26, 2024
a35e4dd
Refactoring API PhotoEntity
miksrv Nov 26, 2024
520a404
Refactoring API StatisticLibrary
miksrv Nov 26, 2024
77faae8
Refactoring and Code-Style API Controllers
miksrv Nov 26, 2024
2e51d68
Implemented new UI AppLayout Controller
miksrv Nov 27, 2024
1e52a0d
Implemented UI AstroPhotoForm Component
miksrv Nov 27, 2024
141f171
Refactoring UI FilterList Component
miksrv Nov 27, 2024
8b5c1b5
Removed UI test footer component
miksrv Nov 27, 2024
74da161
Implemented new StarMap component
miksrv Dec 5, 2024
a6e7025
Removed unused UI functions
miksrv Dec 5, 2024
3235a81
Created Objects Form Component
miksrv Dec 5, 2024
052611f
Implemented API Files controller
miksrv Dec 6, 2024
6a60881
Added new functions for ObjectsModel and PhotosModel
miksrv Dec 6, 2024
69267be
Added dir_name for Database Migrations
miksrv Dec 6, 2024
e2dbed9
Implemented localstorage and photos UI tools
miksrv Dec 6, 2024
4ad82d9
Added UI base locales
miksrv Dec 6, 2024
3a83bfd
Created PhotoHeader UI Component
miksrv Dec 9, 2024
9a9daaf
Refactoring API Controllers
miksrv Dec 9, 2024
32fad2b
Refactoring PhotoGrid UI Component
miksrv Dec 9, 2024
99bcc79
Refactoring ObjectCloud UI Component
miksrv Dec 9, 2024
7e48f85
Refactoring UI CelestialMap Component
miksrv Dec 9, 2024
3adbf74
Updated API Objects and Photos API Controllers
miksrv Dec 11, 2024
a0ba51a
Implemented UI photos form
miksrv Dec 11, 2024
344744c
Implemented UI StarMap page
miksrv Dec 11, 2024
b57ddd0
Delete Catalog.php
miksrv Dec 13, 2024
1d1a792
Refactoring All UI pages
miksrv Dec 13, 2024
e873827
Updated UI API and types
miksrv Dec 13, 2024
7a63712
Improved UI AppLayout Component
miksrv Dec 13, 2024
44cee31
Updated UI AstroPhotoForm Component
miksrv Dec 13, 2024
bc31049
Improved UI Objects Compoents
miksrv Dec 24, 2024
166d672
Improved API Config Routes and Photos Controller
miksrv Dec 24, 2024
df64c1e
Updated UI Libraries
miksrv Dec 24, 2024
ebf0b6c
Added new UI types for API Models
miksrv Jan 4, 2025
86400a6
Improved UI AstroPhotoForm
miksrv Jan 4, 2025
3572073
Improved UI Pages
miksrv Jan 4, 2025
b09ea7f
Refactoring API Photos and Objects controllers
miksrv Jan 4, 2025
ca9e5ba
Update PhotoUploadLibrary.php
miksrv Jan 4, 2025
cb70d16
Added new items for gitignore
miksrv Jan 4, 2025
ec002cf
Created new UI component - AppToolbar
miksrv Jan 6, 2025
96e8129
Improved UI ObjectHeader Component
miksrv Jan 6, 2025
d30741a
Improved UI pages
miksrv Jan 6, 2025
dc5043f
Fixed UI CSS Styles
miksrv Jan 6, 2025
1399f7c
Implemented new UI tools and functions
miksrv Jan 6, 2025
26c4885
Implemented UI Breadcrumb component
miksrv Jan 6, 2025
69ed3d1
Removed unused components
miksrv Jan 7, 2025
1302ad7
Improved UI pages, locales and declarations
miksrv Jan 7, 2025
18a97b8
Improved UI photo components
miksrv Jan 7, 2025
ef06869
Improved UI API models
miksrv Jan 7, 2025
7498f05
Removed unused libraries and UI components
miksrv Jan 7, 2025
4ebc220
Refactoring API Migrations
miksrv Jan 10, 2025
2fc6d5c
Improved and refactoring API models
miksrv Jan 10, 2025
2506614
Code-style for API Libraries (Session, Yandex, VK)
miksrv Jan 10, 2025
0e9668c
Delete UserRules.php
miksrv Jan 10, 2025
f5491de
Fixed API Entities
miksrv Jan 10, 2025
a17fd2d
Improved API Controllers
miksrv Jan 10, 2025
1178aa0
Added images for UI - ya, google, vk, no avatar
miksrv Jan 10, 2025
e6fd2f5
Implemented UI Dialog Component
miksrv Jan 10, 2025
a77c1f1
Improved API Config
miksrv Jan 10, 2025
13a8e8d
Fixed API Auth helper (User Entities)
miksrv Jan 10, 2025
cea9600
Changed API upload image resize dimensions
miksrv Jan 10, 2025
ddc32ab
Added locales for all UI pages, check rights, improve forms
miksrv Jan 10, 2025
aa3b8a2
Removed unused UI Login Modal
miksrv Jan 14, 2025
bbbc4d3
Implemented UI Main Sections Component
miksrv Jan 14, 2025
4112e41
Implemented UI Photo Cloud Component
miksrv Jan 14, 2025
e89caf3
Removed UI Telescope Workday Table
miksrv Jan 14, 2025
254dfd6
Implemented UI Counter Component
miksrv Jan 14, 2025
f117608
Updated UI API
miksrv Jan 17, 2025
bdfa935
Polish and Finalize AppToolbar and AppLayout component
miksrv Jan 17, 2025
1e9ff6f
Implemented UI Language Switcher component
miksrv Jan 17, 2025
e75b378
Improved UI locales, changed screenshots, added astro photo
miksrv Jan 17, 2025
d2e5146
Improved API Entities, Helpers, Libraries and Models
miksrv Jan 17, 2025
376cada
Finished UI AppFooter and AppToolbar components
miksrv Jan 18, 2025
58134fa
Updated UI libraries, fixed tools and styles
miksrv Jan 18, 2025
8115a68
Added SEO for UI Pages
miksrv Jan 18, 2025
f74f456
Improved UI PhotoForm, AstroCalc, Calendar, Camera and Events components
miksrv Jan 18, 2025
3802f7d
Polish UI Photo Grid Component
miksrv Jan 20, 2025
c7c134b
Refactoring UI Photo LightBox Component
miksrv Jan 20, 2025
76d07dd
Finalize UI Project Team Component
miksrv Jan 20, 2025
3eec385
Improved UI StarMap Component
miksrv Jan 20, 2025
b8cf7c9
Added new locales, fixed UI pages and helper functions
miksrv Jan 20, 2025
52bc46f
Removed unused UI components, improved misc UI components
miksrv Jan 21, 2025
3a519b6
Fixed UI RelayList
miksrv Jan 21, 2025
725bc12
Fixed UI Weather Component
miksrv Jan 21, 2025
cd96b5e
Updated API Libraries
miksrv Jan 21, 2025
43a2f4a
Updated API Config for new version of CI (4.6)
miksrv Jan 21, 2025
db1c803
Updated UI locales, libraries, fixed store ad linter config
miksrv Jan 22, 2025
97a4f6d
Finalize UI Pages
miksrv Jan 23, 2025
ce8f1b4
Refactoring API Routes
miksrv Jan 23, 2025
eae7468
Changed style for UI StarMap
miksrv Jan 23, 2025
b00950d
Refactoring UI Camera component
miksrv Jan 23, 2025
648120e
Finalize and Polish AppLayout, Calendar, ObjectHeader, ObjectsTable, …
miksrv Jan 23, 2025
f9cbade
Added new Photos
miksrv Jan 25, 2025
e0baf70
Removed unused UI Test
miksrv Jan 25, 2025
84c7dd0
Finalize UI API Models and Types
miksrv Jan 26, 2025
6232590
Added UI photos about me
miksrv Jan 26, 2025
f431084
Added UI photos for sidewalk observatory
miksrv Jan 26, 2025
0c9c062
Fixed UI locales
miksrv Jan 26, 2025
25ab3c7
Improved UI stargazing pages
miksrv Jan 26, 2025
04e849c
Finalize UI pages and components
miksrv Jan 26, 2025
ac6ee93
Added translation for UI stargazing where page
miksrv Jan 26, 2025
e7d7a13
Implemented new Github Action, added CHANGELOG
miksrv Jan 27, 2025
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
Prev Previous commit
Next Next commit
Refactoring client API types
  • Loading branch information
miksrv committed Nov 11, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit b8ade0e9e323c5f7fdf7308e981f99f76a2ead40
11 changes: 4 additions & 7 deletions client/api/types/category.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
import { ApiModel } from '@/api'

/* List */
export interface ResList {
export interface Request {}

export interface Response {
count?: number
items: ApiModel.Category[]
}

/* Set */
export interface ResSet extends ApiModel.Category {}

export interface ReqSet extends ApiModel.Category {}
8 changes: 8 additions & 0 deletions client/api/types/equipment.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import { ApiModel } from '@/api'

export interface Request {}

export interface Response {
count?: number
items: ApiModel.Equipment[]
}
6 changes: 4 additions & 2 deletions client/api/types/index.ts
Original file line number Diff line number Diff line change
@@ -2,9 +2,11 @@ export * as Weather from './weather'
export * as Statistic from './statistic'
export * as Relay from './relay'
export * as Events from './events'
export * as Photo from './photo'
export * as Photos from './photos'
export * as Category from './category'
export * as Catalog from './catalog'
export * as Objects from './objects'
export * as Equipment from './equipment'
export * as Author from './author'
export * as Auth from './auth'

@@ -14,7 +16,7 @@ export interface ResError {
messages?: any
}

export interface DateTime {
export type DateTime = {
date: string
timezone_type: number
timezone: string
8 changes: 8 additions & 0 deletions client/api/types/objects.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
import { ApiModel } from '@/api'

export interface Request {}

export interface Response {
count?: number
items: ApiModel.Object[]
}
14 changes: 14 additions & 0 deletions client/api/types/photos.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,24 @@
import { ApiModel } from '@/api'

export interface PostResponse {
result?: boolean
}

export interface Response {
count?: number
items?: ApiModel.Photo[]
}

export interface PostRequest {
photoId?: string
categories?: number[]
objects?: string[]
equipment?: number[]
date?: string
filters?: ApiModel.Filters
upload?: FormData
}

export interface Request {
object?: string
limit?: number