-
-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #106 from VocaDB/develop
Develop
- Loading branch information
Showing
30 changed files
with
589 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
json_key_file("./google-play-service-account.json") # Path to the json secret file - Follow https://docs.fastlane.tools/actions/supply/#setup to get one | ||
package_name("com.coolappz.Vocadb") # e.g. com.krausefx.app |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# This file contains the fastlane.tools configuration | ||
# You can find the documentation at https://docs.fastlane.tools | ||
# | ||
# For a list of all available actions, check out | ||
# | ||
# https://docs.fastlane.tools/actions | ||
# | ||
# For a list of all available plugins, check out | ||
# | ||
# https://docs.fastlane.tools/plugins/available-plugins | ||
# | ||
|
||
# Uncomment the line if you want fastlane to automatically update itself | ||
# update_fastlane | ||
|
||
default_platform(:android) | ||
|
||
platform :android do | ||
desc "Submit to Beta" | ||
lane :beta do | ||
upload_to_play_store(track: 'internal', | ||
skip_upload_apk: true, | ||
skip_upload_metadata: true, | ||
skip_upload_changelogs: true, | ||
skip_upload_images: true, | ||
skip_upload_screenshots: true, | ||
aab: './../build/app/outputs/bundle/release/app.aab') | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
fastlane documentation | ||
================ | ||
# Installation | ||
|
||
Make sure you have the latest version of the Xcode command line tools installed: | ||
|
||
``` | ||
xcode-select --install | ||
``` | ||
|
||
Install _fastlane_ using | ||
``` | ||
[sudo] gem install fastlane -NV | ||
``` | ||
or alternatively using `brew cask install fastlane` | ||
|
||
# Available Actions | ||
## Android | ||
### android beta | ||
``` | ||
fastlane android beta | ||
``` | ||
Submit to Beta | ||
|
||
---- | ||
|
||
This README.md is auto-generated and will be re-generated every time [fastlane](https://fastlane.tools) is run. | ||
More information about fastlane can be found on [fastlane.tools](https://fastlane.tools). | ||
The documentation of fastlane can be found on [docs.fastlane.tools](https://docs.fastlane.tools). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# app_identifier("[[APP_IDENTIFIER]]") # The bundle identifier of your app | ||
# apple_id("[[APPLE_ID]]") # Your Apple email address | ||
app_identifier("com.up2up.vocadb") | ||
apple_id("apple_id") | ||
team_name("team_name") | ||
team_id("team_id") | ||
|
||
# For more information about the Appfile, see: | ||
# https://docs.fastlane.tools/advanced/#appfile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# This file contains the fastlane.tools configuration | ||
# You can find the documentation at https://docs.fastlane.tools | ||
# | ||
# For a list of all available actions, check out | ||
# | ||
# https://docs.fastlane.tools/actions | ||
# | ||
# For a list of all available plugins, check out | ||
# | ||
# https://docs.fastlane.tools/plugins/available-plugins | ||
# | ||
|
||
# Uncomment the line if you want fastlane to automatically update itself | ||
# update_fastlane | ||
|
||
default_platform(:ios) | ||
|
||
platform :ios do | ||
desc "Build and submit app to testflight" | ||
lane :beta do | ||
build_ios_app(export_method: "app-store") | ||
upload_to_testflight | ||
# add actions here: https://docs.fastlane.tools/actions | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
fastlane documentation | ||
================ | ||
# Installation | ||
|
||
Make sure you have the latest version of the Xcode command line tools installed: | ||
|
||
``` | ||
xcode-select --install | ||
``` | ||
|
||
Install _fastlane_ using | ||
``` | ||
[sudo] gem install fastlane -NV | ||
``` | ||
or alternatively using `brew cask install fastlane` | ||
|
||
# Available Actions | ||
## iOS | ||
### ios beta | ||
``` | ||
fastlane ios beta | ||
``` | ||
Build and submit app to testflight | ||
|
||
---- | ||
|
||
This README.md is auto-generated and will be re-generated every time [fastlane](https://fastlane.tools) is run. | ||
More information about fastlane can be found on [fastlane.tools](https://fastlane.tools). | ||
The documentation of fastlane can be found on [docs.fastlane.tools](https://docs.fastlane.tools). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
import 'dart:async'; | ||
|
||
import 'package:rxdart/rxdart.dart'; | ||
import 'package:vocadb/blocs/config_bloc.dart'; | ||
import 'package:vocadb/models/release_event_series_model.dart'; | ||
import 'package:vocadb/services/release_event_series_rest_service.dart'; | ||
|
||
class EventSeriesBloc { | ||
final _eventSeriesDetail = BehaviorSubject<ReleaseEventSeriesModel>(); | ||
|
||
Observable get eventSeriesDetail$ => _eventSeriesDetail.stream; | ||
|
||
final int id; | ||
|
||
ReleaseEventSeriesRestService releaseEventSeriesService; | ||
|
||
ConfigBloc configBloc; | ||
|
||
EventSeriesBloc(this.id, | ||
{ReleaseEventSeriesRestService releaseEventSeriesService, this.configBloc}) { | ||
this.releaseEventSeriesService ??= | ||
releaseEventSeriesService ?? ReleaseEventSeriesRestService(); | ||
|
||
fetchEventSeriesDetail(); | ||
} | ||
|
||
Future<void> fetchEventSeriesDetail() async { | ||
return releaseEventSeriesService | ||
.byId(this.id, lang: configBloc.contentLang) | ||
.then(_eventSeriesDetail.add); | ||
} | ||
|
||
void dispose() { | ||
_eventSeriesDetail?.close(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,25 @@ | ||
import 'package:intl/intl.dart'; | ||
import 'package:vocadb/models/artist_event_model.dart'; | ||
import 'package:vocadb/models/base_model.dart'; | ||
import 'package:vocadb/models/entry_model.dart'; | ||
import 'package:vocadb/models/release_event_model.dart'; | ||
import 'package:vocadb/utils/json_utils.dart'; | ||
|
||
class ReleaseEventSeriesModel extends EntryModel { | ||
EntryType entryType = EntryType.ReleaseEventSeries; | ||
String description; | ||
String category; | ||
String pictureMime; | ||
List<ReleaseEventModel> events; | ||
|
||
ReleaseEventSeriesModel(); | ||
|
||
ReleaseEventSeriesModel.fromJson(Map<String, dynamic> json) | ||
: description = json['description'], | ||
category = json['category'], | ||
events = JSONUtils.mapJsonArray<ReleaseEventModel>( | ||
json['events'], (v) => ReleaseEventModel.fromJson(v)), | ||
super.fromJson(json); | ||
|
||
static List<ReleaseEventSeriesModel> jsonToList(List items) { | ||
return items.map((i) => ReleaseEventSeriesModel.fromJson(i)).toList(); | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.