Merge branch 'rebranding' into 'main'
Rebranding See merge request mysocialportal/friendica_portal!7codemagic-setup
|
@ -1,4 +1,4 @@
|
|||
# Friendica Portal
|
||||
# Relatica
|
||||
|
||||
A Flutter application for interfacing with the Friendica social network.
|
||||
|
||||
|
|
|
@ -44,7 +44,7 @@ android {
|
|||
|
||||
defaultConfig {
|
||||
// TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html).
|
||||
applicationId "social.myportal.flutter_portal"
|
||||
applicationId "social.myportal.relatica"
|
||||
// You can update the following values to match your application needs.
|
||||
// For more information, see: https://docs.flutter.dev/deployment/android#reviewing-the-build-configuration.
|
||||
minSdkVersion 21
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="social.myportal.flutter_portal">
|
||||
package="social.myportal.relatica">
|
||||
<!-- 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"/>
|
||||
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
|
||||
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
|
||||
</manifest>
|
||||
|
|
|
@ -1,42 +1,42 @@
|
|||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="social.myportal.flutter_portal">
|
||||
package="social.myportal.relatica">
|
||||
|
||||
<application
|
||||
android:label="flutter_portal"
|
||||
android:name="${applicationName}"
|
||||
android:icon="@mipmap/ic_launcher">
|
||||
android:label="relatica"
|
||||
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">
|
||||
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" />
|
||||
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" />
|
||||
<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" />
|
||||
android:name="flutterEmbedding"
|
||||
android:value="2"/>
|
||||
</application>
|
||||
<queries>
|
||||
<intent>
|
||||
<action android:name="android.intent.action.VIEW" />
|
||||
<data android:scheme="https" />
|
||||
<action android:name="android.intent.action.VIEW"/>
|
||||
<data android:scheme="https"/>
|
||||
</intent>
|
||||
</queries>
|
||||
<uses-permission android:name="android.permission.INTERNET"/>
|
||||
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
|
||||
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
|
||||
</manifest>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
package social.myportal.flutter_portal
|
||||
package social.myportal.relatica
|
||||
|
||||
import io.flutter.embedding.android.FlutterActivity
|
||||
|
||||
class MainActivity: FlutterActivity() {
|
||||
class MainActivity : FlutterActivity() {
|
||||
}
|
||||
|
|
Przed Szerokość: | Wysokość: | Rozmiar: 544 B Po Szerokość: | Wysokość: | Rozmiar: 2.2 KiB |
Przed Szerokość: | Wysokość: | Rozmiar: 442 B Po Szerokość: | Wysokość: | Rozmiar: 1.6 KiB |
Przed Szerokość: | Wysokość: | Rozmiar: 721 B Po Szerokość: | Wysokość: | Rozmiar: 2.8 KiB |
Przed Szerokość: | Wysokość: | Rozmiar: 1.0 KiB Po Szerokość: | Wysokość: | Rozmiar: 4.3 KiB |
Przed Szerokość: | Wysokość: | Rozmiar: 1.4 KiB Po Szerokość: | Wysokość: | Rozmiar: 5.9 KiB |
|
@ -1,9 +1,9 @@
|
|||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
package="social.myportal.flutter_portal">
|
||||
package="social.myportal.relatica">
|
||||
<!-- 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"/>
|
||||
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
|
||||
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
|
||||
</manifest>
|
||||
|
|
Po Szerokość: | Wysokość: | Rozmiar: 2.2 KiB |
Po Szerokość: | Wysokość: | Rozmiar: 1.6 KiB |
Po Szerokość: | Wysokość: | Rozmiar: 2.8 KiB |
Po Szerokość: | Wysokość: | Rozmiar: 4.3 KiB |
Po Szerokość: | Wysokość: | Rozmiar: 5.9 KiB |
Po Szerokość: | Wysokość: | Rozmiar: 35 KiB |
Po Szerokość: | Wysokość: | Rozmiar: 819 B |
Po Szerokość: | Wysokość: | Rozmiar: 1.4 KiB |
Po Szerokość: | Wysokość: | Rozmiar: 1.8 KiB |
Po Szerokość: | Wysokość: | Rozmiar: 1.1 KiB |
Po Szerokość: | Wysokość: | Rozmiar: 1.9 KiB |
Po Szerokość: | Wysokość: | Rozmiar: 2.7 KiB |
Po Szerokość: | Wysokość: | Rozmiar: 1.4 KiB |
Po Szerokość: | Wysokość: | Rozmiar: 2.4 KiB |
Po Szerokość: | Wysokość: | Rozmiar: 3.6 KiB |
Po Szerokość: | Wysokość: | Rozmiar: 3.6 KiB |
Po Szerokość: | Wysokość: | Rozmiar: 5.4 KiB |
Po Szerokość: | Wysokość: | Rozmiar: 2.3 KiB |
Po Szerokość: | Wysokość: | Rozmiar: 4.6 KiB |
Po Szerokość: | Wysokość: | Rozmiar: 5.0 KiB |
Po Szerokość: | Wysokość: | Rozmiar: 35 KiB |
Po Szerokość: | Wysokość: | Rozmiar: 3.8 KiB |
Po Szerokość: | Wysokość: | Rozmiar: 658 B |
Po Szerokość: | Wysokość: | Rozmiar: 7.7 KiB |
Po Szerokość: | Wysokość: | Rozmiar: 1.1 KiB |
Po Szerokość: | Wysokość: | Rozmiar: 16 KiB |
Po Szerokość: | Wysokość: | Rozmiar: 2.0 KiB |
|
@ -0,0 +1,23 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
||||
<svg width="192" height="192" viewBox="0 0 1920 1920" version="1.1" id="svg13"
|
||||
sodipodi:docname="relatica_logo.svg" inkscape:version="1.2.2 (b0a84865, 2022-12-01)"
|
||||
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
||||
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
||||
xmlns="http://www.w3.org/2000/svg">
|
||||
<defs id="defs17" />
|
||||
<sodipodi:namedview id="namedview15" pagecolor="#ffffff" bordercolor="#666666"
|
||||
borderopacity="1.0" inkscape:showpageshadow="2" inkscape:pageopacity="0.0"
|
||||
inkscape:pagecheckerboard="0" inkscape:deskcolor="#d1d1d1" showgrid="false"
|
||||
inkscape:zoom="0.8290058" inkscape:cx="-31.966001" inkscape:cy="243.06223"
|
||||
inkscape:window-x="0" inkscape:window-y="25" inkscape:window-maximized="0"
|
||||
inkscape:current-layer="svg13" />
|
||||
<rect fill="#1872a2" x="60" y="60" width="1800" height="1800" rx="333" id="rect9"
|
||||
style="display:inline" inkscape:label="background" sodipodi:insensitive="true" />
|
||||
<path id="path1451" style="fill:#febf19;stroke-width:19.3965" inkscape:label="letter"
|
||||
d="m 831.48438,58.144531 c -16.63723,0.08185 -33.264,1.040169 -49.80469,2.832031 L 232.48047,116.95312 c -17.44025,12.31764 -33.14661,27.12936 -46.25,44.00391 -16.61361,21.28364 -29.06773,45.5642 -38.49609,70.80078 -5.21276,13.90858 -9.52868,28.14078 -13.24219,42.51953 0.008,-0.0444 -0.28496,1.09228 -0.39063,1.50391 -4.45665,17.51727 -7.99678,35.25427 -10.9375,53.08594 -0.0169,0.0832 -0.18177,1.14196 -0.2539,1.58203 -2.84546,17.51104 -5.11727,35.1135 -6.99219,52.7539 -0.034,0.29203 -0.11983,1.19239 -0.17578,1.71876 -1.73306,16.51621 -3.1039,33.06256 -4.25781,49.6289 0.002,0.0425 -0.0897,1.14423 -0.11719,1.58203 -2.64232,38.84746 -4.00381,77.77376 -4.80469,116.69922 -0.008,0.29491 -0.009,1.20882 -0.0195,1.73828 -0.30171,15.57249 -0.52511,31.144 -0.66406,46.71875 9.7e-4,0.37056 0.003,1.19157 0,1.73828 -0.35604,44.29612 -0.1544,88.59581 0.27343,132.89063 0.0169,1.99889 0.0576,4.21187 0.0781,6.28906 0.45957,44.10926 1.14567,88.19917 1.875,132.30469 1.57824,93.3847 3.35784,186.92418 4.72656,280.37108 1.43651,96.7418 2.48038,193.4825 2.89063,290.2344 0.36417,86.5771 0.24974,173.1705 -0.39063,259.7461 113.98388,48.5132 287.96925,97.0141 401.95313,145.5273 v -725.2344 h 32.07031 c 128.11382,245.1611 256.22027,490.3284 384.33594,735.4883 h 578.16409 c -154.6686,-257.1128 -309.3365,-514.2341 -464.0039,-771.3476 13.478,-2.592 -13.0336,-5.0853 0.4296,-7.7539 40.7597,-8.2734 80.9625,-19.4619 119.9415,-34.0039 33.9514,-12.6976 67.0301,-27.9248 98.0859,-46.6797 26.3294,-15.95038 51.2718,-34.48582 72.7734,-56.60159 9.1547,-9.43091 17.6357,-19.52631 25.1563,-30.3125 21.9236,-30.78793 40.1443,-64.20713 54.1992,-99.29687 15.6173,-38.90276 26.1275,-79.78183 32.1289,-121.25 5.1034,-35.05351 6.9999,-70.53141 6.4648,-105.9375 -0.1162,-8.87461 -0.3988,-17.75491 -0.8007,-26.6211 -0.01,-0.0358 -0.055,-1.14499 -0.078,-1.58203 -2.1283,-43.76209 -7.8911,-87.47639 -19.3164,-129.82422 -8.2812,-30.67525 -19.6211,-60.5846 -34.6679,-88.59375 -17.6326,-35.35701 -39.6491,-68.64328 -66.211,-97.92968 -22.8845,-25.31199 -49.1181,-47.55376 -77.7539,-66.09375 -34.4396,-23.9815 -71.9783,-43.39422 -111.1328,-58.41797 -33.3955,-12.8409 -67.9679,-22.513667 -103.0078,-29.667971 -15.6387,-3.578202 -31.2778,-7.124751 -46.97266,-10.449219 -0.20035,-0.04471 -1.18083,-0.246414 -1.67968,-0.351562 -29.91609,-6.303553 -60.01835,-11.805326 -90.39063,-15.390626 -0.0932,-0.0065 -1.13768,-0.145392 -1.58203,-0.195312 -23.87542,-2.773609 -47.91105,-4.331322 -71.95312,-4.199219 z M 517.28516,363.69141 h 20 c 82.81245,0.005 5.62505,10e-4 88.4375,0.0195 38.325,0.18187 76.60547,3.14715 114.55078,8.49609 31.98353,4.6661 63.55502,13.27493 92.83203,27.10938 4.11272,1.90737 8.11607,4.02544 12.16797,6.05468 19.5022,9.36037 37.45567,21.9231 52.89062,37.08985 10.71134,10.53504 20.26864,22.25234 28.49614,34.82422 12.847,19.85159 20.7717,42.56111 25.0976,65.72265 3.9807,21.34956 5.096,43.16128 4.4531,64.84375 -0.8566,26.06575 -4.7827,52.28931 -14.1797,76.71875 -5.7752,15.05129 -13.7277,29.30169 -23.8867,41.83594 -13.7908,18.30276 -30.56097,34.3501 -49.53122,47.20703 -12.41562,8.43469 -25.72634,15.54968 -39.58984,21.28906 -37.21598,13.69609 -76.50165,21.11133 -115.9375,24.47266 -4.251,0.31344 -8.51551,0.385 -12.77344,0.58594 -37.45138,1.5009 -74.9399,2.26367 -112.42188,2.16797 h -70.60546 z"
|
||||
sodipodi:nodetypes="sccccccccccccccccccccccccccccccccccccccccccccccccssccccccccccccccccccc" />
|
||||
<path id="rect9-9"
|
||||
style="display:inline;fill:none;stroke:#ffbf1a;stroke-width:100;stroke-dasharray:none;stroke-opacity:1"
|
||||
inkscape:label="border"
|
||||
d="m 388.86328,80.027344 c -31.33312,0.394258 -62.61502,5.422721 -92.44682,15.031372 -33.69694,10.836624 -65.50511,27.492954 -93.62492,48.989474 -32.67321,24.93742 -60.35621,56.38472 -80.91373,91.97871 C 103.23538,268.22041 90.466708,303.7934 84.34765,340.48713 81.255853,358.85798 79.86459,377.50176 80,396.12695 80.0022,773.25129 79.9956,1150.3757 80.0033,1527.5 c 0.03867,35.956 6.187178,71.9215 18.355478,105.7666 13.298492,37.1751 33.801482,71.7393 59.965692,101.3016 27.26305,30.8508 60.67967,56.2444 97.73831,74.1871 32.42718,15.7419 67.61705,25.7388 103.464,29.4895 12.48499,1.3318 25.04719,1.8483 37.60016,1.7552 376.79101,0 753.58206,0 1130.37306,0 35.956,-0.039 71.9215,-6.1872 105.7666,-18.3555 37.1751,-13.2985 71.7393,-33.8015 101.3016,-59.9657 30.8508,-27.263 56.2444,-60.6797 74.1871,-97.7383 15.7419,-32.4272 25.7388,-67.617 29.4895,-103.464 1.3318,-12.485 1.8483,-25.0472 1.7552,-37.6002 0,-376.791 0,-753.582 0,-1130.37299 -0.039,-35.95604 -6.1872,-71.92153 -18.3555,-105.76656 -13.2985,-37.17517 -33.8015,-71.73932 -59.9657,-101.30168 -27.263,-30.85082 -60.6797,-56.24433 -97.7383,-74.18707 C 1631.51,95.502805 1596.3202,85.505878 1560.4732,81.755198 1547.9882,80.423413 1535.426,79.906945 1522.873,80 1146.082,80.0022 769.291,79.9956 392.50001,80.0033 c -1.21224,0.008 -2.42449,0.01603 -3.63673,0.02404 z" />
|
||||
</svg>
|
Po Szerokość: | Wysokość: | Rozmiar: 5.9 KiB |
|
@ -363,7 +363,7 @@
|
|||
"$(inherited)",
|
||||
"@executable_path/Frameworks",
|
||||
);
|
||||
PRODUCT_BUNDLE_IDENTIFIER = social.myportal.flutterPortal;
|
||||
PRODUCT_BUNDLE_IDENTIFIER = social.myportal.relatica;
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
|
||||
SWIFT_VERSION = 5.0;
|
||||
|
@ -493,7 +493,7 @@
|
|||
"$(inherited)",
|
||||
"@executable_path/Frameworks",
|
||||
);
|
||||
PRODUCT_BUNDLE_IDENTIFIER = social.myportal.flutterPortal;
|
||||
PRODUCT_BUNDLE_IDENTIFIER = social.myportal.relatica;
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
|
||||
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
|
||||
|
@ -517,7 +517,7 @@
|
|||
"$(inherited)",
|
||||
"@executable_path/Frameworks",
|
||||
);
|
||||
PRODUCT_BUNDLE_IDENTIFIER = social.myportal.flutterPortal;
|
||||
PRODUCT_BUNDLE_IDENTIFIER = social.myportal.relatica;
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
SWIFT_OBJC_BRIDGING_HEADER = "Runner/Runner-Bridging-Header.h";
|
||||
SWIFT_VERSION = 5.0;
|
||||
|
|
Przed Szerokość: | Wysokość: | Rozmiar: 11 KiB Po Szerokość: | Wysokość: | Rozmiar: 35 KiB |
Przed Szerokość: | Wysokość: | Rozmiar: 564 B Po Szerokość: | Wysokość: | Rozmiar: 819 B |
Przed Szerokość: | Wysokość: | Rozmiar: 1.3 KiB Po Szerokość: | Wysokość: | Rozmiar: 1.4 KiB |
Przed Szerokość: | Wysokość: | Rozmiar: 1.6 KiB Po Szerokość: | Wysokość: | Rozmiar: 1.8 KiB |
Przed Szerokość: | Wysokość: | Rozmiar: 1.0 KiB Po Szerokość: | Wysokość: | Rozmiar: 1.1 KiB |
Przed Szerokość: | Wysokość: | Rozmiar: 1.7 KiB Po Szerokość: | Wysokość: | Rozmiar: 1.9 KiB |
Przed Szerokość: | Wysokość: | Rozmiar: 1.9 KiB Po Szerokość: | Wysokość: | Rozmiar: 2.7 KiB |
Przed Szerokość: | Wysokość: | Rozmiar: 1.3 KiB Po Szerokość: | Wysokość: | Rozmiar: 1.4 KiB |
Przed Szerokość: | Wysokość: | Rozmiar: 1.9 KiB Po Szerokość: | Wysokość: | Rozmiar: 2.4 KiB |
Przed Szerokość: | Wysokość: | Rozmiar: 2.6 KiB Po Szerokość: | Wysokość: | Rozmiar: 3.6 KiB |
Przed Szerokość: | Wysokość: | Rozmiar: 2.6 KiB Po Szerokość: | Wysokość: | Rozmiar: 3.6 KiB |
Przed Szerokość: | Wysokość: | Rozmiar: 3.7 KiB Po Szerokość: | Wysokość: | Rozmiar: 5.4 KiB |
Przed Szerokość: | Wysokość: | Rozmiar: 1.8 KiB Po Szerokość: | Wysokość: | Rozmiar: 2.3 KiB |
Przed Szerokość: | Wysokość: | Rozmiar: 3.2 KiB Po Szerokość: | Wysokość: | Rozmiar: 4.6 KiB |
Przed Szerokość: | Wysokość: | Rozmiar: 3.5 KiB Po Szerokość: | Wysokość: | Rozmiar: 5.0 KiB |
Przed Szerokość: | Wysokość: | Rozmiar: 68 B Po Szerokość: | Wysokość: | Rozmiar: 7.7 KiB |
Przed Szerokość: | Wysokość: | Rozmiar: 68 B Po Szerokość: | Wysokość: | Rozmiar: 16 KiB |
Przed Szerokość: | Wysokość: | Rozmiar: 68 B Po Szerokość: | Wysokość: | Rozmiar: 35 KiB |
|
@ -5,7 +5,7 @@
|
|||
<key>CFBundleDevelopmentRegion</key>
|
||||
<string>$(DEVELOPMENT_LANGUAGE)</string>
|
||||
<key>CFBundleDisplayName</key>
|
||||
<string>Flutter Portal</string>
|
||||
<string>Relatica</string>
|
||||
<key>CFBundleExecutable</key>
|
||||
<string>$(EXECUTABLE_NAME)</string>
|
||||
<key>CFBundleIdentifier</key>
|
||||
|
@ -13,7 +13,7 @@
|
|||
<key>CFBundleInfoDictionaryVersion</key>
|
||||
<string>6.0</string>
|
||||
<key>CFBundleName</key>
|
||||
<string>flutter_portal</string>
|
||||
<string>relatica</string>
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>APPL</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
|
|
|
@ -16,8 +16,8 @@ class ObjectBoxCache {
|
|||
|
||||
final path = p.join(docsDir.path, 'objectboxcache');
|
||||
_logger.info('ObjectBoxCache path: $path');
|
||||
final store = await openStore(
|
||||
directory: path, macosApplicationGroup: 'friendica_portal');
|
||||
final store =
|
||||
await openStore(directory: path, macosApplicationGroup: 'relatica');
|
||||
return ObjectBoxCache._create(store);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -30,11 +30,9 @@ Future<void> dependencyInjectionInitialization() async {
|
|||
final timelineManager = TimelineManager();
|
||||
final galleryService = GalleryService();
|
||||
|
||||
getIt.registerSingletonAsync(() async {
|
||||
final service = SettingsService();
|
||||
await service.initialize();
|
||||
return service;
|
||||
});
|
||||
final service = SettingsService();
|
||||
await service.initialize();
|
||||
getIt.registerSingleton<SettingsService>(service);
|
||||
|
||||
final objectBoxCache = await ObjectBoxCache.create();
|
||||
getIt.registerSingleton<ObjectBoxCache>(objectBoxCache);
|
||||
|
|
|
@ -30,7 +30,7 @@ void main() async {
|
|||
print(msg);
|
||||
});
|
||||
|
||||
dependencyInjectionInitialization();
|
||||
await dependencyInjectionInitialization();
|
||||
|
||||
runApp(const App());
|
||||
}
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
import 'package:flutter/material.dart';
|
||||
import 'package:friendica_portal/globals.dart';
|
||||
import 'package:friendica_portal/services/auth_service.dart';
|
||||
import 'package:go_router/go_router.dart';
|
||||
|
||||
import '../controls/app_bottom_nav_bar.dart';
|
||||
import '../globals.dart';
|
||||
import '../routes.dart';
|
||||
import '../services/auth_service.dart';
|
||||
|
||||
class MenusScreen extends StatelessWidget {
|
||||
static const menuButtonWidth = 350.0;
|
||||
|
|
|
@ -9,7 +9,7 @@ class SplashScreen extends StatelessWidget {
|
|||
mainAxisAlignment: MainAxisAlignment.center,
|
||||
crossAxisAlignment: CrossAxisAlignment.center,
|
||||
children: [
|
||||
const Text('Friendica Portal'),
|
||||
const Text('Relatica'),
|
||||
],
|
||||
)),
|
||||
);
|
||||
|
|
|
@ -4,10 +4,10 @@ project(runner LANGUAGES CXX)
|
|||
|
||||
# The name of the executable created for the application. Change this to change
|
||||
# the on-disk name of your application.
|
||||
set(BINARY_NAME "flutter_portal")
|
||||
set(BINARY_NAME "relatica")
|
||||
# The unique GTK application identifier for this application. See:
|
||||
# https://wiki.gnome.org/HowDoI/ChooseApplicationID
|
||||
set(APPLICATION_ID "social.myportal.flutter_portal")
|
||||
set(APPLICATION_ID "social.myportal.relatica")
|
||||
|
||||
# Explicitly opt in to modern CMake behaviors to avoid warnings with recent
|
||||
# versions of CMake.
|
||||
|
|
|
@ -40,11 +40,11 @@ static void my_application_activate(GApplication* application) {
|
|||
if (use_header_bar) {
|
||||
GtkHeaderBar* header_bar = GTK_HEADER_BAR(gtk_header_bar_new());
|
||||
gtk_widget_show(GTK_WIDGET(header_bar));
|
||||
gtk_header_bar_set_title(header_bar, "flutter_portal");
|
||||
gtk_header_bar_set_title(header_bar, "Relatica (A Friendica Client)");
|
||||
gtk_header_bar_set_show_close_button(header_bar, TRUE);
|
||||
gtk_window_set_titlebar(window, GTK_WIDGET(header_bar));
|
||||
} else {
|
||||
gtk_window_set_title(window, "flutter_portal");
|
||||
gtk_window_set_title(window, "Relatica (A Friendica Client)");
|
||||
}
|
||||
|
||||
gtk_window_set_default_size(window, 1280, 720);
|
||||
|
|
|
@ -55,7 +55,7 @@
|
|||
/* Begin PBXFileReference section */
|
||||
333000ED22D3DE5D00554162 /* Warnings.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = Warnings.xcconfig; sourceTree = "<group>"; };
|
||||
335BBD1A22A9A15E00E9071D /* GeneratedPluginRegistrant.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = GeneratedPluginRegistrant.swift; sourceTree = "<group>"; };
|
||||
33CC10ED2044A3C60003C045 /* flutter_portal.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = flutter_portal.app; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||
33CC10ED2044A3C60003C045 /* Relatica.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Relatica.app; sourceTree = BUILT_PRODUCTS_DIR; };
|
||||
33CC10F02044A3C60003C045 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
|
||||
33CC10F22044A3C60003C045 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Assets.xcassets; path = Runner/Assets.xcassets; sourceTree = "<group>"; };
|
||||
33CC10F52044A3C60003C045 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/MainMenu.xib; sourceTree = "<group>"; };
|
||||
|
@ -113,7 +113,7 @@
|
|||
33CC10EE2044A3C60003C045 /* Products */ = {
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
33CC10ED2044A3C60003C045 /* flutter_portal.app */,
|
||||
33CC10ED2044A3C60003C045 /* Relatica.app */,
|
||||
);
|
||||
name = Products;
|
||||
sourceTree = "<group>";
|
||||
|
@ -194,7 +194,7 @@
|
|||
);
|
||||
name = Runner;
|
||||
productName = Runner;
|
||||
productReference = 33CC10ED2044A3C60003C045 /* flutter_portal.app */;
|
||||
productReference = 33CC10ED2044A3C60003C045 /* Relatica.app */;
|
||||
productType = "com.apple.product-type.application";
|
||||
};
|
||||
/* End PBXNativeTarget section */
|
||||
|
@ -428,6 +428,8 @@
|
|||
DEAD_CODE_STRIPPING = YES;
|
||||
DEVELOPMENT_TEAM = T69YZGT58U;
|
||||
INFOPLIST_FILE = Runner/Info.plist;
|
||||
INFOPLIST_KEY_CFBundleDisplayName = Relatica;
|
||||
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.social-networking";
|
||||
LD_RUNPATH_SEARCH_PATHS = (
|
||||
"$(inherited)",
|
||||
"@executable_path/../Frameworks",
|
||||
|
@ -563,6 +565,8 @@
|
|||
DEAD_CODE_STRIPPING = YES;
|
||||
DEVELOPMENT_TEAM = T69YZGT58U;
|
||||
INFOPLIST_FILE = Runner/Info.plist;
|
||||
INFOPLIST_KEY_CFBundleDisplayName = Relatica;
|
||||
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.social-networking";
|
||||
LD_RUNPATH_SEARCH_PATHS = (
|
||||
"$(inherited)",
|
||||
"@executable_path/../Frameworks",
|
||||
|
@ -588,6 +592,8 @@
|
|||
DEAD_CODE_STRIPPING = YES;
|
||||
DEVELOPMENT_TEAM = T69YZGT58U;
|
||||
INFOPLIST_FILE = Runner/Info.plist;
|
||||
INFOPLIST_KEY_CFBundleDisplayName = Relatica;
|
||||
INFOPLIST_KEY_LSApplicationCategoryType = "public.app-category.social-networking";
|
||||
LD_RUNPATH_SEARCH_PATHS = (
|
||||
"$(inherited)",
|
||||
"@executable_path/../Frameworks",
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "33CC10EC2044A3C60003C045"
|
||||
BuildableName = "flutter_portal.app"
|
||||
BuildableName = "Relatica.app"
|
||||
BlueprintName = "Runner"
|
||||
ReferencedContainer = "container:Runner.xcodeproj">
|
||||
</BuildableReference>
|
||||
|
@ -31,7 +31,7 @@
|
|||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "33CC10EC2044A3C60003C045"
|
||||
BuildableName = "flutter_portal.app"
|
||||
BuildableName = "Relatica.app"
|
||||
BlueprintName = "Runner"
|
||||
ReferencedContainer = "container:Runner.xcodeproj">
|
||||
</BuildableReference>
|
||||
|
@ -54,7 +54,7 @@
|
|||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "33CC10EC2044A3C60003C045"
|
||||
BuildableName = "flutter_portal.app"
|
||||
BuildableName = "Relatica.app"
|
||||
BlueprintName = "Runner"
|
||||
ReferencedContainer = "container:Runner.xcodeproj">
|
||||
</BuildableReference>
|
||||
|
@ -71,7 +71,7 @@
|
|||
<BuildableReference
|
||||
BuildableIdentifier = "primary"
|
||||
BlueprintIdentifier = "33CC10EC2044A3C60003C045"
|
||||
BuildableName = "flutter_portal.app"
|
||||
BuildableName = "Relatica.app"
|
||||
BlueprintName = "Runner"
|
||||
ReferencedContainer = "container:Runner.xcodeproj">
|
||||
</BuildableReference>
|
||||
|
|
Przed Szerokość: | Wysokość: | Rozmiar: 101 KiB Po Szerokość: | Wysokość: | Rozmiar: 35 KiB |
Przed Szerokość: | Wysokość: | Rozmiar: 5.5 KiB Po Szerokość: | Wysokość: | Rozmiar: 3.8 KiB |
Przed Szerokość: | Wysokość: | Rozmiar: 520 B Po Szerokość: | Wysokość: | Rozmiar: 658 B |
Przed Szerokość: | Wysokość: | Rozmiar: 14 KiB Po Szerokość: | Wysokość: | Rozmiar: 7.7 KiB |
Przed Szerokość: | Wysokość: | Rozmiar: 1.0 KiB Po Szerokość: | Wysokość: | Rozmiar: 1.1 KiB |
Przed Szerokość: | Wysokość: | Rozmiar: 36 KiB Po Szerokość: | Wysokość: | Rozmiar: 16 KiB |
Przed Szerokość: | Wysokość: | Rozmiar: 2.2 KiB Po Szerokość: | Wysokość: | Rozmiar: 2.0 KiB |
|
@ -5,10 +5,10 @@
|
|||
// 'flutter create' template.
|
||||
|
||||
// The application's name. By default this is also the title of the Flutter window.
|
||||
PRODUCT_NAME = flutter_portal
|
||||
PRODUCT_NAME = Relatica
|
||||
|
||||
// The application's bundle identifier
|
||||
PRODUCT_BUNDLE_IDENTIFIER = social.myportal.flutterPortal
|
||||
PRODUCT_BUNDLE_IDENTIFIER = social.myportal.relatica
|
||||
|
||||
// The copyright displayed in application information
|
||||
PRODUCT_COPYRIGHT = Copyright © 2022 social.myportal. All rights reserved.
|
||||
PRODUCT_COPYRIGHT = Copyright © 2022 My Social Portal. All rights reserved.
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
<array/>
|
||||
<key>com.apple.security.application-groups</key>
|
||||
<array>
|
||||
<string>friendica_portal</string>
|
||||
<string>relatica</string>
|
||||
</array>
|
||||
</dict>
|
||||
</plist>
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
<array/>
|
||||
<key>com.apple.security.application-groups</key>
|
||||
<array>
|
||||
<string>friendica_portal</string>
|
||||
<string>relatica</string>
|
||||
</array>
|
||||
</dict>
|
||||
</plist>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
name: friendica_portal
|
||||
description: Friendica Social Network Application
|
||||
name: relatica
|
||||
description: A mobile and desktop client for interacting with the Friendica social network
|
||||
|
||||
publish_to: 'none' # Remove this line if you wish to publish to pub.dev
|
||||
version: 1.0.0+1
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
import 'package:flutter_test/flutter_test.dart';
|
||||
import 'package:friendica_portal/globals.dart';
|
||||
import 'package:friendica_portal/models/entry_tree_item.dart';
|
||||
import 'package:friendica_portal/models/timeline_entry.dart';
|
||||
import 'package:friendica_portal/utils/entry_tree_item_flattening.dart';
|
||||
import 'package:relatica/globals.dart';
|
||||
import 'package:relatica/models/entry_tree_item.dart';
|
||||
import 'package:relatica/models/timeline_entry.dart';
|
||||
import 'package:relatica/utils/entry_tree_item_flattening.dart';
|
||||
|
||||
void main() {
|
||||
group('Flattening Tests', () {
|
||||
|
|
|
@ -1,58 +1,58 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<!--
|
||||
If you are serving your web app in a path other than the root, change the
|
||||
href value below to reflect the base path you are serving from.
|
||||
<!--
|
||||
If you are serving your web app in a path other than the root, change the
|
||||
href value below to reflect the base path you are serving from.
|
||||
|
||||
The path provided below has to start and end with a slash "/" in order for
|
||||
it to work correctly.
|
||||
The path provided below has to start and end with a slash "/" in order for
|
||||
it to work correctly.
|
||||
|
||||
For more details:
|
||||
* https://developer.mozilla.org/en-US/docs/Web/HTML/Element/base
|
||||
For more details:
|
||||
* https://developer.mozilla.org/en-US/docs/Web/HTML/Element/base
|
||||
|
||||
This is a placeholder for base href that will be replaced by the value of
|
||||
the `--base-href` argument provided to `flutter build`.
|
||||
-->
|
||||
<base href="$FLUTTER_BASE_HREF">
|
||||
This is a placeholder for base href that will be replaced by the value of
|
||||
the `--base-href` argument provided to `flutter build`.
|
||||
-->
|
||||
<base href="$FLUTTER_BASE_HREF">
|
||||
|
||||
<meta charset="UTF-8">
|
||||
<meta content="IE=Edge" http-equiv="X-UA-Compatible">
|
||||
<meta name="description" content="Friendica Social Network Application">
|
||||
<meta charset="UTF-8">
|
||||
<meta content="IE=Edge" http-equiv="X-UA-Compatible">
|
||||
<meta content="Friendica Social Network Client" name="description">
|
||||
|
||||
<!-- iOS meta tags & icons -->
|
||||
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||
<meta name="apple-mobile-web-app-status-bar-style" content="black">
|
||||
<meta name="apple-mobile-web-app-title" content="flutter_portal">
|
||||
<link rel="apple-touch-icon" href="icons/Icon-192.png">
|
||||
<!-- iOS meta tags & icons -->
|
||||
<meta content="yes" name="apple-mobile-web-app-capable">
|
||||
<meta content="black" name="apple-mobile-web-app-status-bar-style">
|
||||
<meta content="Relatica" name="apple-mobile-web-app-title">
|
||||
<link href="icons/Icon-192.png" rel="apple-touch-icon">
|
||||
|
||||
<!-- Favicon -->
|
||||
<link rel="icon" type="image/png" href="favicon.png"/>
|
||||
<!-- Favicon -->
|
||||
<link href="favicon.png" rel="icon" type="image/png"/>
|
||||
|
||||
<title>flutter_portal</title>
|
||||
<link rel="manifest" href="manifest.json">
|
||||
<title>Relatica</title>
|
||||
<link href="manifest.json" rel="manifest">
|
||||
|
||||
<script>
|
||||
// The value below is injected by flutter build, do not touch.
|
||||
var serviceWorkerVersion = null;
|
||||
</script>
|
||||
<!-- This script adds the flutter initialization JS code -->
|
||||
<script src="flutter.js" defer></script>
|
||||
<script>
|
||||
// The value below is injected by flutter build, do not touch.
|
||||
var serviceWorkerVersion = null;
|
||||
</script>
|
||||
<!-- This script adds the flutter initialization JS code -->
|
||||
<script defer src="flutter.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
window.addEventListener('load', function(ev) {
|
||||
// Download main.dart.js
|
||||
_flutter.loader.loadEntrypoint({
|
||||
serviceWorker: {
|
||||
serviceWorkerVersion: serviceWorkerVersion,
|
||||
}
|
||||
}).then(function(engineInitializer) {
|
||||
return engineInitializer.initializeEngine();
|
||||
}).then(function(appRunner) {
|
||||
return appRunner.runApp();
|
||||
});
|
||||
<script>
|
||||
window.addEventListener('load', function (ev) {
|
||||
// Download main.dart.js
|
||||
_flutter.loader.loadEntrypoint({
|
||||
serviceWorker: {
|
||||
serviceWorkerVersion: serviceWorkerVersion,
|
||||
}
|
||||
}).then(function (engineInitializer) {
|
||||
return engineInitializer.initializeEngine();
|
||||
}).then(function (appRunner) {
|
||||
return appRunner.runApp();
|
||||
});
|
||||
});
|
||||
</script>
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
|
@ -1,35 +1,35 @@
|
|||
{
|
||||
"name": "flutter_portal",
|
||||
"short_name": "flutter_portal",
|
||||
"start_url": ".",
|
||||
"display": "standalone",
|
||||
"background_color": "#0175C2",
|
||||
"theme_color": "#0175C2",
|
||||
"description": "Friendica Social Network Application",
|
||||
"orientation": "portrait-primary",
|
||||
"prefer_related_applications": false,
|
||||
"icons": [
|
||||
{
|
||||
"src": "icons/Icon-192.png",
|
||||
"sizes": "192x192",
|
||||
"type": "image/png"
|
||||
},
|
||||
{
|
||||
"src": "icons/Icon-512.png",
|
||||
"sizes": "512x512",
|
||||
"type": "image/png"
|
||||
},
|
||||
{
|
||||
"src": "icons/Icon-maskable-192.png",
|
||||
"sizes": "192x192",
|
||||
"type": "image/png",
|
||||
"purpose": "maskable"
|
||||
},
|
||||
{
|
||||
"src": "icons/Icon-maskable-512.png",
|
||||
"sizes": "512x512",
|
||||
"type": "image/png",
|
||||
"purpose": "maskable"
|
||||
}
|
||||
]
|
||||
"name": "relatica",
|
||||
"short_name": "relatica",
|
||||
"start_url": ".",
|
||||
"display": "standalone",
|
||||
"background_color": "#0175C2",
|
||||
"theme_color": "#0175C2",
|
||||
"description": "Friendica Social Network Client",
|
||||
"orientation": "portrait-primary",
|
||||
"prefer_related_applications": false,
|
||||
"icons": [
|
||||
{
|
||||
"src": "icons/Icon-192.png",
|
||||
"sizes": "192x192",
|
||||
"type": "image/png"
|
||||
},
|
||||
{
|
||||
"src": "icons/Icon-512.png",
|
||||
"sizes": "512x512",
|
||||
"type": "image/png"
|
||||
},
|
||||
{
|
||||
"src": "icons/Icon-maskable-192.png",
|
||||
"sizes": "192x192",
|
||||
"type": "image/png",
|
||||
"purpose": "maskable"
|
||||
},
|
||||
{
|
||||
"src": "icons/Icon-maskable-512.png",
|
||||
"sizes": "512x512",
|
||||
"type": "image/png",
|
||||
"purpose": "maskable"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
# Project-level configuration.
|
||||
cmake_minimum_required(VERSION 3.14)
|
||||
project(flutter_portal LANGUAGES CXX)
|
||||
project(relatica LANGUAGES CXX)
|
||||
|
||||
# The name of the executable created for the application. Change this to change
|
||||
# the on-disk name of your application.
|
||||
set(BINARY_NAME "flutter_portal")
|
||||
set(BINARY_NAME "relatica")
|
||||
|
||||
# Explicitly opt in to modern CMake behaviors to avoid warnings with recent
|
||||
# versions of CMake.
|
||||
|
|
|
@ -89,13 +89,13 @@ BEGIN
|
|||
BEGIN
|
||||
BLOCK "040904e4"
|
||||
BEGIN
|
||||
VALUE "CompanyName", "social.myportal" "\0"
|
||||
VALUE "FileDescription", "flutter_portal" "\0"
|
||||
VALUE "CompanyName", "My Social Portal" "\0"
|
||||
VALUE "FileDescription", "Relatica" "\0"
|
||||
VALUE "FileVersion", VERSION_AS_STRING "\0"
|
||||
VALUE "InternalName", "flutter_portal" "\0"
|
||||
VALUE "LegalCopyright", "Copyright (C) 2022 social.myportal. All rights reserved." "\0"
|
||||
VALUE "OriginalFilename", "flutter_portal.exe" "\0"
|
||||
VALUE "ProductName", "flutter_portal" "\0"
|
||||
VALUE "InternalName", "relatica" "\0"
|
||||
VALUE "LegalCopyright", "Copyright (C) 2022 My Social Portal. All rights reserved." "\0"
|
||||
VALUE "OriginalFilename", "relatica.exe" "\0"
|
||||
VALUE "ProductName", "Relatica" "\0"
|
||||
VALUE "ProductVersion", VERSION_AS_STRING "\0"
|
||||
END
|
||||
END
|
||||
|
|
|
@ -27,7 +27,7 @@ int APIENTRY wWinMain(_In_ HINSTANCE instance, _In_opt_ HINSTANCE prev,
|
|||
FlutterWindow window(project);
|
||||
Win32Window::Point origin(10, 10);
|
||||
Win32Window::Size size(1280, 720);
|
||||
if (!window.CreateAndShow(L"flutter_portal", origin, size)) {
|
||||
if (!window.CreateAndShow(L"Relatica", origin, size)) {
|
||||
return EXIT_FAILURE;
|
||||
}
|
||||
window.SetQuitOnClose(true);
|
||||
|
|
Przed Szerokość: | Wysokość: | Rozmiar: 33 KiB Po Szerokość: | Wysokość: | Rozmiar: 9.4 KiB |