Commit graph

248 commits

Author SHA1 Message Date
Yuchen Wang
eae90862b1 CC-2950: Tell users if they are running an out-of-date version or not
Get rid of hardcoded url for downloading the latest version, and use the url
stored in the stat server instead
2011-11-17 14:10:26 -05:00
Yuchen Wang
d836425931 Merge branch 'devel' of dev.sourcefabric.org:airtime into devel 2011-11-16 19:45:48 -05:00
Yuchen Wang
9e48139bdd CC-3049: Extra grey space in live stream box
Fixed by changing new window height
2011-11-16 19:45:36 -05:00
james
ad708d9983 CC-2156: Searching for a host and hitting ENTER submits the show form
- done. Had to port the code manually
2011-11-16 18:14:10 -05:00
james
5711d25bad Merge branch 'devel' of dev.sourcefabric.org:airtime into devel 2011-11-16 16:31:41 -05:00
james
1b3d61913b CC-3052: Stream settings collapse when req. input is missing
- fixed. It was only handling error in the "Additional Input"
2011-11-16 16:31:27 -05:00
Yuchen Wang
1fd29def27 CC-2436: Save pulldown settings
Move the code that updates the database for the "show entries" dropdown to
a more appropriate place.
2011-11-16 16:12:58 -05:00
Yuchen Wang
a0bf7c90ba CC-2436: Save pulldown settings
Fixing the issue of "show entries" dropdown setting not being saved.
After some investigation, it seems like we're destroying the calendar
everytime we modify the dropdown value, and create a new one,
which explains why the new setting is not being saved.

Fixed by moving the code that handles the updating to the place after
we create the new calendar. This makes the code cleaner as well.
2011-11-16 15:52:05 -05:00
Naomi Aro
12172e5ad5 CC-3035 : Should be able to resize a show, have it affect all future instances of the show
added a new resize function to Shows.php,
should not use ShowInstance resize method, since you cannot resize just one instance currently.
2011-11-16 16:32:04 +01:00
James
6229ca46d5 CC-2959: Stream Setting: Status box design for each stream
- integrated new status boxes
2011-11-15 16:27:23 -05:00
Yuchen Wang
af1b376cdf CC-3029: Graphic design for the version notification feature
- use classes in VersionNotify.php for displaying icons instead of inline styling
- change underscore to hyphen so that naming convention is consistent with the
  rest in style.css
2011-11-15 16:08:05 -05:00
lukabazuka
ace68bd363 CC-3029
Signed-off-by: lukabazuka <vladimir.stefanovic@sourcefabric.org>
2011-11-15 21:00:14 +01:00
lukabazuka
9c649259dd Merge branch 'devel' of dev.sourcefabric.org:airtime into devel 2011-11-15 20:30:19 +01:00
lukabazuka
4c26cb868b CC-2959
Signed-off-by: lukabazuka <vladimir.stefanovic@sourcefabric.org>
2011-11-15 20:29:37 +01:00
Yuchen Wang
383fa35fc5 CC-2950: Tell users if they are running an out-of-date version or not
- Hide tooltip and close button on mouseout when current version is up to date
- Return version diff instead of tooltip msg in VersionNotify.php,
  make js side responsible for picking the msg
2011-11-15 14:24:14 -05:00
Yuchen Wang
51c563f80b CC-2950: Tell users if they are running an out-of-date version or not
1. changed the behavior so that the tooltip comes up on hover
2. changed stat server link to "http://stat.sourcefabric.org/airtime_latest_version"
3. only updates the db if version returned by stat server is valid
2011-11-14 17:52:50 -05:00
Yuchen Wang
becaf7a152 Merge branch 'devel' of dev.sourcefabric.org:airtime into devel 2011-11-14 00:35:27 -05:00
Yuchen Wang
1a1db1892f CC-2950: Tell users if they are running an out-of-date version or not
Initial implementation.
- added some code in phone_home_stat to retrieve latest version from stat server
  and store result in db

- created new view helper VersionNotify.php, which queries and calculates version
  difference, then returns the necessary information in html to the view files

- created new javascript file versiontooltip.js, which sets up the qtip stuff so that
  when the version notification icon is clicked, a tooltip is displayed
2011-11-14 00:34:53 -05:00
james
8e283c9e02 SAAS-66: Ability to set the stream values from the command line
- done
- extra fix: Fixed a javascript issue when it always changed bitrate to 48,
when type is set to ogg
2011-11-13 15:34:26 -05:00
Martin Konecny
20fc49b7be CC-3027: Current Show progress bar is wrong
-looks like it's working.
2011-11-12 00:04:37 -05:00
James
6a22f3667f CC-2438: Add a button to listen to the stream immediately
- fixed
2011-11-11 10:25:24 -05:00
James
bc2d27ec9f CC-2848: Misc bugs from demo service
- cleaning up some code
2011-11-11 10:16:33 -05:00
James
8d3d14860d CC-2959: Stream Setting: Status box design for each stream
- integration with new status box design
2011-11-10 16:32:56 -05:00
James
56a6da51a9 Merge branch 'devel' of dev.sourcefabric.org:airtime into devel 2011-11-10 15:35:52 -05:00
James
b04b7ff010 CC-2848: Misc bugs from demo service
- Handling concurrency issue playlist section and show(canlendar) section
2011-11-10 15:35:27 -05:00
lukabazuka
18f21e480a CC-2438
Signed-off-by: lukabazuka <vladimir.stefanovic@sourcefabric.org>
2011-11-10 02:17:58 +01:00
lukabazuka
d174b39d5b CC-2836
Signed-off-by: lukabazuka <vladimir.stefanovic@sourcefabric.org>
2011-11-10 02:03:02 +01:00
lukabazuka
1a585e3680 CC-2959 Status box design for each stream
Signed-off-by: lukabazuka <vladimir.stefanovic@sourcefabric.org>
2011-11-10 00:57:24 +01:00
Yuchen Wang
5d741d84ee CC-3001: Preferences->"Submit" button renamed to "Save", and should be at the top and the bottom of the screen
Changed all other buttons that says "Submit" to "Save.
Also added some CSS stuff so that the "Save" button at the top of Preference page
have some space between itself and the form below.
2011-11-09 16:03:32 -05:00
Yuchen Wang
a363a53166 CC-2990: Library: Remember search string
Fixed by telling datatable to save the states
2011-11-07 15:07:56 -05:00
Yuchen Wang
c2af2c5da8 Merge branch 'devel' of dev.sourcefabric.org:airtime into devel 2011-10-31 17:14:10 -04:00
Yuchen Wang
caa4eb5e44 CC-2988: Long metadata strings can break Playlist Builder layout
Fixed by adding "word-wrap: break-word" to the library datatable
2011-10-31 17:10:21 -04:00
James
0188dc6c06 CC-2995: Remove "Done Editing" button
- done
2011-10-27 10:20:57 -04:00
james
33fe78f309 CC-2974: Schedule Calendar does not auto-resize when resizing browser
window height.

- comment added
2011-10-26 10:23:55 -04:00
James
ca757d0fc0 CC-2974: Schedule Calendar does not auto-resize when resizing browser
window height.

- fixed
2011-10-23 07:08:03 -04:00
James
fb8735588d Merge branch 'devel' of dev.sourcefabric.org:airtime into devel 2011-10-22 11:34:43 -04:00
James
f160ded6bc CC-2993: Playlist Builder: add "View on SoundCloud" option on the menu
- fixed
- extra fix: handles the case when username or password is empty
2011-10-22 11:34:04 -04:00
Yuchen Wang
6237a199af CC-2968: Folder icons missing when choosing Import Folder
Changed the path to the img resource. Icon shows up fine now.
2011-10-19 14:01:51 -04:00
Yuchen Wang
d9186a3bf2 CC-2951: Allow users to select the starting day of the week
Added system preference in Preference page for user to select the start day of a week
(defaults to Sunday).

Calendar will utilize this information and update the calendar UI accordingly.
2011-10-19 12:42:22 -04:00
Yuchen Wang
0989a1c13f CC-2073: Select Days checkboxes are confusing
Increased the space between a checkbox and the label to its right.
Should make it better to tell which checkbox belongs to which label.
2011-10-18 10:24:01 -04:00
Yuchen Wang
d2fe46baf0 CC-2436: Save pulldown settings
For week and day views under Calendar page, save the change to pref db table when
user updates the interval dropdown. Same thing goes for the "show XXX entries"
dropdown found under Playlist Builder page.

When visiting these pages, we retrieves the entry from database for current user
and use those values. Defaults to 30m for interval and 10 entries for "show xxx entries"
if values were never set.
2011-10-18 10:10:35 -04:00
Yuchen Wang
8d3c6192d7 CC2646: Set a calendar view default (Day/week/month) that's remembered
In my last commit, left out the "var" keyword in a piece of code
2011-10-17 14:24:33 -04:00
Yuchen Wang
8b2a23b88a CC2646: Set a calendar view default (Day/week/month) that's remembered
Updated the calendar page so that when user chooses a different time scale to display(day/week/month),
the new setting is stored in the pref database. Each user id has its own entry in the database.

When visiting the calendar, we retrieves the entry from database for current user
and show that time scale; defaults to monthly view if no entry found.
2011-10-14 14:17:06 -04:00
james
faba5aec57 CC-2745: Show status of liquidsoap/icecast connection on
Stream Settings page

- commit w/o design
2011-10-13 14:22:28 -04:00
Yuchen Wang
2e4b8d82ee Merge branch 'devel' of dev.sourcefabric.org:airtime into devel 2011-10-12 17:14:19 -04:00
Yuchen Wang
36c36d2a97 CC-1976: Auto-expand the playlist box as the list grows
Fixing issue introduced by my last commit, which made the click and drop area very small.
Also removed the wasted space at the bottom of the click and drop area.
2011-10-12 17:14:03 -04:00
James
96b186558e Merge branch 'devel' of dev.sourcefabric.org:airtime into devel 2011-10-12 16:54:06 -04:00
James
1d2a9709a8 CC-2872: Playlist builder: Metadata tooltip displays in upper left
hand corner when changing number of rows to display on the screen

- The metadata is now displayed on right click
2011-10-12 16:38:07 -04:00
Yuchen Wang
a317d3904b Merge branch 'devel' of dev.sourcefabric.org:airtime into devel 2011-10-12 15:18:58 -04:00
Yuchen Wang
bae33b3e20 CC-1976: Auto-expand the playlist box as the list grows
Fixed.
2011-10-12 15:18:35 -04:00