Commit graph

5089 commits

Author SHA1 Message Date
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
drigato
3baf7929ce Added missing ShowData.php thingy for unit testing 2014-01-07 13:03:34 -05:00
drigato
94912ed445 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-06 18:09:13 -05:00
drigato
2cdad4932a CC-5660: Unable to create shows with a rebroadcast
Used wrong formating for minutes
2014-01-06 14:04:18 -05:00
drigato
11284d0d41 CC-5660: Unable to create shows with a rebroadcast
Two variables that are needed for the rebroadcast validation were deleted
before the 2.5.1 release. Just had to add them back in.
2014-01-06 13:51:06 -05:00
Albert Santoni
fea3f4073a 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! :-)
2013-12-19 16:58:11 -05:00
drigato
298a9e6b7c CC-5651: Unit Test the Scheduler
First test passes!
2013-12-19 16:03:16 -05:00
drigato
3b27e74ca0 CC-5651: Unit Test the Scheduler
Got test to run!
2013-12-19 15:31:12 -05:00
Albert Santoni
c4adbab04e CC-5651: Unit Test the Scheduler
* Fixed the test airtime.conf a bit
* Create the database tables and db properly
2013-12-19 12:01:32 -05:00
Albert Santoni
b95fb38164 CC-5651: Unit Test the Scheduler
* Mock config for database connections
2013-12-19 11:40:35 -05:00
drigato
6512f033d1 CC-5651: Unit Test the Scheduler
Remove zend session stuff
Add services, install scripts to include path
2013-12-19 11:16:06 -05:00
Albert Santoni
585d62bfef CC-5651: Unit Test the Scheduler
* Comments
2013-12-19 11:11:26 -05:00
Albert Santoni
a7353ba6ca CC-5651: Unit Test the Scheduler
* Improved bootstrapping, fixed a bunch of errors
* Start a session, got Zend_Application working
2013-12-19 11:09:49 -05:00
Albert Santoni
813043f52a CC-5651: Unit Test the Scheduler
* More database connection stuff
2013-12-18 18:59:42 -05:00
Albert Santoni
1cf5d3489e CC-5651: Unit Test the Scheduler
* Got the database connection working in our unit test
2013-12-18 17:40:13 -05:00
Albert Santoni
083ca601c9 CC-5651: Unit Test the Scheduler
* README.txt update for unit tests
2013-12-18 16:42:32 -05:00
Albert Santoni
dbc83d37d6 Merge branch 'unittests' of github.com:sourcefabric/Airtime into unittests 2013-12-18 16:26:42 -05:00
Albert Santoni
bc7f83c9ff CC-5651: Unit Test the Scheduler
* Updated README
2013-12-18 16:26:22 -05:00
drigato
73130f02e5 CC-5651: Unit Test the Scheduler
Added xml cc_show seed file and cc_show creation test file
2013-12-18 16:11:03 -05:00
drigato
6aaa2c83aa CC-5651: Unit Test the Schedule
Remove Zend library from tests folder
2013-12-18 16:07:01 -05:00
Albert Santoni
84c7e21bea CC-5651: Unit Test the Scheduler
* Unit test bootstrapping work.
* Added a README.txt for the unit testing environment
2013-12-18 16:05:31 -05:00
drigato
e638101a97 Initial unit test configuration 2013-12-18 15:48:32 -05:00
drigato
dc05d9ddaf CC-5649: Remove unused function, Application_Model_Show::populateAllShowsInRange 2013-12-17 17:09:59 -05:00
Albert Santoni
653f0e02a4 CC-5648: Events are shifted down in the month view
* Fixed it.
2013-12-17 15:25:43 -05:00
Naomi
8daca16fac Merge branch '2.5.x' of github.com:sourcefabric/Airtime into 2.5.x 2013-12-16 17:14:55 -05:00
Naomi
424de61a11 CC-5619 : Browser caching can produce unexpected behaviour in the 'Listen Now' window.
upgrading to jPlayer 2.5.0
2013-12-16 17:14:00 -05:00
drigato
27c3637591 CC-5640: End time does not get updated when editing the current playing show
Was checking if the start time was in the past, but we should check if the
end time is in the past. This way you can extend or shrink shows that are currently playing.
2013-12-16 15:27:51 -05:00
Albert Santoni
0afaeadb15 CC-5641: Can Create Zero or Negative Length Shows
* Fixed two underlying causes of zero or negative length shows
  that could be created over DST time changes:
    - Fixed incorrect end time arithmetic which did not preserve the
      show duration.
    - Fixed a desynchronization issue due to FullCalendar handling
      events over DST differently from Airtime.
2013-12-14 22:38:33 -05:00
Albert Santoni
f16d8ca2ea Fixed a bunch of annoying/major graphical issues with the calendar
* Fixed a bug where the calendar would keep shrinking smaller and
  smaller as you resized the window.
* Fixed the size and alignment of the time span combobox in the corner,
  which fixes a bug where the text was cut off.
* Fixed a bug where the schedule header would grow as you flipped
  to the next or previous week.
* Dropped javascript from the resizing of the calendar (for the most
  part).
2013-12-14 00:05:13 -05:00