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

[WIP] Integrate PouchDB #1025

Closed
wants to merge 65 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
65 commits
Select commit Hold shift + click to select a range
222b317
add packages for pouchdb
midsorbet May 19, 2018
36fa27f
allow synthentic imports for pouch
midsorbet May 19, 2018
8fc4905
add service for main pouchdb service
midsorbet May 19, 2018
70e2e99
add service for handling auth
midsorbet May 19, 2018
198cd86
use auth service for authenticating user
midsorbet May 19, 2018
f1602a3
export pouch auth service
midsorbet May 19, 2018
ffa0e62
replace couch service with auth service
midsorbet May 19, 2018
0079650
add interface for session info return value
midsorbet May 19, 2018
f41d13a
create class to handle courses
midsorbet May 19, 2018
f867119
add pouchdb-find plugin
midsorbet May 19, 2018
b212d45
use pouchdb find plugin and create an index for kind field and sort d…
midsorbet May 19, 2018
9fbdf73
remove unused fields, rename class variable and add method for fetchi…
midsorbet May 19, 2018
0ef4fbd
add and use courses service
midsorbet May 19, 2018
b78cfa6
use pouchdb for fetching courses
midsorbet May 19, 2018
66a9fed
index createdAt field and fix sorting
midsorbet May 19, 2018
8476d7f
handle unsubscribing from observables
midsorbet May 19, 2018
3549326
add basic type checking for courses
midsorbet May 19, 2018
39f9bf0
use truthy value for unsubcribing
midsorbet May 19, 2018
7d89c22
add return type
midsorbet May 19, 2018
d413d7b
add type to MatTableDataSource
midsorbet May 19, 2018
8ce6604
add method to get single course
midsorbet May 19, 2018
d4a9280
replace with pouch service
midsorbet May 19, 2018
efb4995
Remove superficial changes and lint fix
paulbert May 21, 2018
572ae3d
Remove superficial changes 2
paulbert May 21, 2018
30a6b40
Update question view (fixes #996) (#1016)
lmmrssa May 21, 2018
090330d
Navbar selection and animation (fixes #701) (#705)
Tille88 May 21, 2018
0a51923
update ubuntu package list (#1030)
sahilph May 21, 2018
d602c7c
Use treehouses/couchdb:2.1.1 (#1031)
dogi May 21, 2018
39c2397
Change add course text (fixes #1013) (#1017)
MacNew May 21, 2018
a2e24aa
[#949] Resend registration request (connects #949) (#1028)
Rupesh87 May 21, 2018
fb0afd6
Exam and resource buttons on step in course view (fixes #989) (#1009)
Rupesh87 May 22, 2018
d64527d
Special characters not start username or planet name (fixes #959) (#979)
lucy811 May 22, 2018
16e3235
Fix FeedbackView Chrome scroll issue (fixes #948) (#984)
MacNew May 22, 2018
d20ce4c
Parent online status (connects #998) (#1008)
lmmrssa May 22, 2018
eec04fb
Notification for community request (fixes #1004) (#1007)
lmmrssa May 22, 2018
f7e8e89
Fix resource attachment mock data (fixes #946) (#985)
Rupesh87 May 22, 2018
c9b02ec
Update version (#1034)
paulbert May 22, 2018
0eda750
Planet code on parent with username (fixes #519) (#927)
lmmrssa May 22, 2018
762cec2
add packages for pouchdb
midsorbet May 19, 2018
155059c
allow synthentic imports for pouch
midsorbet May 19, 2018
2d3ff66
add service for main pouchdb service
midsorbet May 19, 2018
8d694bc
add service for handling auth
midsorbet May 19, 2018
75b614b
use auth service for authenticating user
midsorbet May 19, 2018
0c028fb
export pouch auth service
midsorbet May 19, 2018
55cd4df
replace couch service with auth service
midsorbet May 19, 2018
af65c92
add interface for session info return value
midsorbet May 19, 2018
c26c241
create class to handle courses
midsorbet May 19, 2018
f322a4f
add pouchdb-find plugin
midsorbet May 19, 2018
f92912e
use pouchdb find plugin and create an index for kind field and sort d…
midsorbet May 19, 2018
a274223
remove unused fields, rename class variable and add method for fetchi…
midsorbet May 19, 2018
39708b2
add and use courses service
midsorbet May 19, 2018
61a5a12
use pouchdb for fetching courses
midsorbet May 19, 2018
c014582
index createdAt field and fix sorting
midsorbet May 19, 2018
1de11e8
handle unsubscribing from observables
midsorbet May 19, 2018
8f913ee
add basic type checking for courses
midsorbet May 19, 2018
3d7a4f6
use truthy value for unsubcribing
midsorbet May 19, 2018
36eb2ed
add return type
midsorbet May 19, 2018
8d1872d
add type to MatTableDataSource
midsorbet May 19, 2018
ad13b50
add method to get single course
midsorbet May 19, 2018
af39182
replace with pouch service
midsorbet May 19, 2018
39d3fbc
Remove superficial changes and lint fix
paulbert May 21, 2018
5b6d532
Remove superficial changes 2
paulbert May 21, 2018
fdc1f34
rebase with master
midsorbet May 22, 2018
c801c9f
use void subject for consistency
midsorbet May 22, 2018
0c4a45d
fix brackets
augusts7 May 26, 2018
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
Prev Previous commit
Next Next commit
use truthy value for unsubcribing
  • Loading branch information
midsorbet committed May 22, 2018
commit 3d7a4f6c1c243f264cde516474f6240c31defa84
2 changes: 1 addition & 1 deletion src/app/courses/courses.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ export class CoursesComponent implements OnInit, AfterViewInit, OnDestroy {
}

ngOnDestroy() {
this.onDestroy$.next(false);
this.onDestroy$.next(true);
this.onDestroy$.unsubscribe();
}
}