Albert Santoni
c104048bc7
Merge branch '2.5.x' of github.com:sourcefabric/Airtime into 2.5.x
2014-03-12 18:01:51 -04:00
Albert Santoni
5b9ceb8d2d
Made the runtests.sh script work regardless of CWD
2014-03-12 18:01:27 -04:00
Naomi
97989953c8
CC-5727 : History search range using incorrect timezone offset (also Nowplaying & Listener Stats)
...
need to modify these to user timezone strings to match the new changes.
2014-03-12 18:00:01 -04:00
drigato
f7602cadd8
Fixed broken test
2014-03-12 17:32:22 -04:00
localizer
e0386f9752
updated translation resources
2014-03-12 09:34:44 +00:00
localizer
9a803b1da5
updated translation resources
2014-03-12 09:30:20 +00:00
Naomi
7078180da0
CC-5727 : History search range using incorrect timezone offset (also Nowplaying & Listener Stats)
...
removing flawed functions.
2014-03-11 13:26:05 -04:00
Naomi
f8935a312f
CC-5727 : History search range using incorrect timezone offset (also Nowplaying & Listener Stats)
...
fixing listener stat search
2014-03-11 13:24:22 -04:00
Naomi
cd55ed5ee4
CC-5727 : History search range using incorrect timezone offset
...
fixing show fetching times.
2014-03-10 18:48:40 -04:00
Naomi
c668d91e08
Merge branch '2.5.x' of github.com:sourcefabric/Airtime into 2.5.x
2014-03-10 18:33:15 -04:00
Naomi
8d2926aeed
CC-5727 : History search range using incorrect timezone offset (also Nowplaying)
...
sending the timestamp string back for nowplaying as well.
added error class to history page if end is < start.
2014-03-10 18:33:07 -04:00
drigato
725b5da154
Merge branch '2.5.x' of github.com:sourcefabric/Airtime into 2.5.x
2014-03-10 17:42:12 -04:00
drigato
14c670aa20
CC-5728: Problem when removing repeat option and changing start date
2014-03-10 17:41:57 -04:00
Naomi
1854d76f03
Merge branch '2.5.x' of github.com:sourcefabric/Airtime into 2.5.x
2014-03-10 17:39:36 -04:00
Naomi
5f3199b4bb
CC-5727 : History search range using incorrect timezone offset
2014-03-10 17:39:17 -04:00
drigato
8ad866c2a2
Fixed changing the start date on a non-repeating show
2014-03-10 17:32:54 -04:00
drigato
78d34a6d16
Fixed broken test
2014-03-10 17:31:24 -04:00
Albert Santoni
6d7117f670
CC-5709: Airtime Analyzer
...
* Added MetadataAnalyzer unit tests and test data
* Improved debug logging and squashed pika logging
* Implemented file moving
* Extract the track number/total
* Fixed mapping of mutagen to Airtime fields in a few spots. The mapping
matches the DB column names now.
* Fixed the bin/airtime_analyzer binary
* Started work on PluploadController to make it work with the new File
API
2014-03-10 16:32:23 -04:00
drigato
03bb0e1df9
CC-5725 Changing a show's repeat type removes first instance from repeating seriesCC-5726: Write database test cases for CC-5725
2014-03-07 15:59:57 -05:00
drigato
6b91d2daf8
CC-5725: Changing a show's repeat type removes first instance from repeating series
2014-03-07 14:52:32 -05:00
Albert Santoni
c0818682af
CC-5709: Airtime Analyzer
...
* Fixed the /rest/media endpoint
2014-03-06 17:38:57 -05:00
Albert Santoni
4e39fce701
CC-5709: Airtime Analyzer
...
* Basic HTTP reporting back to the File API works (PUT)
* Use the database table names as JSON field names.
* Fixed result returning bug in message_listener.py
* Fixed API key verification to adhere with the HTTP Basic Auth spec
2014-03-06 16:55:20 -05:00
drigato
35fd639c1c
CC-5725: Changing a show's repeat type removes first instance from repeating series
2014-03-06 11:18:13 -05:00
drigato
51b5cc2052
CC-5725: Changing a show's repeat type removes first instance from repeating series
2014-03-06 10:54:40 -05:00
drigato
bcda9ea5e6
Broke unit test for adding content to single show
2014-03-05 14:50:35 -05:00
drigato
426b75b635
CC-5724: Changing start date of a repeating show will update content incorrectly
2014-03-05 14:37:07 -05:00
drigato
ebc68b980c
CC-5718: Show content can get scheduled in instances that are in the past
...
Disabled scheduled content into instances that have already played out
Removed setting the show's start date to the first repeating instance's start date
because we already fixed that in CC-5697
2014-03-05 13:12:27 -05:00
drigato
7660e0cd84
CC-5719: Incorrect show content start time
...
The show content was getting recalculated twice sometimes.
So if the difference between the original and now show start
date-time and was 2 hours, the scheduled content would have
a difference of 4 hours
2014-03-04 11:29:49 -05:00
drigato
b433a529ab
CC-5696: Two shows or even three shows playing at once. Unstopable even after reboot
2014-03-03 16:42:52 -05:00
drigato
b6dd2e3152
CC-5701: Airtime File API
2014-03-03 16:04:34 -05:00
drigato
f33f49259d
CC-5701: Airtime File API
...
Fixed http response code for delete
2014-03-03 11:28:18 -05:00
drigato
aba2fb44d1
CC-5701: Airtime File API
...
-put and delete actions working
2014-03-03 11:21:25 -05:00
drigato
64c1dd2c1e
CC-5701: Airtime File API
...
Beginnings of fil rest api
index, get, post actions working without authentication
2014-02-27 17:11:17 -05:00
drigato
1715f2187d
CC-5715: Write database test to check the schedule start times after editing a repeating show and changing the repeat day
2014-02-27 13:08:41 -05:00
drigato
4cb785a062
CC-5716: Write database test to check the show content after editing a repeating show and removing a repeat day
2014-02-27 12:10:28 -05:00
drigato
e5cdaf3785
Temporarily commenting out test
2014-02-27 09:32:28 -05:00
drigato
1acdf2ca80
CC-5716: Write database test to check the show content after editing a repeating show and removing a repeat day
2014-02-27 07:35:08 -05:00
drigato
753003639f
CC-5696: Two shows or even three shows playing at once. Unstopable even after reboot
...
The problem was that we weren't updating the first show's start time if deleting
a repeat show day changes it. This affected the difference between the original
show start time and the new one.
2014-02-25 17:22:17 -05:00
drigato
f1658f6490
CC-5697: Editing a linked show's repeat day sets wrong day for show content
...
Fixed a problem where we can't store the original cc_show_day data
because none can exist at some points. If the user changes the only
repeat day, the cc_show_day rule is deleted first then recreated
2014-02-25 17:16:14 -05:00
drigato
3db1cd412a
CC-5697: Editing a linked show's repeat day sets wrong day for show content
...
Optimized how we store the instance ids that already exist
2014-02-25 16:51:48 -05:00
drigato
cd592827fd
CC-5698: Library -> Scheduled column doesn't get updated when bulk adding items
...
Array storing file ids of scheduled files was in wrong place
and was getting re-created everytime a file was inserted into a show
2014-02-24 17:46:16 -05:00
drigato
6cd84363a6
CC-5697: Editing a linked show's repeat day sets wrong day for show content
...
Added comment
2014-02-24 16:04:48 -05:00
drigato
787f19f69a
CC-5697: Editing a linked show's repeat day sets wrong day for show content
...
When a user edits a show and changes the repeat day, we are really deleting the instances from the original
repeat day and creating new instances. Therefore, we don't need to update the show content's start/end time
in this case.
2014-02-24 14:49:11 -05:00
Albert Santoni
86dafaf61c
SAAS-404: Separate the Airtime API version from the Airtime version
...
* Airtime PHP side can be version bumped without pypo freaking out now
2014-02-14 16:22:15 -05:00
localizer
003f9ed6b2
updated translation resources
2014-02-12 10:54:11 +00:00
localizer
b7b92fc19e
updated translation resources
2014-02-11 20:09:12 +00:00
drigato
acb3b9b179
Merge branch '2.5.x' into 2.5.x-saas
2014-02-11 10:29:50 -05:00
drigato
8bbc243cf6
Merge branch '2.5.x' of github.com:sourcefabric/Airtime into 2.5.x
2014-02-10 16:19:40 -05:00
drigato
3b9608a8df
CC-5693: API call to notify-item-start-playing fails because an invalid schedule id is sent
...
Temporary fix for this bug. Throw an exception if no schedule item is found.
2014-02-10 16:19:26 -05:00
Albert Santoni
7ee5c8ffd7
Another dummy commit for Bamboo
2014-02-10 13:32:41 -05:00
Albert Santoni
36d6a6b2bf
Dummy commit to test web hook
2014-02-10 13:18:28 -05:00
Albert Santoni
034d1dc9f8
Unit test docs update
2014-02-10 13:03:11 -05:00
Albert Santoni
02a96646e1
Merge branch '2.5.x' into 2.5.x-saas
...
Conflicts:
python_apps/pypo/listenerstat.py
2014-02-05 17:35:59 -05:00
Albert Santoni
296adfdb24
CC-5651: Unit Test the Scheduler
...
* Added a beastly unit test for Application_Model_Schedule::isFileScheduledInTheFuture
2014-02-05 15:37:47 -05:00
localizer
c84c6d9d22
updated translation resources
2014-02-04 18:20:15 +00:00
localizer
93eb5ff1de
updated translation resources
2014-02-04 14:07:13 +00:00
localizer
f056eeac0a
updated translation resources
2014-02-04 11:49:16 +00:00
localizer
ce819b18e7
updated translation resources
2014-02-04 11:32:05 +00:00
localizer
c549544146
updated translation resources
2014-02-04 11:31:56 +00:00
localizer
2d61459620
updated translation resources
2014-02-04 11:25:37 +00:00
localizer
f2ce85a212
updated translation resources
2014-02-04 11:24:32 +00:00
localizer
b209c58dbf
updated translation resources
2014-02-04 10:32:05 +00:00
drigato
09040dc021
Merge branch '2.5.x' into 2.5.x-saas
2014-02-03 12:33:57 -05:00
drigato
63ec20d9f1
CC-5681: I18N: Fail to switch language
...
Check if Zend_Auth class exists with the autoloader
2014-02-03 12:33:35 -05:00
localizer
5d19a22b2d
updated translation resources
2014-02-03 12:35:10 +00:00
drigato
ba84e609e7
Moved commit hook scripts to dev_tools directory
2014-01-31 16:42:53 -05:00
drigato
6d63b81f76
Testing commit triggers....
2014-01-31 15:56:59 -05:00
drigato
a00ab8bc79
Added comment for phpunit
2014-01-31 15:31:40 -05:00
drigato
f71909d255
CC-5651: Unit Test the Scheduler
...
Some fine tuning
2014-01-31 15:22:19 -05:00
drigato
b7c79df6ec
Merge branch 'unittests' into 2.5.x
2014-01-31 15:02:41 -05:00
Albert Santoni
c7c2d37b30
Merge branch '2.5.x' into 2.5.x-saas
2014-01-31 13:21:33 -05:00
drigato
e24d25e398
CC-5651: Unit Test the Scheduler
...
Log results in xml file for junit parser
2014-01-31 12:41:15 -05:00
drigato
5c01234445
CC-5651: Unit Test the Scheduler
...
Small fix to runtests script
2014-01-31 11:18:46 -05:00
drigato
4beb06a1d9
CC-5651: Unit Test the Scheduler
...
Creat a rabbitmq vhost and user before running tests so airtime doesn't have to be installed
2014-01-31 11:09:22 -05:00
localizer
4a39097daf
updated translation resources
2014-01-31 07:52:07 +00:00
localizer
5730c13da6
updated translation resources
2014-01-30 20:37:06 +00:00
drigato
484f1d9502
Merge branch '2.5.x' of github.com:sourcefabric/Airtime into 2.5.x
2014-01-30 12:38:49 -05:00
drigato
883e8885c7
CC-5677: Library -> Scheduled column gets updated on incorrect file
2014-01-30 12:38:18 -05:00
root
91c89e91f3
Merge branch '2.5.x' of https://github.com/sourcefabric/Airtime into 2.5.x
2014-01-30 17:07:52 +00:00
drigato
ce7eddf563
CC-5678: Scheduler: Show's contents won't follow show's scheduled time change
...
Fixed by storing original cc_show_day object by value
2014-01-30 12:07:24 -05:00
root
3f15bf6e80
updated translation resources
2014-01-30 17:06:38 +00:00
Albert Santoni
d68227939f
Merge branch '2.5.x-saas' of github.com:sourcefabric/Airtime into 2.5.x-saas
2014-01-29 17:20:53 -05:00
Albert Santoni
03015a6b69
Nerf the APC cache on SaaS
...
* We have multiple webservers on SaaS so we need a distributed data
cache like memcached.
* Fixes CC-5671: Live streaming: UI won't update connection status unless reload apache2
2014-01-29 17:19:24 -05:00
drigato
719d582e0f
Merge branch '2.5.x' into 2.5.x-saas
2014-01-29 12:13:24 -05:00
drigato
7a04f7d98e
CC-5672: Webstream warnings on SaaS
...
Don't parse/use header info if get_headers returns false
2014-01-29 12:09:05 -05:00
drigato
a59453cde5
CC-5651: Unit Test the Scheduler
2014-01-27 17:17:03 -05:00
Albert Santoni
a0cae1d8f3
Merge branch '2.5.x' into 2.5.x-saas
2014-01-27 15:23:01 -05:00
drigato
55665fb246
CC-5651: Unit Test the Scheduler
...
Added test for weekly repeat show R&R show creation
2014-01-27 15:10:42 -05:00
Albert Santoni
c9d98e4e10
Small Airtime Pro fix for ShowFormService
2014-01-27 14:31:33 -05:00
drigato
697e50c50d
CC-5651: Unit Test the Scheduler
...
Added test for non-repeating record and rebroadcast shows
2014-01-27 13:23:28 -05:00
drigato
6da493110f
CC-5651: Unit Test the Scheduler
...
Fixed linked show test
2014-01-27 12:23:46 -05:00
Albert Santoni
ed78625fce
Merge branch '2.5.x' into 2.5.x-saas
2014-01-27 12:01:11 -05:00
drigato
d6aabfdc88
CC-5651: Unit Test the Scheduler
...
Added some linked show tests
2014-01-24 17:25:40 -05:00
drigato
2bbc42f532
CC-5651: Unit Test the Scheduler
...
Moved test data outside of services
2014-01-24 16:08:38 -05:00
drigato
e0650fb840
CC-5651: Unit Test the Scheduler
...
Overlapping show tests
2014-01-24 15:14:31 -05:00
drigato
2076b3c069
CC-5651: Unit Test the Scheduler
...
Add logging class to bootstrap
2014-01-24 11:39:15 -05:00
drigato
c04d8714bb
Merge branch 'unittests' of github.com:sourcefabric/Airtime into unittests
2014-01-23 17:06:34 -05:00
drigato
ca09ad2896
CC-5593: Overlapping Show Bug
...
Added tests for checking if shows overlap
2014-01-23 17:06:27 -05:00
Albert Santoni
ab96e1e0b2
CC-5651: Unit Test the Scheduler
...
* Temporarily disabling the one Preferences unit test that's failed
until I fix it.
2014-01-23 17:06:13 -05:00
Albert Santoni
162a873f9d
CC-5651: Unit Test the Scheduler
...
* Continued refactoring of the database creation.
* Database now persists after running tests but most of the tables are
cleared.
* The unit tests run WAY faster now. :-)
2014-01-23 17:04:29 -05:00
Albert Santoni
aa2e084a09
Merge branch 'unittests' of github.com:sourcefabric/Airtime into unittests
2014-01-23 13:10:41 -05:00
Albert Santoni
5d2aae4525
Updated readme for unit testing
2014-01-23 12:51:53 -05:00
drigato
fc4dfd5cb0
CC-5651: Unit Test the Scheduler
...
Moved common database setup functions to helper class
2014-01-23 11:37:20 -05:00
Albert Santoni
52c3971fc6
Fixed a bug in Application_Model_SetShowsPopulatedUntil
2014-01-22 17:58:25 -05:00
Albert Santoni
3826a88d1f
Disable code coverage report because autoloader is not working
2014-01-22 17:00:23 -05:00
drigato
e9d1a1fd91
CC-5651: Unit Test the Scheduler
2014-01-21 16:56:01 -05:00
drigato
56a2c37c11
CC-5651: Unit Test the Scheduler
2014-01-21 16:55:52 -05:00
drigato
c14640c81e
CC-5651: Unit Test the Scheduler
...
Added database test
2014-01-21 16:43:45 -05:00
drigato
b2cff12569
CC-5651: Unit Test the Scheduler
...
Typo
2014-01-21 15:58:05 -05:00
drigato
78120a69e8
CC-5651: Unit Test the Scheduler
...
Added comments about why all show dates are hard coded and not relative
2014-01-21 15:55:05 -05:00
drigato
63087610dc
CC-5651: Unit Test the Scheduler
...
Added more database tests
2014-01-21 12:29:56 -05:00
drigato
d5112f0368
Added comments for a show_service function
2014-01-20 17:05:37 -05:00
drigato
2faa2db55d
CC-5651: Unit Test the Scheduler
...
Added 2 unit tests
2014-01-20 17:03:29 -05:00
drigato
e9d2874e83
CC-5651: Unit Test the Scheduler
...
Fixed show_service unit tests so they can access private/protected methods
2014-01-20 12:20:05 -05:00
drigato
bdf5dc4982
CC-5651: Unit Test the Scheduler
2014-01-16 17:16:29 -05:00
drigato
c329d54252
CC-5651: Unit Test the Scheduler
2014-01-16 17:01:22 -05:00
drigato
01ec611ae2
CC-5651: Unit Test the Scheduler
...
Reorganized tests
2014-01-15 11:51:20 -05:00
drigato
005d4b9b6d
CC-5651: Unit Test the Scheduler
...
Added test for deleting an entire repeating show
2014-01-14 16:40:11 -05:00
drigato
59f0e63763
CC-5651: Unit Test the Scheduler
...
Added test for editing a repeating show instance
2014-01-14 16:08:11 -05:00
drigato
0b4ae6b94d
CC-5651: Unit Test the Scheduler
...
Added test for deleting repeating show instances
2014-01-14 14:16:37 -05:00
drigato
a658dbf27c
Merge branch 'unittests' of github.com:sourcefabric/Airtime into unittests
...
Conflicts:
airtime_mvc/tests/application/models/ShowTest.php
2014-01-13 12:00:16 -05:00
drigato
8457a3403b
CC-5651: Unit Test the Scheduler
2014-01-13 11:53:00 -05:00
drigato
8e8f59a83c
CC-5651: Unit Test the Scheduler
...
Added test for deleting a show instance
2014-01-13 11:43:17 -05:00
drigato
8c720d8802
CC-5651: Unit Test the Scheduler
...
Added new test for creating a weekly repeating show
Renamed xml files to better reflect which test it belongs to
2014-01-13 11:43:17 -05:00
drigato
b076e86844
CC-5651: Unit Test the Scheduler
...
Removed unused code
2014-01-13 11:43:17 -05:00
drigato
75eb76062f
CC-5651: Unit Test the Scheduler
...
Added test for a non-repeat and non-record show
Added a helper class
2014-01-13 11:43:17 -05:00
drigato
60f80dbb57
Added missing ShowData.php thingy for unit testing
2014-01-13 11:43:17 -05:00
drigato
a7dcfe000c
CC-5651: Unit Test the Scheduler
...
Created file that returns test data
Added a non-repeating, non-record&rebroadcast show creation test (not working yet)
Updated the cc_show_seed.xml file to include all 5 show tables
2014-01-13 11:43:17 -05:00
Albert Santoni
fe9beec778
CC-5651: Unit Test the Scheduler
...
* Added runtests.sh script for unit tests
* Use the airtime_test database config in Config.php, propel
* First unit test passes! :-)
2014-01-13 11:43:17 -05:00
drigato
72da8be2f2
CC-5651: Unit Test the Scheduler
...
First test passes!
2014-01-13 11:43:17 -05:00
drigato
da05426bca
CC-5651: Unit Test the Scheduler
...
Got test to run!
2014-01-13 11:43:17 -05:00
Albert Santoni
c94f51b9f6
CC-5651: Unit Test the Scheduler
...
* Fixed the test airtime.conf a bit
* Create the database tables and db properly
2014-01-13 11:43:17 -05:00
Albert Santoni
32e9edf644
CC-5651: Unit Test the Scheduler
...
* Mock config for database connections
2014-01-13 11:43:17 -05:00
drigato
e5d23ca900
CC-5651: Unit Test the Scheduler
...
Remove zend session stuff
Add services, install scripts to include path
2014-01-13 11:43:17 -05:00
Albert Santoni
3c9b0c0cb2
CC-5651: Unit Test the Scheduler
...
* Comments
2014-01-13 11:43:17 -05:00
Albert Santoni
e4cdce9ff2
CC-5651: Unit Test the Scheduler
...
* Improved bootstrapping, fixed a bunch of errors
* Start a session, got Zend_Application working
2014-01-13 11:43:17 -05:00
Albert Santoni
37a95519c1
CC-5651: Unit Test the Scheduler
...
* More database connection stuff
2014-01-13 11:43:17 -05:00
Albert Santoni
6026ec58db
CC-5651: Unit Test the Scheduler
...
* Got the database connection working in our unit test
2014-01-13 11:43:17 -05:00
Albert Santoni
42aebe50af
CC-5651: Unit Test the Scheduler
...
* README.txt update for unit tests
2014-01-13 11:43:16 -05:00
Albert Santoni
6cb38d021e
CC-5651: Unit Test the Scheduler
...
* Updated README
2014-01-13 11:43:16 -05:00
drigato
947a093e29
CC-5651: Unit Test the Scheduler
...
Added xml cc_show seed file and cc_show creation test file
2014-01-13 11:43:16 -05:00
drigato
8485e136fe
CC-5651: Unit Test the Schedule
...
Remove Zend library from tests folder
2014-01-13 11:43:16 -05:00
Albert Santoni
ae6efc8fc8
CC-5651: Unit Test the Scheduler
...
* Unit test bootstrapping work.
* Added a README.txt for the unit testing environment
2014-01-13 11:43:16 -05:00
drigato
0f107dbad3
Initial unit test configuration
2014-01-13 11:43:16 -05:00
drigato
9e5cfe0d39
CC-5666: Deleting a show instance can revert the 'no end' option
2014-01-13 11:41:44 -05:00
drigato
0f4099e481
CC-5651: Unit Test the Scheduler
...
Added test for deleting a show instance
2014-01-09 16:58:56 -05:00
drigato
4e668b9d77
CC-5651: Unit Test the Scheduler
...
Added new test for creating a weekly repeating show
Renamed xml files to better reflect which test it belongs to
2014-01-09 14:38:03 -05:00
drigato
a648f7fa2d
CC-5665: Timeout can occur when scheduling large playlists into linked shows
...
Added a temporary fix by extending the php time limit
2014-01-09 11:57:32 -05:00
drigato
71022b1413
CC-5651: Unit Test the Scheduler
...
Removed unused code
2014-01-08 15:52:46 -05:00
drigato
ef13d5966f
CC-5651: Unit Test the Scheduler
...
Added test for a non-repeat and non-record show
Added a helper class
2014-01-08 15:51:11 -05:00