Giter VIP home page Giter VIP logo

sharezoneapp / sharezone-app Goto Github PK

View Code? Open in Web Editor NEW
227.0 227.0 43.0 102.45 MB

Sharezone is a collaborative school organization app for iOS, Android, macOS and web with +450,000 downloads. Built with Flutter & Firebase.

Home Page: https://sharezone.net

License: European Union Public License 1.2

Ruby 0.20% Java 0.03% Dart 99.09% Swift 0.19% Objective-C 0.01% CSS 0.05% HTML 0.27% Shell 0.07% Kotlin 0.01% Batchfile 0.01% Nix 0.08%
dart firebase flutter organisation school

sharezone-app's People

Contributors

dependabot[bot] avatar evilmonkey09 avatar gantanikhilraj avatar jonas-sander avatar marc-r2 avatar nilsreichardt avatar test-banane avatar th3ph4nt0m avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

sharezone-app's Issues

[macOS] App version does not load.

Describe the bug

When going to the Settings > "about us" ("Über uns") page the app version can't be loaded.

Steps to Reproduce

  1. Open the Sharezone app on macOS
  2. Go to Settings > About us ("Über uns")

Current broken behavior

Instead of loading the version is says "loading version..." forever.

Expected behavior

The version should be displayed.

Screenshots, videos or logs

image

Tested device

  • Device: MacBook Pro (13 inch, 2018)
  • OS: macOS Big Sur 11.6
  • App version: 1.5.81 (taken from AppStore, see #98 )

Additional context

Possibly related to the package_info_plus (no implementation for macOS for the old version we use)

Possible solution

Use newer version of package_info_plus

Tapping on "new homework comment" push notification doesn't open homework

Describe the bug

When a new comment is written on a homework a push notification is sent out to other users of that homework.

Tapping on the notification doesn't open the homework where a new comment was added.

The same issue might also happen with comments on information sheets - I haven't tested it yet.

Steps to Reproduce

  1. Create a course with User A and User B.
  2. Create a new homework with User A.
  3. Create a comment for this homework with User A.
  4. Tap on the incoming push notification or in-app notification with User B.

Current broken behavior

A dialog showing the content of the push notification is displayed.

Expected behavior

The homework page with the new comment should be opened.

Screenshots, videos or logs

screen-20211226-161852.mp4

Tested device

Pixel 4a, Android 12, Version 1.6.1 (315)

Replace Privacy Policy with updated version.

  • Make sure that Google location is correct

  • Add RevenueCat

  • Add Stripe

  • Add email sending service

  • Send email to users that have an email about privacy policy changes (and TOS and Plus)

Tab-focus skips "Sign in with Apple" button

Describe the bug

When using tab to change the focus of the active element on the login page the "Sign in with Apple" is skipped.

Steps to Reproduce

  1. Open Sign-In page
  2. Press "TAB" key several times

Current broken behavior

The tab focus skips the "Sign in with Apple" button.

Expected behavior

The tab focus should focus the "Sign in with Apple" button after focusing the blue login button.

Screenshots, videos or logs

Bildschirmaufnahme.2022-01-31.um.22.31.38.mp4

Tested device

  • Device: PC / MacBook
  • OS: Windows 10 / macOS Big Sur
  • App version: 1.6.2 (316) (Web) / 1.5.81 (taken from AppStore, see #98)

Additional context

Original issue: https://gitlab.com/codingbrain/sharezone/sharezone-app/-/issues/1396

[macOS] Changelog does not load.

Describe the bug

When opening the changelog page on macOS there is an infinite loading spinner.

Steps to Reproduce

  1. Open Sharezone on macOS
  2. Open the changelog page - Settings ("Einstellungen") > What is new? ("Was ist neu?")

Current broken behavior

There is a loading spinner. The changelog is not displayed.

Expected behavior

The changelog will be displayed.

Screenshots, videos or logs

image

Tested device

  • Device: MacBook Pro (13 inch, 2018)
  • OS: macOS Big Sur 11.6
  • App version: 1.5.81 (taken from AppStore, version can't be loaded inside the app #98)

Additional context

Possibly related to the package_info_plus (no implementation for macOS for the old version we use)

Original issue: https://gitlab.com/codingbrain/sharezone/sharezone-app/-/issues/1416

Possible solution

Use newer version of package_info_plus

A user should be able to add exams via the pre-defined timetable times instead of choosing a time manually.

Currently a user can only add an exam manually via a start and end time.
image

Just like with the lessons there should be the option to chosse a lesson slot/time:
image

Open questions:

  • How does the user select between manually choosing a time and choosing via the lessons times/slots?
  • How do we handle an exam running several lesson slots? Currently you can only select one lesson slot when adding a lesson, which is already problem there.

Hyperlinks in PDF document should be clickable.

Describe the bug

When previewing a PDF inside Sharezone and clicking onto a link inside the document it should open the link inside e.g. a web browser.

Steps to Reproduce

  1. Go to the files page.
  2. Open a folder where you can upload a file.
  3. Upload a PDF which has a hyperlink (clickable link) inside it.
  4. Tap onto the PDF
  5. Try to click the link inside the PDF

Current broken behavior

Nothing happens

Expected behavior

The URL of hyperlink should be opened inside a browser / new tab / whatever.
This also expands to e.g. mailto URIs (do not work aswell).

Tested device

  • Device: Pixel 4a / PC
  • OS: Android 12 / Windows 10
  • App version: 1.6.1 (315) / 1.6.2 (316)

Additional context

This seems to be an issue with the native_pdf_view plugin we use.
See: ScerIO/packages.flutter#82

Further Update README.md

Some ideas:

  • General introduction
    • What does the app do? (Screenshots, Videos, etc.)
    • In a sentence: How did the app came to be?
    • Link to app (inform that it is currently only in German)
  • What to do if one finds a bug or has an idea for a feature (see #29)
  • How to contribute - reference to CONTRIBUTING.md (see #28)
  • What one should do if one finds a security bug
  • Links to our social media etc

Replace `barcode_scan` with a new package

Building our app for any platform with Flutter > 2.5.x will show this warning:

The plugin `barcode_scan` uses a deprecated version of the Android embedding.
To avoid unexpected runtime failures, or future build failures, try to see if this plugin supports the Android V2 embedding. Otherwise, consider removing it since a future release of Flutter will remove these deprecated APIs.
If you are plugin author, take a look at the docs for migrating the plugin to the V2 embedding: https://flutter.dev/go/android-plugin-migration.

Unfortunately, the barcode_scan package is not maintained anymore:
image
Source: https://github.com/mintware-de/flutter_barcode_reader

Therefore, we need to replace the barcode_scan package to fix this warning.

Uploading files is not working anymore (only web app)

Describe the bug

On the web app, it's not possible to upload a file anymore. This effects the "Files", "Homework" (attachments) and the "Blackboard" (attachments) feature.

Steps to Reproduce

  1. Go to "Files"
  2. Tap the plus button
  3. Pick file from system

Current broken behavior

After picking from the browser file picker, nothing happens.

Expected behavior

After picking a file, the app should upload the file.

Screenshots, videos or logs

Screen.Recording.2022-01-26.at.09.42.50.mov

Tested device

  • Device: MacBook Pro M1
  • OS: macOS 12
  • App version: 1.6.2

Additional context

Many customers already confirmed this issue, when contacting the support.

Remove unused class licence code.

We had once the idea to introduce a class licence which you buy and enables more feature for a class inside Sharezone.
We don't persue this idea anymore (at least not in the near future) so the code can be removed. It is hidden behind a feature flag anyway.

Example:

image

Homework for 1st november is shown as "later" instead of "tomorrow" category in homework page on 31st october.

Describe the bug

A Homework that is due on the 1st november is shown in the"later" category instead in the "tomorrow" category if the current date is the 31st october.

Steps to Reproduce

TODO: Haven't reproduced myself yet.

  1. Set the date of the device to 31st october
  2. Open the homework page in Sharezone
  3. Add homework for 1st november
  4. See that homework is in "later" category

Current broken behavior

Homework is in "later" category

Expected behavior

Homework is in "tomorrow" category

Screenshots, videos or logs

image

See user report in Discord: link

Additional Context

Original issue: https://gitlab.com/codingbrain/sharezone/sharezone-app/-/issues/1193

Tested device

Unknown (user report)

Comments with bad spacing should not be found/fixed via RegEx (false-positives)

In our Dart code we follow the convention of leaving spaces after the slahes of comments.
A comment with bad spacing is a comment that has no space after the slashes.
Good comment: // foo bar
Bad comment: //foo bar

We have a

  1. CI step which searches for bad comments and fails if any are found
  2. the sz fix-comment-spacing command which fixes the bad comments by inserting spaces after slashes

When checking for / fixing comments with bad spacing there are false-positives as these bad comments are found via RegEx.

The current implementation in fix_comment_spacing_command.dart(link to old commit - might be updated already) uses a simple regex to find comments via their slashes:

/// Matches "//" and "///"
final _commentSlashesRegex = RegExp(r'\/{2,3}');

and then uses some simple heuristics to try and filter out stuff like urls etc.

If there are edge cases one can use add the following comment to a file: // ignore_for_file: no_spaces_after_comment_slashes which is a workaround for this issue.

Steps to Reproduce

  1. Edit a .dart file to include print('//should not get matched as this is not a real comment');
  2. Let the analyze CI step run or run sz fix-comment-spacing

Current broken behavior

The analyze step fails as the statement above is falsely interpreted as a comment with bad spacing.
The sz fix-comment-spacing wrongly "fixes" the statement above by inserting a space behind the print statement.

Expected behavior

The analyze step should not fail.
The sz fix-comment-spacing should not wrongly fix the statement.

More examples / edge-cases

// An empty comment with no spaces after is okay:
//
//

void main() {
 print('//the example from above');
}

// What about this:
///////////heey
// //Is this alright?

// An empty comment at the end of the file is probably also okay:
///

// https://www.this-has-slashes-in-url.com

See also the already existing test cases (link to old commit - might be already updated)

Additional context

Old Issue from GitLab: https://gitlab.com/codingbrain/sharezone/sharezone-app/-/issues/1455

Possible solution

The Dart code should not be checked by regex as in this case there will always be edge cases for which it's not simple to find out if it's a real comment or just something that looks like a comment inside a string.

A better solution would be to analyze the Dart code via its AST.
One could possibly create an analyzer plugin or create a new lint rule for the official Dart linter.

The last option should probably be preferred as it seems like less work and it will benefit all other users.
I opened a ticket in the dart-lang/linter repo: "New lint for leaving space between comment slashes (//) and content."

Create documents explaining how to contribute and what to look out for.

Some random notes:

  • Create CONTRIBUTING.md
  • Explain Pull-Request Flow (WIP/Review - first create issue if you're unsure about the change)
  • Definition of done (Testing (Unit / E2E), Analytics, ....)
  • How to do local testing (is this possible? Might we need to create another Firestore project?)
  • Where does which code go?
  • Which structure do we use for our code (BLOC, Domain logic, etc.)
  • We do not gurantee that we add your change
  • Code of Conduct?

SnackBar text is not legible in dark mode (wrong text color)

Describe the bug

When a SnackBaris displayed in Sharezone in dark mode the text can't be read (see Screenshot below).
The text color seems to be black instead of white.

Steps to Reproduce

  1. Go to Settings > Appearance and activate dark mode
  2. Go to homework page
  3. Edit a homework name and click on "save"
  4. Look at the appearing SnackBar

The problem seems to appear on all SnackBars the above is just one example.

Current broken behavior

The SnackBar text is black on black and thus not legible.

Expected behavior

The text should be white or some other color that is legible on the dark background.

Screenshots, videos or logs

SnackBar in dark mode:
image

In light mode the text is legible:
image

Tested device

  • Device: Web

  • App version:
    Newest version, e.g. at commit bce3a2f. I tried reproducing on 1.6.1 (315) version on my phone (which is way older than the mentioned commit) but it seems to work there. The issue might be related to #51.

Icons looking weird on alpha web app

Describe the bug

The Material Icons are looking weird / wrong on alpha web app.

Steps to Reproduce

  1. Go to https://alpha.web.sharezone.net
  2. Login
  3. Click trough app

Current broken behavior

image
image
image
image

Expected behavior

See Android / iOS app (I'm now too lazy to make the screenshots in the android / ios app 😅)

Screenshots, videos or logs

See broken behavior

Tested device

  • Device: MacBook Pro M1
  • Browser: Chrome 95.0.4638.69
  • OS: macOS 12.0.1
  • App version: 1.6.1 (Alpha Web-App)

Additional context

Possible solution

[macOS] Feedback can't be submitted

Describe the bug

When trying to submit a feedback a SnackBar with a generic error message appears.

Steps to Reproduce

  1. Open Sharezone on macOS
  2. Go to the feedback page
  3. Write something into the feedback fields
  4. Click onto "Submit" ("Abschicken")

Current broken behavior

A generic error SnackBar appears. The feedback is not submitted.

Expected behavior

The feedback should be submitted / sent to our backend.

Screenshots, videos or logs

image

Tested device

  • Device: MacBook Pro (13 inch, 2018)
  • OS: macOS Big Sur 11.6
  • App version: 1.5.81 (taken from AppStore, version can't be loaded inside the app #98 )

Additional context

Possibly related to the package_info_plus (no implementation for macOS for the old version we use)

Original issue: https://gitlab.com/codingbrain/sharezone/sharezone-app/-/issues/1416

Possible solution

Use newer version of package_info_plus

`implicit-casts` should be disabled

With implicit-casts: true (current setting) it's easy to get runtime errors that could be caught statically.
When disabling the option there needs to be some changes in the code to accommodate.

Plan on where bug reports and feature requests go

Should we e.g. put bug reports into issues and feature requests into discussions?

Can you create a shortcut from the issue creation dialog into the discussions? ("Create issue" --> "Feature Request" --> Forwarded to discussions tab)

What templates should we have in "issues"?

What other things than feature requests and bug reports do we have that might go into issues or discussions?

Some users have a broken user document

image

I don't how, but the user 5VLQnu7xwSNfVjIiyXk6JRef22N2 has a broken user document. Fields like typeOfUser are missing. Therefore, this user can not see any homeworks, because the cloud function, which assigns the users to homework, do not have the typeOfUser.

SnackBar doesn't disappear when saving edited homework.

Describe the bug

When editing a homework and pressing "save" the resulting SnackBar doesn't disappear (see screen capture below).

Steps to Reproduce

  1. Go to homework page
  2. Add a homework
  3. Tap on the homework and open the edit screen via the edit icon in the top right
  4. Change the title of the homework
  5. Press "save"

Current broken behavior

The SnackBar that appears stays on the screen forever.

Expected behavior

The SnackBar should disappear after a few seconds or after the changes have been received/confirmed by the backend.

Screenshots, videos or logs

video_2021-12-14_16-28-46.mp4

Tested device

  • Device: Pixel 4a and Web
  • OS: Android 12 / Windows 10
  • App version: 1.6.1 (315) / Version at commit bce3a2f (is still named 1.6.1 but is way newer)

Reenable Autofill Hints for web

E.g. from login_page.dart:

          // Autofill sollte im Web mit der Kombination eines StreamBuilders /
          // FutureBuilders nicht verwendet werden, weil es ansonsten zu
          // Problemen mit den TextFeldern kommt, wenn ein Error-Text angezeigt
          // wird.
          //
          // Ticket: https://github.com/flutter/flutter/issues/63596
          //
          // Sobald dieser Bug behoben ist, kann Autofill fürs Web wieder
          // verwendet werden.
          autofillHints: [if (!PlatformCheck.isWeb) AutofillHints.email],

The bug is now fixed and thus autofill can be reenabled.

There are several files with Autofill deactivated on the web, those can be found by doing a text search of parts of the comment above.

Can't open email program via change account type dialog.

Describe the bug

When selecting the "contact support" option on the change account type dialog on Android the email program does not open (should open with predefined text).

Steps to Reproduce

  1. Go to Settings ("Einstellungen") > My account ("Mein Konto")
  2. Tap onto account type ("Account-Type") tile
  3. Tap "contact support" ("Support kontaktieren") button in the dialog

Current broken behavior

Nothing happens on Android

Expected behavior

The email program should open with a predefined email template.

Screenshots, videos or logs

image

Tested device

  • Device: Pixel 4a
  • OS: Android 12
  • App version: 1.6.1 (315)

Additional context

I/UrlLauncher(16600): component name for mailto:[email protected]?subject=Typ+des+Accounts+%C3%A4ndern+%5BJZ4jMkAgetSwMafFDEWBGr4IYuB2%5D is {com.google.android.gm/com.google.android.gm.ComposeActivityGmailExternal}
E/MethodChannel#plugins.flutter.io/url_launcher(16600): Failed to handle method call
E/MethodChannel#plugins.flutter.io/url_launcher(16600): java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.Boolean.booleanValue()' on a null object reference
E/MethodChannel#plugins.flutter.io/url_launcher(16600): 	at io.flutter.plugins.urllauncher.MethodCallHandlerImpl.onLaunch(MethodCallHandlerImpl.java:88)
E/MethodChannel#plugins.flutter.io/url_launcher(16600): 	at io.flutter.plugins.urllauncher.MethodCallHandlerImpl.onMethodCall(MethodCallHandlerImpl.java:40)
E/MethodChannel#plugins.flutter.io/url_launcher(16600): 	at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:233)
E/MethodChannel#plugins.flutter.io/url_launcher(16600): 	at io.flutter.embedding.engine.dart.DartMessenger.handleMessageFromDart(DartMessenger.java:84)
E/MethodChannel#plugins.flutter.io/url_launcher(16600): 	at io.flutter.embedding.engine.FlutterJNI.handlePlatformMessage(FlutterJNI.java:865)
E/MethodChannel#plugins.flutter.io/url_launcher(16600): 	at android.os.MessageQueue.nativePollOnce(Native Method)
E/MethodChannel#plugins.flutter.io/url_launcher(16600): 	at android.os.MessageQueue.next(MessageQueue.java:335)
E/MethodChannel#plugins.flutter.io/url_launcher(16600): 	at android.os.Looper.loop(Looper.java:183)
E/MethodChannel#plugins.flutter.io/url_launcher(16600): 	at android.app.ActivityThread.main(ActivityThread.java:7656)
E/MethodChannel#plugins.flutter.io/url_launcher(16600): 	at java.lang.reflect.Method.invoke(Native Method)
E/MethodChannel#plugins.flutter.io/url_launcher(16600): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
E/MethodChannel#plugins.flutter.io/url_launcher(16600): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)
E/flutter (16600): [ERROR:flutter/lib/ui/ui_dart_state.cc(209)] Unhandled Exception: PlatformException(error, Attempt to invoke virtual method 'boolean java.lang.Boolean.booleanValue()' on a null object reference, null, java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.Boolean.booleanValue()' on a null object reference
E/flutter (16600): 	at io.flutter.plugins.urllauncher.MethodCallHandlerImpl.onLaunch(MethodCallHandlerImpl.java:88)
E/flutter (16600): 	at io.flutter.plugins.urllauncher.MethodCallHandlerImpl.onMethodCall(MethodCallHandlerImpl.java:40)
E/flutter (16600): 	at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler.onMessage(MethodChannel.java:233)
E/flutter (16600): 	at io.flutter.embedding.engine.dart.DartMessenger.handleMessageFromDart(DartMessenger.java:84)
E/flutter (16600): 	at io.flutter.embedding.engine.FlutterJNI.handlePlatformMessage(FlutterJNI.java:865)
E/flutter (16600): 	at android.os.MessageQueue.nativePollOnce(Native Method)
E/flutter (16600): 	at android.os.MessageQueue.next(MessageQueue.java:335)
E/flutter (16600): 	at android.os.Looper.loop(Looper.java:183)
E/flutter (16600): 	at android.app.ActivityThread.main(ActivityThread.java:7656)
E/flutter (16600): 	at java.lang.reflect.Method.invoke(Native Method)
E/flutter (16600): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
E/flutter (16600): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)
E/flutter (16600): )
E/flutter (16600): #0      StandardMethodCodec.decodeEnvelope
package:flutter/…/services/message_codecs.dart:607
E/flutter (16600): #1      MethodChannel._invokeMethod
package:flutter/…/services/platform_channel.dart:156
E/flutter (16600): <asynchronous suspension>
E/flutter (16600): #2      launch
package:url_launcher/url_launcher.dart:101
E/flutter (16600): <asynchronous suspension>
E/flutter (16600):

Add warning to alpha web app.

At https://alpha.web.sharezone.net we host an automatically deployed version from the main branch.
We should make clear that we do not make any guarantee about anything in this version.
There may be features not included by our privacy policy or tos and that there might be bugs that may lead to data loss. I guess for new features there might be even security risks (there might be ways to access data from other users if it haven't been secured properly) although I'm not sure how far we can go in this regard. I guess we still need to make some guarantees about security of ones data.

Adjust support response time on support page

Description

Currently, we write on our support page "In der Regel antworten wir von Mo. - So. innerhalb von wenigen Stunden". This isn't true anymore.

image

Instead, we should write something like: "Bitte beachte, dass es ein bis zwei Wochen dauern kann, bis wir antworten (in Einzelfällen auch länger)."

When trying to confirm a username with an invalid character a snackbar appears that says "choose a username with more than one character"

Describe the bug

If a user tries to create an account with or change an existing username to a username with an invalid character (e.g. "!", "_") and tries to save / confirm that name then a SnackBar appears that says "Please choose a name with more than one character" which does not make sense.

Steps to Reproduce

New account

  1. Try to create a new pupil account
  2. When the page for choosing the username is shown then try to choose "test_!" as the username.
  3. Tap on the blue error to confirm the user name.

Existing account

  1. On an existing account go into Settings ("Einstellungen") > My Account ("Mein Konto") > Name
  2. Write "test_!" into the user name field.
  3. Tap onto "Save!"

Current broken behavior

A SnackBar is shown that says "Please choose a name with more than one character".

Expected behavior

Either:

  • A SnackBar should appear that says that the user name contains invalid characters.
  • The confirm / save button should be greyed out if the text field contains an invalid user name. The error text of the text field should mention invalid characters in the user name.

Screenshots, videos or logs

photo_2022-01-31_20-27-59

photo_2022-01-31_20-27-55

Tested device

  • Device: Pixel 4a
  • OS: Android 12
  • App version: 1.6.1 (315)

Original issue: https://gitlab.com/codingbrain/sharezone/sharezone-app/-/issues/1454

Add Licence header to existing files if we open-source.

See:

https://joinup.ec.europa.eu/sites/default/files/inline-files/EUPL%201_1%20Guidelines%20EN%20Joinup.pdf

4.7 You need to refer to the licence inside the source code.

The choice of the licence must be stated where the software is provided (e.g. on the software's website). There is no need to include the actual text of the licence there, a name and a link to the original licence text will better ensure the reference to a single source. This informs the public what licence the software will be released under, but it's not sufficient for legal purposes. For that, the software code itself must refer to the licence or contain the licence. The standard way to do this is to put the full licence text in a file called “COPYING” (or “LICENCE”), and then put a short notice at the top of each source file, naming the copyright, date, holder and licence, and informing the reader where to find the full text of the licence. An example of “short notice” for software distributed under the EUPL is the following:

/*
* Copyright 2007 YOUR-ORGANISATION4
*
* Licensed under the EUPL, Version 1.1 or – as soon they
will be approved by the European Commission - subsequent
versions of the EUPL (the "Licence");
* You may not use this work except in compliance with the
Licence.
* You may obtain a copy of the Licence at:
*
* https://joinup.ec.europa.eu/software/page/eupl5
*
* Unless required by applicable law or agreed to in
writing, software distributed under the Licence is
distributed on an "AS IS" basis,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
express or implied.
* See the Licence for the specific language governing
permissions and limitations under the Licence.
*/

In the above example, the original author accepts later versions of the EUPL, which could be published by
the European Commission. Distributing “under the EUPL” without any indication of a version number
would produce the same effect, however less explicitly.

Note: The link https://joinup.ec.europa.eu/software/page/eupl5 seems to be outdated. Should be replaced.

Inform users/possible contributors of open-sourcing.

  • Add a countdown until open-sourcing?
  • Send a push notification
  • Make posts on social media
  • Create a blog post
  • Add a link inside the app to the Github repo
  • Add the social button "Github" to our info cards in "about us" inside Sharezone

E-Mail template for changing account type has "+" where spaces should be.

Describe the bug

When selecting the "contact support" option on the change account type dialog the template text has "+" where spaces should be on some platforms.

Steps to Reproduce

  1. Go to Settings ("Einstellungen") > My account ("Mein Konto").
  2. Tap onto account type ("Account-Type") tile.
  3. Tap "contact support" ("Support kontaktieren") button in the dialog.

Current broken behavior

The text contains "+" where spaces should be.

Expected behavior

The text should not have these special characters instead of spaces etc.

Screenshots, videos or logs

Tested device

This does NOT happen with the web app when having gmail inside the browser as the default mail handler.

Additional context

UrlLauncherExtended seems to encode the template text as an URL which causes spaces to be changed to "+".

Original issue: https://gitlab.com/codingbrain/sharezone/sharezone-app/-/issues/1404

A submitted homework that was marked "not done" can't be marked as done again.

Describe the bug

A homework with a submission that was sucessfully submitted, then marked as "not done" and then marked as done again can't be marked as done again.

Steps to Reproduce

(See video below)

  1. Go to homework page
  2. Create a new homework with submissions
  3. Go to the submission page of the homework
  4. Upload a file
  5. Submit the homework.
  6. Go to the homework page
  7. Switch to the done / completed homeworks tab
  8. Tap onto the homework from above
  9. Tap onto "mark as not done / not completed" at the bottom of the page
  10. Go to the not done / not completed homeworks tab
  11. Tap onto the homework from above
  12. (see below)

Current broken behavior

  1. The button at the bottom of the page says "mark as not done / not completed" even though the homework was already marked as not completed and appears on the not completed homework tab.
  2. If the button is pressed the homework does not get marked as done (i.e. the homework can never be marked as completed again).

Expected behavior

  1. The button at the bottom of the page should say "mark as done / completed".
  2. If pressed the homework should be marked as completed and appear in the completed homeworks tab.

Screenshots, videos or logs

video_2022-01-31_21-17-07.mp4

Tested device

  • Device: Pixel 4a
  • OS: Android 12
  • App version: 1.6.1 (315)

Original Issue: https://gitlab.com/codingbrain/sharezone/sharezone-app/-/issues/1426

Sign in via web app is not possible

Describe the bug

Signing in via the web app is possible:
image

Steps to Reproduce

  1. Go to https://web.sharezone.net
  2. Try to sign in with the sign in method of your choice

Current broken behavior

Error is thrown

Expected behavior

Sign in should be possible

Screenshots, videos or logs

Screen.Recording.2021-11-29.at.12.32.40.mov

Tested device

  • Device: MacBook Pro M1
  • Browser: Chrome
  • OS: macOS 11
  • App version: 1.6.1

Additional context

I received already some user reports that they are also able to sign in the web app.

Possible solution

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.