Commit graph

204 commits

Author SHA1 Message Date
Yuchen Wang
6b7523513e Merge branch 'group_action_playlist_builder' into devel 2012-01-12 14:28:12 -05:00
Yuchen Wang
186aa9e898 CC-1977: Allow multiple files to be selected and acted upon in the library and playlist
Fixed bugs introduced by backend changes from before
2012-01-12 14:27:43 -05:00
Yuchen Wang
4a372715a3 CC-3239: Create show form->Date start doesnt consider "Week starts on" parameter
Fixed
2012-01-12 12:19:05 -05:00
Yuchen Wang
722306928b CC-3114: Show Content Dialog doesn't display total time
Done
2012-01-04 17:15:15 -05:00
James
9048de16e2 CC-3211: When TimeTicker is open and user clicks on the calendar,
it resets the time value

- There was an extra white space at the end. Trim solved a problem.
2011-12-19 13:20:11 -05:00
James
a23807e0c7 CC-3211: When TimeTicker is open and user clicks on the calendar,
it resets the time value

- fixed
- removed some unnecessary code
2011-12-19 11:39:07 -05:00
james
17e09b64af CC-3210 Show: Date mask does not work when you
"Add This Show" -> "Close" -> "+ Show"

- moved masking function to more appropriate place which also
fixed the bug
2011-12-18 22:55:03 -05:00
james
ce27632ec9 CC-3212: TimeTicker and DateTicker are both open at the same time
on Chrome (13v)

- turn off autoTab option
- removed unnecessary code
2011-12-18 22:42:35 -05:00
james
d97b9ad164 CC-3197: "Add/update show" usability issues
- done.
2011-12-16 15:36:37 -05:00
Naomi Aro
36d9b15435 CC-3150 : Editor box still open with show details for a deleted show 2011-12-08 17:49:00 +01:00
Martin Konecny
b1193318ed CC-3105: Settings dates (the popup select date calendar) shows Today by local machine timezone and not Airtime timezone.
-fixed
2011-11-25 17:36:11 -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
James
bbbdfac21f CC-3071: Show adding "When" improvements
- fixed
2011-11-21 15:01:55 -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
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
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
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
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
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
20e9002310 CC-2956: Undefined variable: endDateTime in
/usr/share/airtime/application/models/Show.php on line 807,
referer: http://localhost/Schedule

- fixed
2011-10-11 16:36:01 -04:00
James
0e29dfa617 CC-2917: Adding show, when inputting time and specifying a bogus
time (like 55555), then Nan-Nan-Nan shows up(possibly when tabbing)

- fixed by implementing masking on the fields
- used meioMask jquery plugin
2011-10-03 16:43:32 -04:00
James
350aaf2335 Merge branch '1.9.1' into devel 2011-09-22 14:33:14 -04:00
James
965a649d0e CC-2591: Change function name
- done
- extra fix: fix was needed due to class name change
2011-09-22 14:01:05 -04:00
James
43ba92a535 CC-2866: progress icon not showing
- fixed
2011-09-22 12:15:03 -04:00
James
b3654c62bc Merge branch 'devel' of dev.sourcefabric.org:airtime into devel 2011-09-22 11:48:07 -04:00
James
73dc4b851d CC-2591: Allow upload of any audio clip to Soundcloud
- done
- need more styling
- note there were changes in style.css
2011-09-22 11:47:24 -04:00
James
a4fb63afcf CC-2856: duration was is always fixed to 1h
- fixed
2011-09-21 10:16:48 -04:00
Martin Konecny
debfcc112d Merge branch '1.9.1' into devel 2011-09-19 12:48:15 -04:00
James
637eaafcc4 CC-2839: End Date and Time show NaN when incorrect start date is entered
- fixed
2011-09-19 11:10:55 -04:00
martin
dd9ef5b9c8 CC-2379: "Add Show" uses browser time instead of server time
-Fixed
2011-08-18 15:44:16 -04:00
James
ad67fbab56 CC-2655: parseInt was using octat radix
- Change parseInt() to use 10(decimal) radix
2011-08-09 11:26:12 -04:00
james
752f60bd76 CC-2512:Small browser window causes day/week/month buttons to
overlap Calendar

- fixed
- also margin was adjusted to more reasonable size
2011-07-06 11:57:42 -04:00
james
48537c3c10 CC-2484:Calendar sholdn't move down
- the fix was fairly easy. so I did complete fix.
2011-06-30 12:15:54 -04:00
james
11af81133c CC-2431:Clendar shrinking issue
-fixed
2011-06-27 17:32:54 -04:00
james
33bb5560bf CC-2357: tweak to show date end
- fix on end time.
2011-06-27 16:29:22 -04:00
martin
50cde2f8b0 CC-2418: Show add: end time shown in display is not the time committed to DB 2011-06-22 11:21:26 -04:00
james
7cc1f5c2e7 CC-2289:Differentiate between time and duration
- css has been modified (from Vlad)
- new image were added (from Vlad)
2011-06-13 12:59:44 -04:00
james
6a15f51aac CC-2289:differentiate-between-time-and-duration
- some change in date populating rules
- change on start date/time triggers change in end date/time
- change on end date/time will triggers background turning into
red color to notify user that end date/time is earlier than
start date/time.
- need to do more work once I get img file from Vladmir
2011-06-13 12:59:43 -04:00
james
1dabbacca2 CC-2289:Differentiate between time and duration
- End date and time is added
- duration field is readonly now and is autocalculated
- now playing duration field format is changed( 0h 0m 0s )
- removed millisecond from start and end time in now playing
2011-06-13 12:59:43 -04:00
Naomi
8d59c18bef CC-2326 Can't edit a show more than once (End Date problems)
show editing assumed inclusive end dates while show creating assumed non inclusive.
2011-05-26 15:41:47 -04:00
martin
fc51a6c835 CC-2155: Can open the rebroadcast options without the
"Record" checkbox being selected

-fixed
2011-05-19 17:16:41 -04:00
James Moon
06f51aa78a CC-2251: Show content window pop up is too big
The show content window size is detemined dynamically based on
browsers viewport size.

I'm not sure what the size should be. So I set width and height
as like following:

width = viewport width * 4/5
height = viewport height * 2/3

Ratio can be easily changed.
2011-05-10 19:13:14 -04:00
James Moon
e5969ab4be CC-2232:Automatically fill in show name
Notes:
1. Not sure if "Untitled Show 1" would be the best name.
 What if "Untilted Show 1" already exist? There is no easy way
of keeping track of the numbers. So wouldn't it be better to just use
"Untitled Show"?
2. There is no easy way to figure out if the current form is
opened for "update" or "add".( We can check the text on the button
if it says "add" or "update" button, but it's always bad to rely on
 any UI text. So the new code will focus and higlight name text on both
update and create new case for now.
2011-05-04 20:52:03 -04:00
James Moon
95613f40f1 cc-2188: Download action for all media file.
Download action were added in two placese.

1. Playlist Builder. jjmenu now showing 'Download'.
2. Calendar-> Show Content. Click on the file, you will see
Downlaod menu.

Limitation:

File name is set to original file name.
On the ticket it said, file format should be like
"show_name-12012011-2130.mp3". However, in my opinion,
this is only possible, if a user downloads it from
calender->show content. We know what the show names and etc,
but, if the user downloads it from Playlist Builder, we cannot
retrive such information. To be consistent in both area, I just
set the file name to original file name. This can be easily
modified in the future.
2011-05-04 19:05:14 -04:00
James Moon
e31a1240f3 CC-2155:Can open the rebroadcast options without the 'Record'checkbox being selected - fixed 2011-04-20 14:10:58 -07:00
James Moon
b53c9482c2 CC-2207:Rename 'Schedule Playlist' window to 'Schedule Media' - fixed 2011-04-20 12:42:38 -07:00