-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
78aa47a
commit 21ae453
Showing
44,170 changed files
with
588,784 additions
and
0 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
$Id: README.txt,v 1.2.2.2 2009/03/18 14:49:20 mudrd8mz Exp $ | ||
|
||
HOW TO STARTUP WITH A NEW ACTIVITY MODULE | ||
========================================= | ||
|
||
The following steps should get you up and running with | ||
this module template code. | ||
|
||
As you are able to read this file, you have probably managed to get this | ||
source code from either the CVS repository or from the zip archive. Well done! | ||
|
||
Read this README file. | ||
|
||
Make sure you have read this file :-) | ||
|
||
Rename the NEWMODULE folder into a lower case name of your module. Make sure | ||
your name is not used by any standard or contributed modules (see | ||
http://cvs.moodle.org/contrib/plugins/mod/ for the list of currently | ||
contributed modules). | ||
|
||
Edit all the files in this directory and its subdirectories and change all the | ||
instances of string "newmodule" to your new module name (eg "widget"). | ||
|
||
Rename the file lang/en_utf8/newmodule.php to widget.php or whatever your | ||
module name is. | ||
|
||
Place the widget folder into the /mod folder of your development moodle | ||
directory. | ||
|
||
Go to http://localhost/your/moodle/admin/xmldb/ directory. Try to not to visit | ||
the main admin page (Notifications) so the module is not installed yet. If it | ||
gets installed accidentaly, uninstall it from the database via Manage | ||
activities admin page. You will probably uninstall and reinstall the module | ||
quite often during the early stages of the development. | ||
|
||
In XMLDB editor, add all tables, fields and statements needed to implement the | ||
module features. See http://docs.moodle.org/en/Development:Using_XMLDB for | ||
more information. Do not forget to use the [Save] link at the XMLDB main page | ||
so the changes are written into install.xml file. If the link is not active, | ||
the web server process (eg. apache user) does not have permission to write | ||
into mod/widget/db/install.xml file | ||
|
||
Visit the admin Notifications page (admin/index.php). The module tables should | ||
get installed. | ||
|
||
You can go to Modules > Activities in the Site Administration block. You | ||
should find that this newmodule has been added to the list of recognized | ||
modules. | ||
|
||
You may now proceed to run your own code in an attempt to develop for moodle. | ||
Good luck with that. For help with developing code for moodle, visit the | ||
"Activity modules" developers forum in the online course called "Using Moodle" | ||
at http://moodle.org. | ||
|
||
|
||
What to do next | ||
--------------- | ||
|
||
Go through the lib.php, index.php and view.php files. | ||
|
||
You will probably want to add some capabilities regarding your module. Look at | ||
db/access.php. Note that you have to increase the version number defined in | ||
version.php to let Moodle update the capabilities information. | ||
|
||
If you do any change to the database structure (adding a field, changing the | ||
field definition etc.) use XMLDB editor again. Use the PHP code generated by | ||
XMLDB and push it into db/upgrade.php. Save the change into install.xml (for | ||
fresh installations), increase the version number and go to admin/index.php | ||
again. During upgrade, Moodle calls a function in db/upgrade.php to perform | ||
the DB changes. | ||
|
||
Credits for work on this NEWMODULE template | ||
------------------------------------------- | ||
Martin Dougiamas for the original work | ||
Chris B Stones (http://www.welcometochrisworld.com) for revision of the code |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
Server-side stream recording with Red5 by Carl Sziebert | ||
http://sziebert.net/posts/server-side-stream-recording-updated/ | ||
|
||
----- | ||
|
||
This simple application demonstrates the server-side stream recording feature built into Red5. It utilizes the latest | ||
Red5 build direct from their continuous build server. In order to run the application, you'll need to have Ant | ||
(http://ant.apache.org) and Red5 (http://code.google.com/p/red5) installed. To get started, run the default ant command | ||
(ant or ant compile) and deploy the application to Red5. | ||
|
||
----- | ||
|
||
What's new in this version | ||
|
||
1. Updated to use the latest Red5 (0.9.1) build. JDK6 is now required. | ||
2. Refactored the StreamManager class to align with the correct API. | ||
3. Simplified the Ant/Ivy configuration files. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
project.title=Recorder | ||
project.publish.name=recorder | ||
project.version=1.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,116 @@ | ||
<?xml version="1.0" ?> | ||
<project name="recorder" default="compile" basedir="." xmlns:ivy="antlib:org.apache.ivy.ant"> | ||
|
||
<!-- // Basedir property --> | ||
<property name="base.dir" value="."/> | ||
<!-- // Give user a chance to override without editing this file or typing '-D'. --> | ||
<property file="${base.dir}/build.properties"/> | ||
|
||
<!-- // Set the global properties for this project. --> | ||
<property name="ivy.install.version" value="2.2.0-rc1"/> | ||
<property name="ivy.home" value="${user.home}/.ivy2"/> | ||
<property name="ivy.jar.dir" value="${ivy.home}/lib"/> | ||
<property name="ivy.jar.file" value="${ivy.jar.dir}/ivy-${ivy.install.version}.jar"/> | ||
<property name="ivy.report.dir" value="${base.dir}/reports"/> | ||
<property name="project.name" value="${project.publish.name}"/> | ||
<property name="src.java.dir" value="${base.dir}/src/java"/> | ||
<property name="src.test.dir" value="${base.dir}/src/test"/> | ||
<property name="war.dir" value="${base.dir}/web"/> | ||
<property name="ext.dir" value="${base.dir}/ext"/> | ||
<property name="lib.dir" value="${war.dir}/WEB-INF/lib"/> | ||
<property name="resources.dir" value="${base.dir}/src/resources"/> | ||
<property name="test.dir" value="${base.dir}/test-build"/> | ||
<property name="dest.dir" value="${war.dir}/WEB-INF/classes"/> | ||
<property name="javac.debug" value="true"/> | ||
<property name="javac.deprecation" value="false"/> | ||
<property name="debug" value="false"/> | ||
|
||
<!-- // Compile classpath --> | ||
<path id="build.classpath"> | ||
<fileset dir="${ext.dir}"> | ||
<include name="*.jar"/> | ||
</fileset> | ||
<fileset dir="${lib.dir}"> | ||
<include name="*.jar"/> | ||
</fileset> | ||
<pathelement path="${dest.dir}"/> | ||
</path> | ||
|
||
<condition property="no-ivy"> | ||
<not> | ||
<available file="${ivy.jar.file}"/> | ||
</not> | ||
</condition> | ||
|
||
<target name="download-ivy" if="no-ivy" unless="offline" description="--> Download ivy version: ${ivy.install.version}"> | ||
<mkdir dir="${ivy.jar.dir}"/> | ||
<get src="http://repo2.maven.org/maven2/org/apache/ivy/ivy/${ivy.install.version}/ivy-${ivy.install.version}.jar" | ||
dest="${ivy.jar.file}" | ||
usetimestamp="true"/> | ||
</target> | ||
|
||
<target name="install-ivy" depends="download-ivy" description="--> Install and prepare ivy"> | ||
<path id="ivy.lib.path"> | ||
<fileset dir="${ivy.jar.dir}" includes="*.jar"/> | ||
</path> | ||
<taskdef resource="org/apache/ivy/ant/antlib.xml" uri="antlib:org.apache.ivy.ant" classpathref="ivy.lib.path"/> | ||
</target> | ||
|
||
<target name="remove-ivy" description="--> Remove the ivy installation"> | ||
<delete dir="${ivy.jar.dir}"/> | ||
</target> | ||
|
||
<target name="clean-ivy-cache" depends="install-ivy" description="--> Clean the ivy cache"> | ||
<ivy:cleancache/> | ||
<delete dir="${ivy.report.dir}"/> | ||
<delete includeemptydirs="true"> | ||
<fileset dir="${ext.dir}" excludes="**/ivy*.jar"/> | ||
<fileset dir="${lib.dir}" excludes="**/ivy*.jar"/> | ||
</delete> | ||
</target> | ||
|
||
<target name="retrieve" depends="install-ivy" description="Retrieves the libraries if needed."> | ||
<mkdir dir="${ext.dir}"/> | ||
<mkdir dir="${lib.dir}"/> | ||
<ivy:settings file="${base.dir}/ivysettings.xml"/> | ||
<condition property="ivy.conf.name" value="default"> | ||
<not> | ||
<isset property="ivy.conf.name"/> | ||
</not> | ||
</condition> | ||
<echo message="Ivy conf name: ${ivy.conf.name}"/> | ||
<ivy:resolve file="${base.dir}/ivy.xml" conf="${ivy.conf.name}"/> | ||
<ivy:retrieve conf="${ivy.conf.name}" | ||
pattern="${lib.dir}/[artifact](-[revision]).[ext]"/> | ||
<ivy:retrieve conf="compile" | ||
pattern="${ext.dir}/[artifact](-[revision]).[ext]"/> | ||
<ivy:report conf="default" todir="${ivy.report.dir}" /> | ||
</target> | ||
|
||
<target name="init" depends="retrieve" description="Initialize the build"> | ||
<tstamp/> | ||
<mkdir dir="${dest.dir}"/> | ||
</target> | ||
|
||
<target name="compile" depends="init" | ||
description="Compile the Java source code"> | ||
<javac classpathref="build.classpath" | ||
destdir="${dest.dir}" | ||
debug="${javac.debug}" | ||
deprecation="${javac.deprecation}" | ||
nowarn="on"> | ||
<src path="${src.java.dir}"/> | ||
</javac> | ||
<copy todir="${dest.dir}"> | ||
<fileset dir="${resources.dir}"> | ||
<include name="*.properties"/> | ||
<include name="**/*.xml"/> | ||
</fileset> | ||
</copy> | ||
</target> | ||
|
||
<target name="clean" description="Cleans up the build directory"> | ||
<delete includeemptydirs="true" dir="${dest.dir}"/> | ||
</target> | ||
|
||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<flash_project name="Recorder" version="1"> | ||
<project_folder name="Classes" expanded="true"> | ||
<project_folder name="Broadcast" expanded="true"> | ||
<project_file path="..:..:src/flash/net/sziebert/tutorials/broadcast/Broadcast.as" filetype="as" /> | ||
</project_folder> | ||
<project_folder name="View" expanded="true"> | ||
<project_file path="..:..:src/flash/net/sziebert/tutorials/view/View.as" filetype="as" /> | ||
</project_folder> | ||
</project_folder> | ||
<project_file path="..:..:src/flash/broadcast.fla" filetype="fla" profile="" def_file="true" /> | ||
<project_file path="..:..:src/flash/view.fla" filetype="fla" profile="" /> | ||
</flash_project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<module relativePaths="true" type="JAVA_MODULE" version="4"> | ||
<component name="FacetManager"> | ||
<facet type="Spring" name="Spring"> | ||
<configuration /> | ||
</facet> | ||
<facet type="web" name="Web"> | ||
<configuration> | ||
<descriptors> | ||
<deploymentDescriptor name="web.xml" url="file://$MODULE_DIR$/../../web/WEB-INF/web.xml" /> | ||
</descriptors> | ||
<webroots> | ||
<root url="file://$MODULE_DIR$/../../web" relative="/" /> | ||
</webroots> | ||
<context-artifact name="Recorder:Web exploded" /> | ||
</configuration> | ||
</facet> | ||
</component> | ||
<component name="NewModuleRootManager" inherit-compiler-output="true"> | ||
<exclude-output /> | ||
<content url="file://$MODULE_DIR$/../.."> | ||
<sourceFolder url="file://$MODULE_DIR$/../../src/java" isTestSource="false" /> | ||
</content> | ||
<orderEntry type="inheritedJdk" /> | ||
<orderEntry type="sourceFolder" forTests="false" /> | ||
<orderEntry type="module-library"> | ||
<library> | ||
<CLASSES> | ||
<root url="jar://$APPLICATION_HOME_DIR$/lib/javaee.jar!/" /> | ||
</CLASSES> | ||
<JAVADOC /> | ||
<SOURCES /> | ||
</library> | ||
</orderEntry> | ||
<orderEntry type="library" name="Classpath" level="project" /> | ||
</component> | ||
<component name="copyright"> | ||
<Base> | ||
<setting name="state" value="2" /> | ||
</Base> | ||
</component> | ||
</module> | ||
|
Oops, something went wrong.