Skip to content

Develop #101

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

Merged
merged 29 commits into from
Nov 23, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
3d07984
Revert "Revert "Update youtube player flutter to 6.0.0""
up2code Nov 13, 2019
2cbf269
Fix youtube player
up2code Nov 13, 2019
7d34ac7
update youtube player to 6.0.2
up2code Nov 15, 2019
94732d1
Fix null date displayed on release event item
up2code Nov 16, 2019
2027b60
Add event series model and fix category display Not specified #99
up2code Nov 16, 2019
ccc4f0d
Show no result for infinite list if no results
up2code Nov 17, 2019
e2dabd9
Add filter tag by category
up2code Nov 17, 2019
794b1bf
Add filter tag category on other search pages
up2code Nov 17, 2019
ae1b90d
Fix infinite list show loading indicator even no more result
up2code Nov 17, 2019
7dcc9cb
Add filter date for release event and improve ui
up2code Nov 17, 2019
8a962e1
Add translation to event filter page
up2code Nov 17, 2019
f72132c
Extract widgets and update song filter page
up2code Nov 17, 2019
46347f6
update artist filter page
up2code Nov 17, 2019
9e756da
update album filter page
up2code Nov 17, 2019
d003422
Using contants for tag category names
Nov 18, 2019
657c09e
Update constants tag category names for TouhouDB
Nov 18, 2019
9cf3873
Change script change_app
up2code Nov 18, 2019
ff86c49
Fix file_picker version
Nov 19, 2019
1b7c70f
Add AndroidManifest file for TouhouDB for switch app on build
up2code Nov 19, 2019
1291d31
Merge branch 'develop' of https://github.com/VocaDB/VocaDB-App into d…
up2code Nov 19, 2019
e37a3d2
Add touhoudb mainActivity file
up2code Nov 19, 2019
fe26be6
Fix script change app
up2code Nov 19, 2019
88830c1
Fix touhoudb tag category names constants
Nov 20, 2019
aaf24dd
Update youtube player flutter
Nov 20, 2019
957965a
Fix constants
up2code Nov 20, 2019
a5aa579
Update app icon for ios
Nov 21, 2019
55ae9ee
Add files for switching app
Nov 22, 2019
35921b0
Set ios team signing
Nov 22, 2019
6bb939c
Add google info plist to xcode
Nov 22, 2019
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
12 changes: 6 additions & 6 deletions assets/i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -162,12 +162,12 @@
"AdditionDate": "Addition date",
"FavoritedTimes": "Times favorited",
"RatingScore": "Rating score",
"additionDateDesc": "Addition date (descending)",
"additionDateAsc": "Addition date (ascending)",
"releaseDate": "Release date",
"songCount": "Number of songs",
"songRating": "Total song rating",
"followerCount": "Number of followers",
"AdditionDateDesc": "Addition date (descending)",
"AdditionDateAsc": "Addition date (ascending)",
"ReleaseDate": "Release date",
"SongCount": "Number of songs",
"SongRating": "Total song rating",
"FollowerCount": "Number of followers",
"ReleaseDate": "Release date",
"RatingAverage": "Rating average",
"RatingTotal": "Total score",
Expand Down
12 changes: 6 additions & 6 deletions assets/i18n/ja.json
Original file line number Diff line number Diff line change
Expand Up @@ -158,12 +158,12 @@
"AdditionDate": "追加日時",
"FavoritedTimes": "お気に入り登録された数",
"RatingScore": "評価点数",
"additionDateDesc": "追加された日時(降順)",
"additionDateAsc": "追加された日時(昇順)",
"releaseDate": "発売日",
"songCount": "曲数",
"songRating": "総評価数",
"followerCount": "フォロワー数",
"AdditionDateDesc": "追加された日時(降順)",
"AdditionDateAsc": "追加された日時(昇順)",
"ReleaseDate": "発売日",
"SongCount": "曲数",
"SongRating": "総評価数",
"FollowerCount": "フォロワー数",
"ReleaseDate": "発売日",
"RatingAverage": "平均評価",
"RatingTotal": "総スコア",
Expand Down
12 changes: 6 additions & 6 deletions assets/i18n/ms.json
Original file line number Diff line number Diff line change
Expand Up @@ -155,12 +155,12 @@
"AdditionDate": "Tarikh ditambah",
"FavoritedTimes": "Times favorited",
"RatingScore": "Rating score",
"additionDateDesc": "Tarikh ditambah (menurun)",
"additionDateAsc": "Tarikh ditambah (menaik)",
"releaseDate": "Release date",
"songCount": "Number of songs",
"songRating": "Total song rating",
"followerCount": "Number of followers",
"AdditionDateDesc": "Tarikh ditambah (menurun)",
"AdditionDateAsc": "Tarikh ditambah (menaik)",
"ReleaseDate": "Release date",
"SongCount": "Number of songs",
"SongRating": "Total song rating",
"FollowerCount": "Number of followers",
"ReleaseDate": "Release date",
"RatingAverage": "Rating average",
"RatingTotal": "Total score",
Expand Down
12 changes: 6 additions & 6 deletions assets/i18n/th.json
Original file line number Diff line number Diff line change
Expand Up @@ -155,12 +155,12 @@
"AdditionDate": "วันที่เพิ่ม",
"FavoritedTimes": "จำนวนความชอบ",
"RatingScore": "คะแนนความชอบ",
"additionDateDesc": "วันที่เพิ่ม (ล่าสุด)",
"additionDateAsc": "วันที่เพิ่ม (นานสุด)",
"releaseDate": "วันที่เผยแพร่",
"songCount": "จำนวนเพลง",
"songRating": "คะแนน",
"followerCount": "จำนวนผู้ติดตาม",
"AdditionDateDesc": "วันที่เพิ่ม (ล่าสุด)",
"AdditionDateAsc": "วันที่เพิ่ม (นานสุด)",
"ReleaseDate": "วันที่เผยแพร่",
"SongCount": "จำนวนเพลง",
"SongRating": "คะแนน",
"FollowerCount": "จำนวนผู้ติดตาม",
"ReleaseDate": "วันที่เผยแพร่",
"RatingAverage": "คะแนนเฉลี่ย",
"RatingTotal": "จำนวนคะแนนทั้งหมด",
Expand Down
39 changes: 39 additions & 0 deletions assets/store/TouhouDB/android/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.touhoudb.app">

<!-- The INTERNET permission is required for development. Specifically,
flutter needs it to communicate with the running application
to allow setting breakpoints, to provide hot reload, etc.
-->
<uses-permission android:name="android.permission.INTERNET"/>

<!-- io.flutter.app.FlutterApplication is an android.app.Application that
calls FlutterMain.startInitialization(this); in its onCreate method.
In most cases you can leave this as-is, but you if you want to provide
additional functionality it is fine to subclass or reimplement
FlutterApplication and put your custom class here. -->
<application
android:name="io.flutter.app.FlutterApplication"
android:label="TouhouDB"
android:icon="@mipmap/ic_launcher">
<activity
android:name=".MainActivity"
android:launchMode="singleTop"
android:theme="@style/LaunchTheme"
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|layoutDirection|fontScale|screenLayout|density"
android:hardwareAccelerated="true"
android:windowSoftInputMode="adjustResize">
<!-- This keeps the window background of the activity showing
until Flutter renders its first frame. It can be removed if
there is no splash screen (such as the default splash screen
defined in @style/LaunchTheme). -->
<meta-data
android:name="io.flutter.app.android.SplashScreenUntilFirstFrame"
android:value="true" />
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
</activity>
</application>
</manifest>
11 changes: 3 additions & 8 deletions assets/store/TouhouDB/android/app.build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,7 @@ if (flutterVersionName == null) {
}

def keystoreProperties = new Properties()


//def keyFile = 'key.local.properties' // For local build
def keyFile = 'key.bitrise.properties' // For bitrise build

def keystorePropertiesFile = rootProject.file(keyFile)
def keystorePropertiesFile = rootProject.file('key.properties')
if (keystorePropertiesFile.exists()) {
keystoreProperties.load(new FileInputStream(keystorePropertiesFile))
}
Expand All @@ -52,8 +47,8 @@ android {
applicationId "com.touhoudb.app"
minSdkVersion 20
targetSdkVersion 29
versionCode flutterVersionCode.toInteger()
versionName "3.0.0"
versionCode 102339
versionName "3.0.1"
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
}

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
package com.touhoudb.app

import android.os.Bundle

import io.flutter.app.FlutterActivity
import io.flutter.plugins.GeneratedPluginRegistrant

class MainActivity: FlutterActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
GeneratedPluginRegistrant.registerWith(this)
}
}
20 changes: 20 additions & 0 deletions assets/store/TouhouDB/constants
Original file line number Diff line number Diff line change
Expand Up @@ -64,3 +64,23 @@ const List<String> constEventCategories = [
'Contest',
'Other',
];

const List<String> constTagCategories = [
'Animation',
'Copyrights',
'Distribution',
'Editor notes',
'Games',
'Genres',
'Instruments',
'Job',
'Languages',
'Lyrics',
'Media',
'Release types',
'Series',
'Sources',
'Themes',
'Unsorted',
'Vocalists',
];
39 changes: 39 additions & 0 deletions assets/store/VocaDB/android/AndroidManifest.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.coolappz.Vocadb">

<!-- The INTERNET permission is required for development. Specifically,
flutter needs it to communicate with the running application
to allow setting breakpoints, to provide hot reload, etc.
-->
<uses-permission android:name="android.permission.INTERNET"/>

<!-- io.flutter.app.FlutterApplication is an android.app.Application that
calls FlutterMain.startInitialization(this); in its onCreate method.
In most cases you can leave this as-is, but you if you want to provide
additional functionality it is fine to subclass or reimplement
FlutterApplication and put your custom class here. -->
<application
android:name="io.flutter.app.FlutterApplication"
android:label="VocaDB"
android:icon="@mipmap/ic_launcher">
<activity
android:name=".MainActivity"
android:launchMode="singleTop"
android:theme="@style/LaunchTheme"
android:configChanges="orientation|keyboardHidden|keyboard|screenSize|locale|layoutDirection|fontScale|screenLayout|density"
android:hardwareAccelerated="true"
android:windowSoftInputMode="adjustResize">
<!-- This keeps the window background of the activity showing
until Flutter renders its first frame. It can be removed if
there is no splash screen (such as the default splash screen
defined in @style/LaunchTheme). -->
<meta-data
android:name="io.flutter.app.android.SplashScreenUntilFirstFrame"
android:value="true" />
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>
</activity>
</application>
</manifest>
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
package com.coolappz.Vocadb

import android.os.Bundle

import io.flutter.app.FlutterActivity
import io.flutter.plugins.GeneratedPluginRegistrant

class MainActivity: FlutterActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
GeneratedPluginRegistrant.registerWith(this)
}
}
100 changes: 100 additions & 0 deletions assets/store/VocaDB/constants
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
const String APP_NAME = 'VocaDB';
const String HOST = 'https://vocadb.net';
const String AUTHORITY = 'vocadb.net';

enum ContentLanguage { Default, Japanese, Romaji, English }

const List<Map<String, String>> contactSites = [
{"title": "Website", "url": "https://vocadb.net"},
{"title": "Facebook", "url": "https://www.facebook.com/vocadb"},
{"title": "Twitter", "url": "https://twitter.com/VocaDB"},
{"title": "VK", "url": "https://vk.com/vocadb"},
{"title": "IRC #vocadb", "url": "https://vocadb.net/Home/Chat"},
];

const List<Map<String, String>> contactDeveloperSites = [
{
"title": "Mail",
"url": "mailto:[email protected]?subject=VocaDB%20Feedback"
},
{"title": "Facebook", "url": "https://facebook.com/augsorn"},
{"title": "Twitter", "url": "https://twitter.com/up2codio"},
{"title": "VocaDB", "url": "https://vocadb.net/Profile/up2up"},
{"title": "Github", "url": "https://github.com/VocaDB/VocaDB-App"},
];

const bool constShowFilterRank = true;

const List<String> constRankings = [
'daily',
'weekly',
'monthly',
'overall',
];

const List<String> constSongTypes = [
'Original',
'Remaster',
'Remix',
'Cover',
'Instrumental',
'Mashup',
'MusicPV',
'DramaPV',
'Other',
];

const List<String> constAlbumTypes = [
'Album',
'Single',
'EP',
'SplitAlbum',
'Compilation',
'Video',
'Artbook',
'Other',
];

const List<String> constArtistTypes = [
'Circle',
'Label',
'Producer',
'Animator',
'Illustrator',
'Lyricist',
'Vocaloid',
'UTAU',
'CeVIO',
'OtherVoiceSynthesizer',
'OtherVocalist',
'OtherGroup',
'OtherIndividual',
];

const List<String> constEventCategories = [
'AlbumRelease',
'Anniversary',
'Club',
'Concert',
'Contest',
'Other',
];

const List<String> constTagCategories = [
'Animation',
'Copyrights',
'Distribution',
'Editor notes',
'Event',
'Games',
'Genres',
'Instruments',
'Jobs',
'Languages',
'Lyrics',
'Media',
'Series',
'Sources',
'Themes',
'Vocalists',
];
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.
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.
Binary file added assets/store/VocaDB/ios/AppIcon.appiconset/20.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/store/VocaDB/ios/AppIcon.appiconset/29.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/store/VocaDB/ios/AppIcon.appiconset/40.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/store/VocaDB/ios/AppIcon.appiconset/50.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/store/VocaDB/ios/AppIcon.appiconset/57.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/store/VocaDB/ios/AppIcon.appiconset/58.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/store/VocaDB/ios/AppIcon.appiconset/60.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/store/VocaDB/ios/AppIcon.appiconset/72.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/store/VocaDB/ios/AppIcon.appiconset/76.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/store/VocaDB/ios/AppIcon.appiconset/80.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/store/VocaDB/ios/AppIcon.appiconset/87.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading