Commit graph

925 commits

Author SHA1 Message Date
James
ab0dc64ba9 CC-3086: When uploading a file to /tmp filename collisions can occur
- mktemp is used to generate temp name within /tmp dir
- it generate temp file when the file gets uploade to /tmp and then copy to
organize folder as original file name
2011-11-23 14:12:14 -05:00
Naomi Aro
87886b039f CC-3083 Must convert to UTC start/end times using the timezone start/end times 2011-11-23 19:11:48 +01:00
Naomi Aro
ab98bad5b4 Merge branch 'devel' of dev.sourcefabric.org:airtime into devel 2011-11-23 18:53:47 +01:00
Yuchen Wang
d3df4b14d2 CC-3093: SoundCloud preferences do not have email or password as required fields + firefox auto-fills the password field
- Make the form fields required
- Append "Required" label to the fields
- Disable autocomplete for the fields
2011-11-23 12:52:35 -05:00
Naomi Aro
685e5e03c4 Merge branch 'devel' of dev.sourcefabric.org:airtime into devel 2011-11-23 18:49:13 +01:00
Naomi Aro
65fb00ad8d CC-3083 Must convert to UTC start/end times using the timezone start/end times 2011-11-23 18:47:44 +01:00
Yuchen Wang
161fa80d64 CC-3091: Widget "Today's Program" doesn't show any content
It's not showing anything because I thought it's not suppose to display the currently playing show.
Fixed by retrieving the currently playing show along with next shows, and display them.

todayInfoAction is no longer needed since liveInfoAction does the same thing.
2011-11-23 12:00:54 -05:00
Yuchen Wang
37da2bf0c5 Merge branch 'devel' of dev.sourcefabric.org:airtime into devel 2011-11-23 10:39:40 -05:00
Yuchen Wang
8766cade49 CC-3092: Station Information: not able to upload logo
- Adding a return statement fixed it...I don't what was I thinking...

- Some indention seems messed up, fixed it
2011-11-23 10:39:05 -05:00
Martin Konecny
8231df6c44 CC-3080: Select stream: drop-down menu does not really select stream, makes no difference to output quality on Firefox 3.6
-should be fixed.
2011-11-23 10:30:39 -05:00
Martin Konecny
212205b0ff CC-3070: Scheduling show on the 31st of a month causes problem to months that don't have 31 days
-fixed.
2011-11-22 18:03:47 -05:00
James
add6d167e3 CC-3071: Show adding "When" improvements
- fixed
- the issue is that it wasn't incrementing the date.
- rewrote the code(cleaner and more intuitive)
2011-11-22 10:35:01 -05:00
Yuchen Wang
72553a257d CC-3066: "Now Playing" Widget doesn't display the currently playing show when it should be
Convert to UTC time before calling model functions
2011-11-21 18:10:29 -05:00
Yuchen Wang
ac74ca2449 Merge branch 'devel' of dev.sourcefabric.org:airtime into devel 2011-11-21 18:04:19 -05:00
Yuchen Wang
86729475f6 CC-3067: Shows in frontend widgets appear on the wrong day after changing timezone
- Converting times to UTC timezone in ApiController before sending them to model functions

- Added utility functions in DateHelper.php

- GetShowsByDayOfWeek has been removed due to bugs caused by using local timezone
based variable like $day, which represents day of the week in local time, in db query,
which has times saved in UTC timezone. Converting stuff like day of the week from local
to UTC is messy. GetNextShows(...) can do the job so WeekInfoAction now uses it instead
2011-11-21 18:03:56 -05:00
James
bbbdfac21f CC-3071: Show adding "When" improvements
- fixed
2011-11-21 15:01:55 -05:00
James
65f2dd065b CC-3063: Live Stream Window: It doesn't play Shoutcast stream
- fixed. need special string appended when the stream is from shoutcast
- ';stream/1' need to be appended on shoutcast url.(that's how jplayer works)
2011-11-21 11:57:36 -05:00
James
d4a02a655c Merge branch 'devel' of dev.sourcefabric.org:airtime into devel 2011-11-21 11:39:42 -05:00
James
19eb5abe12 CC-3063: Live Stream Window: It doesn't play Shoutcast stream
- fixed. flash fallback point was invalid.
2011-11-21 11:38:56 -05:00
Martin Konecny
864e697cc0 CC-3068: Day/Week view and Month view under Calendar page have different ideas about what day is today
-fixed "today" button behaving incorrectly.
2011-11-20 20:53:05 -05:00
Martin Konecny
dd45930da1 Merge branch 'devel' of dev.sourcefabric.org:airtime into devel 2011-11-20 20:27:40 -05:00
Martin Konecny
21bbb983ac CC-3065: When editing a show after changing timezone, the time listed under "When" displays time in old timezone
-fixed
2011-11-20 14:46:01 -05:00
Yuchen Wang
eb93004b66 Merge branch 'devel' of dev.sourcefabric.org:airtime into devel 2011-11-18 17:42:53 -05:00
Yuchen Wang
595f857166 CC-2950: Tell users if they are running an out-of-date version or not
- make latest version download link open in a new window
- show yellow upgrade icon when 2 verions back
- show red icon when more than 2 versions back
2011-11-18 17:42:41 -05:00
Martin Konecny
9bbf1fda17 CC-3068: Day/Week view and Month view under Calendar page have different ideas about what day is today
-Fixed
2011-11-18 17:07:12 -05:00
James
db9cadbfcd CC-3064: Stream Setting: enabled stream section has to be expanded
- done
2011-11-18 14:35:55 -05:00
James
b30c95887f Merge branch 'devel' of dev.sourcefabric.org:airtime into devel 2011-11-18 14:07:00 -05:00
James
08f0aae761 CC-3053: Stream settings -> the collapse/expend arrow is pointing the wrong way
- reversing image between close and open
2011-11-18 14:06:47 -05:00
Martin Konecny
9ab47d5eba CC-3036: Deleted Show instances reappear
-Renamed deleted_instance to modified_instance
2011-11-18 12:20:25 -05:00
Martin Konecny
c773c5c674 Merge branch 'devel' of dev.sourcefabric.org:airtime into devel 2011-11-18 11:59:27 -05:00
Martin Konecny
f3e1f63226 CC-3060: Apache errors: Undefined index: deleted_instance
-fixed
2011-11-18 11:59:15 -05:00
James
e5ac2b75d4 CC-3059: Record and Rebroadcast: not able to set rebroadcast too close to
recorded show

- fixed.
- extra fix: layout was broken when error is displayed
2011-11-18 11:36:20 -05:00
Yuchen Wang
15c84ddfdb CC-2950: Tell users if they are running an out-of-date version or not
- changed default url to "http://airtime.sourcefabric.org"
2011-11-17 23:25:46 -05:00
Yuchen Wang
52052bd573 CC-2950: Tell users if they are running an out-of-date version or not
- added error checking to curl call
- added regex validation when storing link to latest version
2011-11-17 15:33:29 -05:00
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
590a74b8ce CC-3053: Stream settings -> the collapse/expend arrow is pointing the wrong way
- fixed
2011-11-16 17:57:07 -05:00
james
1f9b2559ab CC-3032: Airtime -> Help -> About. shows variable name instead of value
- fixed
2011-11-16 16:46:54 -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
4820bb617b Merge branch 'devel' of dev.sourcefabric.org:airtime into devel 2011-11-16 15:52:31 -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
Martin Konecny
4f2adc3068 CC-3050: Comb through source code for dates being generated with date() function
-done
2011-11-16 14:06:59 -05:00
Martin Konecny
2f63a65e03 CC-3054: After recording show, recorded file is not imported properly.
-fixed
2011-11-16 13:34:58 -05:00
Martin Konecny
a5939afd3f -fix minor typo 2011-11-16 12:59:01 -05:00
Martin Konecny
1e79363263 Merge branch 'devel' of dev.sourcefabric.org:airtime into devel 2011-11-16 12:35:44 -05:00
Martin Konecny
17e59f61be CC-3036: Deleted Show instances reappear
-Make sure we ignore deleted show instances in
 all areas of Airtime.
2011-11-16 12:35:02 -05:00