Permalink
Browse files

Lots of tweaks, bugfixes. There's also a roadmap toward the far-off 1…

….0 release.
  • Loading branch information...
1 parent 483e371 commit a9f306c95e31225368405f15a3b06d1488b6da3f @joelhans committed Apr 25, 2012
Showing with 134 additions and 37 deletions.
  1. +1 −0 app.js
  2. +86 −13 public/js/application-min.js
  3. +8 −2 public/js/application.js
  4. +2 −1 public/sass/screen.scss
  5. +35 −20 todo.txt
  6. +2 −1 views/partials/_podcasts.jade
View
1 app.js
@@ -788,6 +788,7 @@ app.post('/listen/playing', loadUser, function(req, res) {
Users.findAndModify({ $or : [ { 'username': req.session.userID }, { 'email': req.session.userID } ] }, [], { $set: { 'playing' : playing } }, { new:true }, function(err, result) {
console.log('SYNC: ' + moment().format('dddd, MMMM Do YYYY, h:mm:ss a') + ' : ' + result);
+ res.send(result);
});
});

Large diffs are not rendered by default.

Oops, something went wrong.
View

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
View
@@ -491,6 +491,7 @@ header {
height: 100%;
width: 25%;
border-right: 1px solid $borderColor;
+ margin-bottom: 20px;
h1 {
font-size: 22px;
text-transform: uppercase;
@@ -534,7 +535,7 @@ header {
}
input {
@include inline-block;
- margin: -1px 20px 0 20px;
+ margin: 1px 0px 0 10px;
width: 70%;
font-family: $baseFontFamily;
border: 1px solid $base;
View
@@ -2,36 +2,51 @@
TODO
--------------------------------
-FEATURES
-**** // "Hark Directory"
+ROADMAP
-*** // Don't log out users who accidentally go back to the login page (cookies).
+ 0.1
+ ----------
+ [ ] -- Download, link-through buttons for each feed.
+ [ ] -- A functional description section for each podcast.
+ [ ] -- Functioning cookies/session management.
+ * Mostly, this requires a way to route logged-in users from /login
+ to /listen.
+ [ ] -- Bug fixes (hopefully not too many).
-** // When listening to a podcast, make some kind of "pulse" on its feed in the left column.
+ 0.2
+ ----------
+ [ ] -- Sorting abilities for podcasts (date, feed, etc).
+ [ ] -- Account deletion doesn't route the user back home once it's done.
+ [ ] -- Better responsiveness in UI.
+ * Will mostly entail more catches for small/mobile screens.
-** // Turn the getFeeds function into a cursor.each one like the updateFeeds one. Should be quicker.
+ 1.0
+ ----------
+ [ ] -- A "Hark Directory"
+ * This will be a central location for feeds.
+ * I will be able to add new feeds to this database, and users will
+ be able to browse/search for items that they're interested in.
-** // Sanitize inputs.
- - Login
- [ ] - User e-mails.
- - Listen
- [ ] - Feeds.
- - Help sanitize adding RSS feeds by looking for an "http://" and adding it if it doesn't exist. (security?)
-* // Add being able to load in older, non-databased feeds from the individual feed view.
+BUGS
-* // Implement a kind of current "state" that allows for starting where you left off, etc.
- The problem with this is the state of HTML5 audio capability, Flash, servers, etc. It's probably not possible.
+[ ] -- Listen syncing doesn't appear to work all that well.
+[ ] -- Left column doesn't get tall enough to accomodate many many feeds.
+[ ] -- Account deletion doesn't route the user back home once it's done.
+[ ] -- Rapid-click on "mark as listened" causes some to not have successful POSTs.
-* // Giving sort options on the initial view -- by date, by podcast, etc.
-* // Migrate application.js from use of "live" click handlers to "delegate."
+ORPHANED FEATURES
-BUGS
+When listening to a podcast, make some kind of "pulse" on its feed in the left column.
+
+Turn the getFeeds function into a cursor.each one like the updateFeeds one. Should be quicker.
-**** // Left column doesn't get tall enough to accomodate many many feeds.
+Sanitize inputs.
+ * Login -- user e-mails.
+ * Feeds -- How to prevent maliciousness?
-*** // Account deletion doesn't route the user back home once it's done.
+Add being able to load in older, non-databased feeds from the individual feed view.
-** // Rapid-click on "mark as listened" causes some to not have successful POSTs.
+Migrate application.js from use of "live" click handlers to "delegate."
@@ -44,7 +44,8 @@ div.listen
i.icon-book
div.podcastDescription
p.error A note: This feature is new, and isn't working entirely properly yet. Stay tuned for updates.
- div!= podcast.podDesc
+ div
+ p!= podcast.podDesc
- if (typeof(flash) != 'undefined')
div.mask

0 comments on commit a9f306c

Please sign in to comment.