Skip to content
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

News aggregator module #345

Open
wants to merge 141 commits into
base: null_safety
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 137 commits
Commits
Show all changes
141 commits
Select commit Hold shift + click to select a range
4223e5f
Create UI prototype for selecting data sources
IoanaAlexandru Dec 20, 2020
73b469e
Create UI prototype for selecting data sources
IoanaAlexandru Dec 20, 2020
ddac723
Added source editing page, a field in user for filtering the informat…
AdrianMargineanu Feb 24, 2021
e060ea2
Edit the quarry from the firebase to filter the information.
AdrianMargineanu Feb 25, 2021
5f5ddfa
Merge remote-tracking branch 'origin/select_sources' into select_sources
AdrianMargineanu Feb 25, 2021
c4b1dc7
Create UI prototype for selecting data sources
IoanaAlexandru Dec 20, 2020
0bb872a
Added source editing page, a field in user for filtering the informat…
AdrianMargineanu Feb 24, 2021
6963757
Edit the quarry from the firebase to filter the information.
AdrianMargineanu Feb 25, 2021
f2f2852
Merge branch 'master' into select_sources
IoanaAlexandru Feb 26, 2021
27c63c7
Fix broken merge and update packages.
IoanaAlexandru Feb 26, 2021
a1258c6
Fix bug when user has no sources selected.
IoanaAlexandru Feb 26, 2021
ad6ae43
Merge remote-tracking branch 'origin/select_sources' into select_sources
AdrianMargineanu Feb 28, 2021
dd76c01
Disable the checkbox of the official info field
AdrianMargineanu Feb 28, 2021
e80f78e
Merge branch 'master' into select_sources
AdrianMargineanu Feb 28, 2021
98a287d
Remove the hardcoded text from tha page
AdrianMargineanu Mar 6, 2021
ed736d4
If the user is anonymous get all websites.
AdrianMargineanu Mar 6, 2021
1616310
Modify the condition of automation opening of source page
AdrianMargineanu Mar 6, 2021
fb13c4e
Correct deprecated methods
AdrianMargineanu Mar 6, 2021
8cbd334
Grammar fixes of the strings
AdrianMargineanu Mar 6, 2021
512e4fd
Move the source_page in settings
AdrianMargineanu Mar 6, 2021
03bd793
Correct the mock of the tests
AdrianMargineanu Mar 6, 2021
192c860
Make source selection page show only once per app launch.
IoanaAlexandru Mar 6, 2021
425a2a6
Merge branch 'master' into select_sources
IoanaAlexandru Mar 6, 2021
096494b
Fix broken merge conflict.
IoanaAlexandru Mar 6, 2021
596a48b
Add information sources page link to settings.
IoanaAlexandru Mar 6, 2021
e991417
Improve settings page.
IoanaAlexandru Mar 6, 2021
c945c7f
Migrate the database to the filter system
AdrianMargineanu Mar 7, 2021
07f7d20
Migrate faq to sources
AdrianMargineanu Mar 30, 2021
f515016
Merge branch 'master' into select_sources
AdrianMargineanu Mar 30, 2021
13b261d
Merged dev with select_sources
AdrianMargineanu Mar 30, 2021
e487c7a
Replace all material icons with their outlined counterpart.
IoanaAlexandru Apr 3, 2021
78312a0
Use feather icons.
IoanaAlexandru Apr 3, 2021
447350c
Improve padding.
IoanaAlexandru Apr 3, 2021
abad93a
Merge branch 'master' into IoanaAlexandru/improve_ui
IoanaAlexandru Apr 3, 2021
e6d292e
Fix failing test.
IoanaAlexandru Apr 3, 2021
931ecf4
Replace all FlatButtons with TextButtons.
IoanaAlexandru Apr 3, 2021
7086982
Fix unused package warning.
IoanaAlexandru Apr 3, 2021
ac8e6df
Improve settings page.
IoanaAlexandru Apr 3, 2021
2663d75
More settings page improvements.
IoanaAlexandru Apr 3, 2021
b66d254
Fix failing tests.
IoanaAlexandru Apr 3, 2021
b8a5e1f
Merge branch 'IoanaAlexandru/improve_ui' into select_sources
IoanaAlexandru Apr 3, 2021
7a311ac
Format files.
IoanaAlexandru Apr 3, 2021
7b1459f
Merge branch 'IoanaAlexandru/improve_ui' into select_sources
IoanaAlexandru Apr 3, 2021
e3e6438
Fix linter warning.
IoanaAlexandru Apr 3, 2021
c7620bd
Remove methods not useful in the prod
AdrianMargineanu Apr 10, 2021
d972734
Merge branch 'master' into select_sources
AdrianMargineanu Apr 10, 2021
8c54a20
Add a condition if the sources are null
AdrianMargineanu Apr 10, 2021
5fe4c1a
Merge branch 'master' into select_sources
AdrianMargineanu May 15, 2021
5aef7f2
Merge branch 'master' into select_sources
AdrianMargineanu Jul 17, 2021
f314f80
Fix the compilation errors after the merge
AdrianMargineanu Jul 18, 2021
7dd3b44
Remove the used imports.
AdrianMargineanu Jul 18, 2021
51c0292
Merge branch 'master' into select_sources
AdrianMargineanu Jul 18, 2021
4e161ce
Merge branch 'master' into select_sources
IoanaAlexandru Oct 3, 2021
d2ef2f2
Fix tests.
IoanaAlexandru Oct 3, 2021
14b9190
Merge branch 'master' into select_sources
AdrianMargineanu Oct 5, 2021
be60201
Solve conflicts
AdrianMargineanu Oct 5, 2021
13f0e41
Fix feedback tests
AdrianMargineanu Oct 5, 2021
63e8610
Code refactor. Build bump
AdrianMargineanu Oct 5, 2021
7e5e6b1
Change to form context to current
AdrianMargineanu Oct 5, 2021
1624132
Update contributor for Stefan Popa (#328)
stefanp0pa Apr 10, 2022
f990853
Propose iOS run with different configurations (#332)
stefanp0pa Apr 26, 2022
f055a84
Initial file setup for the news feature
stefanp0pa Apr 30, 2022
ec7fbd2
Hide cards when no-items are present (#339)
stefanp0pa May 2, 2022
0a38072
Start designing the news item page
stefanp0pa May 2, 2022
6636f5e
Fooling around with the Markdown widget
stefanp0pa May 2, 2022
d40e259
More work on the individual news item details page
stefanp0pa May 3, 2022
2833d83
Merge branch 'master' into select_sources
stefanp0pa May 3, 2022
f713582
Applied most of RC, problem with whereIn condition in question_provider
stefanp0pa May 3, 2022
73454f4
Connect source selection page to the settings
stefanp0pa May 4, 2022
cfa3358
Removed unnecessary print
stefanp0pa May 4, 2022
e486f98
Solved last comments in pr
AdrianMargineanu May 4, 2022
5820e74
Add the error dialog if user has no student source in the events table
AdrianMargineanu May 4, 2022
fd97294
Solved failed intl string generation
stefanp0pa May 5, 2022
6d8d3aa
Add string in all files
stefanp0pa May 5, 2022
3320feb
Applied a part of the newest RCs by Ioana
stefanp0pa May 6, 2022
284ba99
Rename the old question provider into FaqQuestionProvider
stefanp0pa May 6, 2022
6162c65
Used ProxyProvider for the FaqQuestionProvider
stefanp0pa May 6, 2022
5ad6301
Applied ProxyProvider for WebsiteProvider, do not know how to test
stefanp0pa May 6, 2022
2c5ccf3
Replaced the warningEventsAreAddedByStudents string
stefanp0pa May 6, 2022
8bc874d
Reorganize the news details page
stefanp0pa May 6, 2022
b02a048
Adding timestamp to news feed details
stefanp0pa May 7, 2022
823a28a
Almost implement the bookmark functionality, I cannot get past the db…
stefanp0pa May 7, 2022
ff91044
When user did not select sources, default to all sources
stefanp0pa May 7, 2022
f245e83
Add filterBySource utility function in faq and website providers
stefanp0pa May 7, 2022
d3c32ea
Address DangerBot warning
stefanp0pa May 7, 2022
e917be5
Apply DangerBot suggestions
stefanp0pa May 8, 2022
c0e964e
Apply rewording RCs
stefanp0pa May 9, 2022
5821ebf
Apply getter for sources
stefanp0pa May 9, 2022
c17148d
Apply RC
stefanp0pa May 16, 2022
aa65bd1
Merge select_sources branch into stefp0pa-licenta-null_safety
stefanp0pa May 17, 2022
462f16b
Fix merge issues from merging select_sources
stefanp0pa May 17, 2022
e5d2f0b
Merge branch 'null_safety' into stefp0pa/licenta-null_safety
stefanp0pa May 17, 2022
5679094
Fix bookmark on backend
stefanp0pa May 17, 2022
938906e
Fix FutureBuilder in news details page
stefanp0pa May 18, 2022
edbcb7d
Initial setup for the Roles Request form page
stefanp0pa May 18, 2022
426532e
Implement method for retrieving the favorite items
stefanp0pa May 19, 2022
63a9927
Roles feature, initial setup
stefanp0pa May 22, 2022
c8fbbee
Create top tab view for each news feed category and create correspond…
stefanp0pa May 22, 2022
571b93e
Style list news items
stefanp0pa May 23, 2022
ab16f00
Implement a new layout style for the news items in the main list
stefanp0pa May 23, 2022
da79cac
Refactor code for the main news list, remove code smells
stefanp0pa May 24, 2022
18bca4d
Add create post page, modify rules in Firebase
stefanp0pa May 24, 2022
b6209ae
Style a little the compose post page
stefanp0pa May 28, 2022
b5259e7
Add preview screen for news before posting them
stefanp0pa May 28, 2022
54127ee
Add refresh action on pull-to-refresh gesture
stefanp0pa May 30, 2022
d09f0f9
Add dropdown filter for roles but did not style it on request roles page
stefanp0pa May 31, 2022
884c9ce
Design roles request form and post request
stefanp0pa May 31, 2022
55dd6bb
Add consistency between admin pages
stefanp0pa Jun 1, 2022
44a7f2d
Check if request was made for a specific role but did not take any ac…
stefanp0pa Jun 1, 2022
677479b
Initial setup for dynamic links but not working
stefanp0pa Jun 1, 2022
fadcfda
Handle role requests, not fully tested
stefanp0pa Jun 2, 2022
c8f8cfc
Test the role requests, fix small bugs
stefanp0pa Jun 2, 2022
da6c9be
Initial deep linking setup using uni_links
stefanp0pa Jun 3, 2022
099736e
Post news with relevance and role details attached
stefanp0pa Jun 4, 2022
00ebec6
Some progress on the dynamic links
stefanp0pa Jun 4, 2022
a9992b7
Implement RedirectDynamicLink widget for handling dynamic links
stefanp0pa Jun 4, 2022
5c61fa1
Test more the dynamic link functionality, implement share news
stefanp0pa Jun 4, 2022
460e823
Integrate but not tested the send mail when request approve
stefanp0pa Jun 10, 2022
b55ef97
Added scraper
stefanp0pa Jun 10, 2022
6c3a5b2
Make notifications work at bare minimum
stefanp0pa Jun 11, 2022
73dfd73
Push current cloud messaging configuration
stefanp0pa Jun 11, 2022
b7c3484
Implement scraping - messaging - notification pipeline with cloud fun…
stefanp0pa Jun 14, 2022
f1b49c8
Switch for showing notifications or not on the sources page
stefanp0pa Jun 14, 2022
afc2360
Update to enable news notifications setting
stefanp0pa Jun 14, 2022
061f445
Handle different login types on the main news feed page
stefanp0pa Jun 14, 2022
97df0fb
Fix bugs and remodel the news collection
stefanp0pa Jun 14, 2022
7bb625e
Improve querying mechanism for news and implement relevance filter
stefanp0pa Jun 15, 2022
ef9ae12
Filter news items by source category
stefanp0pa Jun 15, 2022
b0aa5ff
Refactor preview functionality
stefanp0pa Jun 15, 2022
c44c0e3
Refactor the news feed page and add more scrapers
stefanp0pa Jun 15, 2022
6174509
More design fixes, added delete functionality for personal posts
stefanp0pa Jun 15, 2022
b3a18c9
Add a decent summarise function for posts on the main news feed page
stefanp0pa Jun 16, 2022
ff60c00
Convert scrapers to scheduled functions
stefanp0pa Jun 20, 2022
2c3ada2
Moving notifications on the main settings page
stefanp0pa Jun 20, 2022
21d8b40
Update schedule period to once per day for web scrapers
stefanp0pa Jun 22, 2022
821480d
Fix settings page
stefanp0pa Jun 22, 2022
cd78052
Fix more bugs and improve UX
stefanp0pa Jun 22, 2022
57ab384
Fix emailing
stefanp0pa Jun 22, 2022
c3152b2
Show no items message on the admin panel screens
stefanp0pa Jun 24, 2022
774a370
Apply improvement suggestions
stefanp0pa Jul 2, 2022
729cff4
Latest changes before bachelor submission
stefanp0pa Jul 17, 2022
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
9 changes: 5 additions & 4 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@ android {
defaultConfig {
applicationId "ro.pub.acs.acs_upb_mobile"
minSdkVersion 19
targetSdkVersion 31
targetSdkVersion 30
multiDexEnabled true
versionCode flutterVersionCode.toInteger() + 10000
versionName flutterVersionName
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
Expand Down Expand Up @@ -81,7 +82,7 @@ flutter {

dependencies {
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
testImplementation 'junit:junit:4.12'
androidTestImplementation 'androidx.test:runner:1.1.1'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.1'
testImplementation 'junit:junit:4.13.1'
androidTestImplementation 'androidx.test:runner:1.4.0'
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
}
15 changes: 15 additions & 0 deletions android/app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,21 @@
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>
</intent-filter>

<intent-filter>
<action android:name="FLUTTER_NOTIFICATION_CLICK" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>

<!-- Deep Links -->
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<!-- Accepts URIs that begin with YOUR_SCHEME://YOUR_HOST -->
<data android:scheme="acs" android:host="acs.upb.mobile.dev" />
</intent-filter>

</activity>
<!-- Don't delete the meta-data below.
This is used by the Flutter tool to generate GeneratedPluginRegistrant.java -->
Expand Down
Binary file added android/app/src/main/res/drawable/ic_launcher.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/illustrations/undraw_add_notes.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/illustrations/undraw_upgrade.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading