tum-dev / campus-ios Goto Github PK
View Code? Open in Web Editor NEWDevelopment of the TUM Campus App for iOS devices - for and from students at Technical University of Munich.
Home Page: https://tum.app
License: GNU General Public License v3.0
Development of the TUM Campus App for iOS devices - for and from students at Technical University of Munich.
Home Page: https://tum.app
License: GNU General Public License v3.0
Heya,
so I just wanted to ask everyone to specify what their license ideas are. I saw a few comments like
// Copyright © 2016 LS1 TUM. All rights reserved.
which I'm not sure what LS1 exactly is. I've currently release it under GPLv3 - is everyone alright with that?
TUM UB OPAC seems to have an api.
There is an opensource app for accessing opac: which supports the tum opac.
Their api uses this:
"_id":"Muenchen_TU","city":"M\u00fcnchen","api":"sisis","title":"Unibibliothek TUM","account_supported":true,"_active":true,"state":"Bayern","_version_required":0,"information":"http://www.ub.tum.de/so-erreichen-sie-uns/oeffnungszeiten","data":{"baseurl":"https://opac.ub.tum.de/InfoGuideClient.tumsis","startparams":"Login=wotum"}},{"_plus_required":false,"country":"Deutschland","library_id":5606,"geo":[48.1351253,11.5819806],"
The system they use is SISIS Sunrise
Some opensource implementation:
Docs
Everything is session-based, direct hyperlinks are possible to hardly anything
It looks like we have to parse html in order to get this to work. 👎
I'm currently working with the guys from the ITSZ to get an account rolling, so we can publish the app.
Hope to have everything set up by next week, so we can publish a first version starting with august.
The news-card is currently showing the event that's at position one of the api response. Currently that's a TU movie anytime in 2017.
The card should probably show the news which is the next upcoming one?
Same for the list of news - in Android this is solved by scrolling to the position of the closest news.
Public lane which more or less does:
It would be great to have GCM on the iOS app as well in order to be able to support the Alarm feature on both platforms and maybe get better backing from the TUM through this.
The GCM message format is listed here: https://github.com/TCA-Team/TumCampusApp/wiki/GCM-Message-format
The GCM message does not contain all the information needed as that would probably exceed the size limit of the GCM payload. In order to fetch the full message please check the API client in the Android version.
I've run across a minor issue - If you have no cards enabled on your Featured Tab, and pull the screen down to refresh, the spinner simply keeps spinning forever. And if you decide to change the tab while the spinner is there, then return to the Featured Tab again, the spinner will stay in its place, frozen, and you are unable to refresh again.
Using IPhone 6, iOS 10.2.1
I'd like to refactor the storyboard into multiple files to prevent merge conflicts in the future. Any objections @mathiasquintero?
Hi! I'm running iOS 10.2.1 on my IPhone and ran into this issue.
Tapping on the + sign on your profile leads to the app crashing after 2-3 seconds
Card that shows the next departures at the current location or the default campus.
Maybe including a filter, to only show relevant lines
The news API (https://tumcabe.in.tum.de/Api/news/) currently contains 3 sources:
In Android the approach looks like this as far as I understand:
In iOS we currently just display the most recent news in the news card and the most recent TU movie in the movie card. However the movie is managed by the MovieManager (and it made it's own request to the kino/ API endpoint to build that card).
Maybe we should adopt the design of the Android app and build 3 cards (movie, news and MVG Störung) via one single news/ call?
The kino/ endpoint is then used in the detail view of a movie.
Related "MVV malfunction card" #25
Implement Chat Rooms
Probably Should go in a separate Tab.
Perhaps try to make it look like whatsapp or iMessage:
https://github.com/jessesquires/JSQMessagesViewController
or
https://github.com/rcmcastro/whatsapp-ios
Implement after the GCM
I would like to create a Today Extension (Widget) for some of the cards like:
Problems:
Possible solutions:
The current implementation works, but its not really a great solution to first parse the xml and then cast it to json.
We need to improve the logic and make it neat and tidy to not have "spaghetti code"
It would be nice if we could somehow use the mi bistro menu from tum.sexy. And either integrate it into cafeteria card or create a new card
Currently the only way to search for rooms is by using the search. A new user however doesn't know this feature exists.
There should be a reference in the more-view. I guess it might just open the search bar?
@mammuth and I were thinking it's about time to do a release Party!
I'd say that after the next release of 1.1 with all the bug fixes we can all celebrate together!
Since @kordianbruck is always so eager to organize things, I suggest he should be in charge.
Currently there is no logic regarding the default campus I think, right @mathiasquintero?
Based on the default campus a couple of behaviours change, like the cafeteria card or the MVV card (s. #12 "Add MVV Info").
Currently the RoomFinder automatically shows the Munich map when searching for a room. I'd assume most users rather want to see a smaller map, so they find the room inside a building - and not the building inside Munich.
So I guess it makes sense to choose a smaller scaled map by default.
Refactor the creation of URLs by writing all the baseURLs in a JSON file . And finally get rid of all the warnings from Sonarqube
So from what I've tested the app does not seem to cache most of the data. Most noticebly it happend several times that the app was unresponsive due to load some data (10-20 seconds in the case of the calendar).
We will run into problems with the TUM. Especially the calendar uses a lot of resources on their mainframe. That should be updated once every 7 days or so at the very most! (Ask @xsrf for more details on this)
Please take a look at the Androids caching mechanics: https://github.com/TCA-Team/TumCampusApp/blob/master/app/src/main/java/de/tum/in/tumcampusapp/managers/CacheManager.java
User Feedback: "Eine Monatsübersicht wäre sehr nützlich "
I just noticed that the pods are not in the gitignore.
First we have to remove all the dependency sources.
Then we have to add the pods to the gitignore
I think we're still missing a card which reminds the student to pay the fee for the next semester
How about a card that shows your newest Grade? I think it would be quite handy to just take a look at your TUM app and see your newest grade when you receive the email, instead of checking out the website - Or you can see all your grades at once for the semester you're in or something.
see Android
while testing the app, I got an error in CafeteriaManager.swift, Line 78. location
is nil
fatal error: unexpectedly found nil while unwrapping an Optional value
We need to allow to use the App without the TUM ID asap.
Who has time to do this in the current week?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.