http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/051db092/wave/dist/thumbnail_patterns/application-vnd.openxmlformats-officedocument.wordprocessingml.document ---------------------------------------------------------------------- diff --git a/wave/dist/thumbnail_patterns/application-vnd.openxmlformats-officedocument.wordprocessingml.document b/wave/dist/thumbnail_patterns/application-vnd.openxmlformats-officedocument.wordprocessingml.document deleted file mode 100644 index 4a05f84..0000000 Binary files a/wave/dist/thumbnail_patterns/application-vnd.openxmlformats-officedocument.wordprocessingml.document and /dev/null differ
http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/051db092/wave/dist/thumbnail_patterns/application-vnd.openxmlformats-officedocument.wordprocessingml.template ---------------------------------------------------------------------- diff --git a/wave/dist/thumbnail_patterns/application-vnd.openxmlformats-officedocument.wordprocessingml.template b/wave/dist/thumbnail_patterns/application-vnd.openxmlformats-officedocument.wordprocessingml.template deleted file mode 100644 index 4d43da2..0000000 Binary files a/wave/dist/thumbnail_patterns/application-vnd.openxmlformats-officedocument.wordprocessingml.template and /dev/null differ http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/051db092/wave/dist/thumbnail_patterns/application-x-executable ---------------------------------------------------------------------- diff --git a/wave/dist/thumbnail_patterns/application-x-executable b/wave/dist/thumbnail_patterns/application-x-executable deleted file mode 100644 index 72ea15b..0000000 Binary files a/wave/dist/thumbnail_patterns/application-x-executable and /dev/null differ http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/051db092/wave/dist/thumbnail_patterns/application_pdf ---------------------------------------------------------------------- diff --git a/wave/dist/thumbnail_patterns/application_pdf b/wave/dist/thumbnail_patterns/application_pdf deleted file mode 100644 index 25f33a3..0000000 Binary files a/wave/dist/thumbnail_patterns/application_pdf and /dev/null differ http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/051db092/wave/dist/thumbnail_patterns/application_zip ---------------------------------------------------------------------- diff --git a/wave/dist/thumbnail_patterns/application_zip b/wave/dist/thumbnail_patterns/application_zip deleted file mode 100644 index 7df2419..0000000 Binary files a/wave/dist/thumbnail_patterns/application_zip and /dev/null differ http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/051db092/wave/dist/thumbnail_patterns/ascii ---------------------------------------------------------------------- diff --git a/wave/dist/thumbnail_patterns/ascii b/wave/dist/thumbnail_patterns/ascii deleted file mode 100644 index d6b401a..0000000 Binary files a/wave/dist/thumbnail_patterns/ascii and /dev/null differ http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/051db092/wave/dist/thumbnail_patterns/audio-x-generic ---------------------------------------------------------------------- diff --git a/wave/dist/thumbnail_patterns/audio-x-generic b/wave/dist/thumbnail_patterns/audio-x-generic deleted file mode 100644 index f543aa6..0000000 Binary files a/wave/dist/thumbnail_patterns/audio-x-generic and /dev/null differ http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/051db092/wave/dist/thumbnail_patterns/binary ---------------------------------------------------------------------- diff --git a/wave/dist/thumbnail_patterns/binary b/wave/dist/thumbnail_patterns/binary deleted file mode 100644 index 72ea15b..0000000 Binary files a/wave/dist/thumbnail_patterns/binary and /dev/null differ http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/051db092/wave/dist/thumbnail_patterns/contents2 ---------------------------------------------------------------------- diff --git a/wave/dist/thumbnail_patterns/contents2 b/wave/dist/thumbnail_patterns/contents2 deleted file mode 100644 index 02f1d5b..0000000 Binary files a/wave/dist/thumbnail_patterns/contents2 and /dev/null differ http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/051db092/wave/dist/thumbnail_patterns/deb ---------------------------------------------------------------------- diff --git a/wave/dist/thumbnail_patterns/deb b/wave/dist/thumbnail_patterns/deb deleted file mode 100644 index 7df2419..0000000 Binary files a/wave/dist/thumbnail_patterns/deb and /dev/null differ http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/051db092/wave/dist/thumbnail_patterns/default ---------------------------------------------------------------------- diff --git a/wave/dist/thumbnail_patterns/default b/wave/dist/thumbnail_patterns/default deleted file mode 100644 index 469eb52..0000000 Binary files a/wave/dist/thumbnail_patterns/default and /dev/null differ http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/051db092/wave/dist/thumbnail_patterns/document ---------------------------------------------------------------------- diff --git a/wave/dist/thumbnail_patterns/document b/wave/dist/thumbnail_patterns/document deleted file mode 100644 index 4a05f84..0000000 Binary files a/wave/dist/thumbnail_patterns/document and /dev/null differ http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/051db092/wave/dist/thumbnail_patterns/empty ---------------------------------------------------------------------- diff --git a/wave/dist/thumbnail_patterns/empty b/wave/dist/thumbnail_patterns/empty deleted file mode 100644 index d6b401a..0000000 Binary files a/wave/dist/thumbnail_patterns/empty and /dev/null differ http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/051db092/wave/dist/thumbnail_patterns/exec ---------------------------------------------------------------------- diff --git a/wave/dist/thumbnail_patterns/exec b/wave/dist/thumbnail_patterns/exec deleted file mode 100644 index 72ea15b..0000000 Binary files a/wave/dist/thumbnail_patterns/exec and /dev/null differ http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/051db092/wave/dist/thumbnail_patterns/folder_tar ---------------------------------------------------------------------- diff --git a/wave/dist/thumbnail_patterns/folder_tar b/wave/dist/thumbnail_patterns/folder_tar deleted file mode 100644 index 7df2419..0000000 Binary files a/wave/dist/thumbnail_patterns/folder_tar and /dev/null differ http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/051db092/wave/dist/thumbnail_patterns/font ---------------------------------------------------------------------- diff --git a/wave/dist/thumbnail_patterns/font b/wave/dist/thumbnail_patterns/font deleted file mode 100644 index 9d5839c..0000000 Binary files a/wave/dist/thumbnail_patterns/font and /dev/null differ http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/051db092/wave/dist/thumbnail_patterns/font-x-generic ---------------------------------------------------------------------- diff --git a/wave/dist/thumbnail_patterns/font-x-generic b/wave/dist/thumbnail_patterns/font-x-generic deleted file mode 100644 index 9d5839c..0000000 Binary files a/wave/dist/thumbnail_patterns/font-x-generic and /dev/null differ http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/051db092/wave/dist/thumbnail_patterns/font_bitmap ---------------------------------------------------------------------- diff --git a/wave/dist/thumbnail_patterns/font_bitmap b/wave/dist/thumbnail_patterns/font_bitmap deleted file mode 100644 index 9d5839c..0000000 Binary files a/wave/dist/thumbnail_patterns/font_bitmap and /dev/null differ http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/051db092/wave/dist/thumbnail_patterns/font_truetype ---------------------------------------------------------------------- diff --git a/wave/dist/thumbnail_patterns/font_truetype b/wave/dist/thumbnail_patterns/font_truetype deleted file mode 100644 index 9d5839c..0000000 Binary files a/wave/dist/thumbnail_patterns/font_truetype and /dev/null differ http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/051db092/wave/dist/thumbnail_patterns/font_type1 ---------------------------------------------------------------------- diff --git a/wave/dist/thumbnail_patterns/font_type1 b/wave/dist/thumbnail_patterns/font_type1 deleted file mode 100644 index 9d5839c..0000000 Binary files a/wave/dist/thumbnail_patterns/font_type1 and /dev/null differ http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/051db092/wave/dist/thumbnail_patterns/gnome-fs-executable ---------------------------------------------------------------------- diff --git a/wave/dist/thumbnail_patterns/gnome-fs-executable b/wave/dist/thumbnail_patterns/gnome-fs-executable deleted file mode 100644 index 72ea15b..0000000 Binary files a/wave/dist/thumbnail_patterns/gnome-fs-executable and /dev/null differ http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/051db092/wave/dist/thumbnail_patterns/gnome-package ---------------------------------------------------------------------- diff --git a/wave/dist/thumbnail_patterns/gnome-package b/wave/dist/thumbnail_patterns/gnome-package deleted file mode 100644 index 7df2419..0000000 Binary files a/wave/dist/thumbnail_patterns/gnome-package and /dev/null differ http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/051db092/wave/dist/thumbnail_patterns/html ---------------------------------------------------------------------- diff --git a/wave/dist/thumbnail_patterns/html b/wave/dist/thumbnail_patterns/html deleted file mode 100644 index aceb2cd..0000000 Binary files a/wave/dist/thumbnail_patterns/html and /dev/null differ http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/051db092/wave/dist/thumbnail_patterns/image ---------------------------------------------------------------------- diff --git a/wave/dist/thumbnail_patterns/image b/wave/dist/thumbnail_patterns/image deleted file mode 100644 index b05624f..0000000 Binary files a/wave/dist/thumbnail_patterns/image and /dev/null differ http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/051db092/wave/dist/thumbnail_patterns/image-x-generic ---------------------------------------------------------------------- diff --git a/wave/dist/thumbnail_patterns/image-x-generic b/wave/dist/thumbnail_patterns/image-x-generic deleted file mode 100644 index b05624f..0000000 Binary files a/wave/dist/thumbnail_patterns/image-x-generic and /dev/null differ http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/051db092/wave/dist/thumbnail_patterns/kpresenter_kpr ---------------------------------------------------------------------- diff --git a/wave/dist/thumbnail_patterns/kpresenter_kpr b/wave/dist/thumbnail_patterns/kpresenter_kpr deleted file mode 100644 index 1a26651..0000000 Binary files a/wave/dist/thumbnail_patterns/kpresenter_kpr and /dev/null differ http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/051db092/wave/dist/thumbnail_patterns/mime_ascii ---------------------------------------------------------------------- diff --git a/wave/dist/thumbnail_patterns/mime_ascii b/wave/dist/thumbnail_patterns/mime_ascii deleted file mode 100644 index d6b401a..0000000 Binary files a/wave/dist/thumbnail_patterns/mime_ascii and /dev/null differ http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/051db092/wave/dist/thumbnail_patterns/misc ---------------------------------------------------------------------- diff --git a/wave/dist/thumbnail_patterns/misc b/wave/dist/thumbnail_patterns/misc deleted file mode 100644 index d6b401a..0000000 Binary files a/wave/dist/thumbnail_patterns/misc and /dev/null differ http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/051db092/wave/dist/thumbnail_patterns/package ---------------------------------------------------------------------- diff --git a/wave/dist/thumbnail_patterns/package b/wave/dist/thumbnail_patterns/package deleted file mode 100644 index 7df2419..0000000 Binary files a/wave/dist/thumbnail_patterns/package and /dev/null differ http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/051db092/wave/dist/thumbnail_patterns/package-x-generic ---------------------------------------------------------------------- diff --git a/wave/dist/thumbnail_patterns/package-x-generic b/wave/dist/thumbnail_patterns/package-x-generic deleted file mode 100644 index 7df2419..0000000 Binary files a/wave/dist/thumbnail_patterns/package-x-generic and /dev/null differ http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/051db092/wave/dist/thumbnail_patterns/package_editors ---------------------------------------------------------------------- diff --git a/wave/dist/thumbnail_patterns/package_editors b/wave/dist/thumbnail_patterns/package_editors deleted file mode 100644 index d6b401a..0000000 Binary files a/wave/dist/thumbnail_patterns/package_editors and /dev/null differ http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/051db092/wave/dist/thumbnail_patterns/package_wordprocessing ---------------------------------------------------------------------- diff --git a/wave/dist/thumbnail_patterns/package_wordprocessing b/wave/dist/thumbnail_patterns/package_wordprocessing deleted file mode 100644 index 4a05f84..0000000 Binary files a/wave/dist/thumbnail_patterns/package_wordprocessing and /dev/null differ http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/051db092/wave/dist/thumbnail_patterns/plan ---------------------------------------------------------------------- diff --git a/wave/dist/thumbnail_patterns/plan b/wave/dist/thumbnail_patterns/plan deleted file mode 100644 index 69deb8b..0000000 Binary files a/wave/dist/thumbnail_patterns/plan and /dev/null differ http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/051db092/wave/dist/thumbnail_patterns/rpm ---------------------------------------------------------------------- diff --git a/wave/dist/thumbnail_patterns/rpm b/wave/dist/thumbnail_patterns/rpm deleted file mode 100644 index 7df2419..0000000 Binary files a/wave/dist/thumbnail_patterns/rpm and /dev/null differ http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/051db092/wave/dist/thumbnail_patterns/shellscript ---------------------------------------------------------------------- diff --git a/wave/dist/thumbnail_patterns/shellscript b/wave/dist/thumbnail_patterns/shellscript deleted file mode 100644 index 30134b6..0000000 Binary files a/wave/dist/thumbnail_patterns/shellscript and /dev/null differ http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/051db092/wave/dist/thumbnail_patterns/sound ---------------------------------------------------------------------- diff --git a/wave/dist/thumbnail_patterns/sound b/wave/dist/thumbnail_patterns/sound deleted file mode 100644 index f543aa6..0000000 Binary files a/wave/dist/thumbnail_patterns/sound and /dev/null differ http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/051db092/wave/dist/thumbnail_patterns/spreadsheet ---------------------------------------------------------------------- diff --git a/wave/dist/thumbnail_patterns/spreadsheet b/wave/dist/thumbnail_patterns/spreadsheet deleted file mode 100644 index f3aae1b..0000000 Binary files a/wave/dist/thumbnail_patterns/spreadsheet and /dev/null differ http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/051db092/wave/dist/thumbnail_patterns/stock_addressbook ---------------------------------------------------------------------- diff --git a/wave/dist/thumbnail_patterns/stock_addressbook b/wave/dist/thumbnail_patterns/stock_addressbook deleted file mode 100644 index 02f1d5b..0000000 Binary files a/wave/dist/thumbnail_patterns/stock_addressbook and /dev/null differ http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/051db092/wave/dist/thumbnail_patterns/stock_calendar ---------------------------------------------------------------------- diff --git a/wave/dist/thumbnail_patterns/stock_calendar b/wave/dist/thumbnail_patterns/stock_calendar deleted file mode 100644 index 69deb8b..0000000 Binary files a/wave/dist/thumbnail_patterns/stock_calendar and /dev/null differ http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/051db092/wave/dist/thumbnail_patterns/stock_certificate ---------------------------------------------------------------------- diff --git a/wave/dist/thumbnail_patterns/stock_certificate b/wave/dist/thumbnail_patterns/stock_certificate deleted file mode 100644 index 290e62c..0000000 Binary files a/wave/dist/thumbnail_patterns/stock_certificate and /dev/null differ http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/051db092/wave/dist/thumbnail_patterns/stock_script ---------------------------------------------------------------------- diff --git a/wave/dist/thumbnail_patterns/stock_script b/wave/dist/thumbnail_patterns/stock_script deleted file mode 100644 index 30134b6..0000000 Binary files a/wave/dist/thumbnail_patterns/stock_script and /dev/null differ http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/051db092/wave/dist/thumbnail_patterns/tar ---------------------------------------------------------------------- diff --git a/wave/dist/thumbnail_patterns/tar b/wave/dist/thumbnail_patterns/tar deleted file mode 100644 index 7df2419..0000000 Binary files a/wave/dist/thumbnail_patterns/tar and /dev/null differ http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/051db092/wave/dist/thumbnail_patterns/template_source ---------------------------------------------------------------------- diff --git a/wave/dist/thumbnail_patterns/template_source b/wave/dist/thumbnail_patterns/template_source deleted file mode 100644 index 47796bd..0000000 Binary files a/wave/dist/thumbnail_patterns/template_source and /dev/null differ http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/051db092/wave/dist/thumbnail_patterns/text-html ---------------------------------------------------------------------- diff --git a/wave/dist/thumbnail_patterns/text-html b/wave/dist/thumbnail_patterns/text-html deleted file mode 100644 index aceb2cd..0000000 Binary files a/wave/dist/thumbnail_patterns/text-html and /dev/null differ http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/051db092/wave/dist/thumbnail_patterns/text-x-generic ---------------------------------------------------------------------- diff --git a/wave/dist/thumbnail_patterns/text-x-generic b/wave/dist/thumbnail_patterns/text-x-generic deleted file mode 100644 index d6b401a..0000000 Binary files a/wave/dist/thumbnail_patterns/text-x-generic and /dev/null differ http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/051db092/wave/dist/thumbnail_patterns/text-x-generic-template ---------------------------------------------------------------------- diff --git a/wave/dist/thumbnail_patterns/text-x-generic-template b/wave/dist/thumbnail_patterns/text-x-generic-template deleted file mode 100644 index 47796bd..0000000 Binary files a/wave/dist/thumbnail_patterns/text-x-generic-template and /dev/null differ http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/051db092/wave/dist/thumbnail_patterns/text-x-script ---------------------------------------------------------------------- diff --git a/wave/dist/thumbnail_patterns/text-x-script b/wave/dist/thumbnail_patterns/text-x-script deleted file mode 100644 index 30134b6..0000000 Binary files a/wave/dist/thumbnail_patterns/text-x-script and /dev/null differ http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/051db092/wave/dist/thumbnail_patterns/text_plain ---------------------------------------------------------------------- diff --git a/wave/dist/thumbnail_patterns/text_plain b/wave/dist/thumbnail_patterns/text_plain deleted file mode 100644 index 928a679..0000000 Binary files a/wave/dist/thumbnail_patterns/text_plain and /dev/null differ http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/051db092/wave/dist/thumbnail_patterns/tgz ---------------------------------------------------------------------- diff --git a/wave/dist/thumbnail_patterns/tgz b/wave/dist/thumbnail_patterns/tgz deleted file mode 100644 index 7df2419..0000000 Binary files a/wave/dist/thumbnail_patterns/tgz and /dev/null differ http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/051db092/wave/dist/thumbnail_patterns/txt ---------------------------------------------------------------------- diff --git a/wave/dist/thumbnail_patterns/txt b/wave/dist/thumbnail_patterns/txt deleted file mode 100644 index d6b401a..0000000 Binary files a/wave/dist/thumbnail_patterns/txt and /dev/null differ http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/051db092/wave/dist/thumbnail_patterns/txt2 ---------------------------------------------------------------------- diff --git a/wave/dist/thumbnail_patterns/txt2 b/wave/dist/thumbnail_patterns/txt2 deleted file mode 100644 index d6b401a..0000000 Binary files a/wave/dist/thumbnail_patterns/txt2 and /dev/null differ http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/051db092/wave/dist/thumbnail_patterns/unknown ---------------------------------------------------------------------- diff --git a/wave/dist/thumbnail_patterns/unknown b/wave/dist/thumbnail_patterns/unknown deleted file mode 100644 index d6b401a..0000000 Binary files a/wave/dist/thumbnail_patterns/unknown and /dev/null differ http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/051db092/wave/dist/thumbnail_patterns/vcalendar ---------------------------------------------------------------------- diff --git a/wave/dist/thumbnail_patterns/vcalendar b/wave/dist/thumbnail_patterns/vcalendar deleted file mode 100644 index 69deb8b..0000000 Binary files a/wave/dist/thumbnail_patterns/vcalendar and /dev/null differ http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/051db092/wave/dist/thumbnail_patterns/vcard ---------------------------------------------------------------------- diff --git a/wave/dist/thumbnail_patterns/vcard b/wave/dist/thumbnail_patterns/vcard deleted file mode 100644 index 02f1d5b..0000000 Binary files a/wave/dist/thumbnail_patterns/vcard and /dev/null differ http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/051db092/wave/dist/thumbnail_patterns/video ---------------------------------------------------------------------- diff --git a/wave/dist/thumbnail_patterns/video b/wave/dist/thumbnail_patterns/video deleted file mode 100644 index 84a40c4..0000000 Binary files a/wave/dist/thumbnail_patterns/video and /dev/null differ http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/051db092/wave/dist/thumbnail_patterns/video-x-generic ---------------------------------------------------------------------- diff --git a/wave/dist/thumbnail_patterns/video-x-generic b/wave/dist/thumbnail_patterns/video-x-generic deleted file mode 100644 index 84a40c4..0000000 Binary files a/wave/dist/thumbnail_patterns/video-x-generic and /dev/null differ http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/051db092/wave/dist/thumbnail_patterns/wordprocessing ---------------------------------------------------------------------- diff --git a/wave/dist/thumbnail_patterns/wordprocessing b/wave/dist/thumbnail_patterns/wordprocessing deleted file mode 100644 index 4a05f84..0000000 Binary files a/wave/dist/thumbnail_patterns/wordprocessing and /dev/null differ http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/051db092/wave/dist/thumbnail_patterns/www ---------------------------------------------------------------------- diff --git a/wave/dist/thumbnail_patterns/www b/wave/dist/thumbnail_patterns/www deleted file mode 100644 index aceb2cd..0000000 Binary files a/wave/dist/thumbnail_patterns/www and /dev/null differ http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/051db092/wave/dist/thumbnail_patterns/x-office-address-book ---------------------------------------------------------------------- diff --git a/wave/dist/thumbnail_patterns/x-office-address-book b/wave/dist/thumbnail_patterns/x-office-address-book deleted file mode 100644 index 02f1d5b..0000000 Binary files a/wave/dist/thumbnail_patterns/x-office-address-book and /dev/null differ http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/051db092/wave/dist/thumbnail_patterns/x-office-calendar ---------------------------------------------------------------------- diff --git a/wave/dist/thumbnail_patterns/x-office-calendar b/wave/dist/thumbnail_patterns/x-office-calendar deleted file mode 100644 index 69deb8b..0000000 Binary files a/wave/dist/thumbnail_patterns/x-office-calendar and /dev/null differ http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/051db092/wave/dist/thumbnail_patterns/x-office-document ---------------------------------------------------------------------- diff --git a/wave/dist/thumbnail_patterns/x-office-document b/wave/dist/thumbnail_patterns/x-office-document deleted file mode 100644 index 4a05f84..0000000 Binary files a/wave/dist/thumbnail_patterns/x-office-document and /dev/null differ http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/051db092/wave/dist/thumbnail_patterns/x-office-document-template ---------------------------------------------------------------------- diff --git a/wave/dist/thumbnail_patterns/x-office-document-template b/wave/dist/thumbnail_patterns/x-office-document-template deleted file mode 100644 index 4d43da2..0000000 Binary files a/wave/dist/thumbnail_patterns/x-office-document-template and /dev/null differ http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/051db092/wave/dist/thumbnail_patterns/x-office-drawing ---------------------------------------------------------------------- diff --git a/wave/dist/thumbnail_patterns/x-office-drawing b/wave/dist/thumbnail_patterns/x-office-drawing deleted file mode 100644 index 64d6da6..0000000 Binary files a/wave/dist/thumbnail_patterns/x-office-drawing and /dev/null differ http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/051db092/wave/dist/thumbnail_patterns/x-office-drawing-template ---------------------------------------------------------------------- diff --git a/wave/dist/thumbnail_patterns/x-office-drawing-template b/wave/dist/thumbnail_patterns/x-office-drawing-template deleted file mode 100644 index d7f87df..0000000 Binary files a/wave/dist/thumbnail_patterns/x-office-drawing-template and /dev/null differ http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/051db092/wave/dist/thumbnail_patterns/x-office-presentation ---------------------------------------------------------------------- diff --git a/wave/dist/thumbnail_patterns/x-office-presentation b/wave/dist/thumbnail_patterns/x-office-presentation deleted file mode 100644 index 1a26651..0000000 Binary files a/wave/dist/thumbnail_patterns/x-office-presentation and /dev/null differ http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/051db092/wave/dist/thumbnail_patterns/x-office-presentation-template ---------------------------------------------------------------------- diff --git a/wave/dist/thumbnail_patterns/x-office-presentation-template b/wave/dist/thumbnail_patterns/x-office-presentation-template deleted file mode 100644 index e12fc28..0000000 Binary files a/wave/dist/thumbnail_patterns/x-office-presentation-template and /dev/null differ http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/051db092/wave/dist/thumbnail_patterns/x-office-spreadsheet ---------------------------------------------------------------------- diff --git a/wave/dist/thumbnail_patterns/x-office-spreadsheet b/wave/dist/thumbnail_patterns/x-office-spreadsheet deleted file mode 100644 index f3aae1b..0000000 Binary files a/wave/dist/thumbnail_patterns/x-office-spreadsheet and /dev/null differ http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/051db092/wave/dist/thumbnail_patterns/x-office-spreadsheet-template ---------------------------------------------------------------------- diff --git a/wave/dist/thumbnail_patterns/x-office-spreadsheet-template b/wave/dist/thumbnail_patterns/x-office-spreadsheet-template deleted file mode 100644 index b09500e..0000000 Binary files a/wave/dist/thumbnail_patterns/x-office-spreadsheet-template and /dev/null differ http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/051db092/wave/dist/thumbnail_patterns/zip ---------------------------------------------------------------------- diff --git a/wave/dist/thumbnail_patterns/zip b/wave/dist/thumbnail_patterns/zip deleted file mode 100644 index 7df2419..0000000 Binary files a/wave/dist/thumbnail_patterns/zip and /dev/null differ http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/051db092/wave/doc/01-server-setting.jpg ---------------------------------------------------------------------- diff --git a/wave/doc/01-server-setting.jpg b/wave/doc/01-server-setting.jpg deleted file mode 100755 index 348fe41..0000000 Binary files a/wave/doc/01-server-setting.jpg and /dev/null differ http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/051db092/wave/doc/02-database-settings.jpg ---------------------------------------------------------------------- diff --git a/wave/doc/02-database-settings.jpg b/wave/doc/02-database-settings.jpg deleted file mode 100755 index 20591bd..0000000 Binary files a/wave/doc/02-database-settings.jpg and /dev/null differ http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/051db092/wave/doc/03-profile-settings.jpg ---------------------------------------------------------------------- diff --git a/wave/doc/03-profile-settings.jpg b/wave/doc/03-profile-settings.jpg deleted file mode 100755 index 119c6a4..0000000 Binary files a/wave/doc/03-profile-settings.jpg and /dev/null differ http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/051db092/wave/doc/04-administer-account.jpg ---------------------------------------------------------------------- diff --git a/wave/doc/04-administer-account.jpg b/wave/doc/04-administer-account.jpg deleted file mode 100755 index a152f65..0000000 Binary files a/wave/doc/04-administer-account.jpg and /dev/null differ http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/051db092/wave/doc/05-external-components-02.png ---------------------------------------------------------------------- diff --git a/wave/doc/05-external-components-02.png b/wave/doc/05-external-components-02.png deleted file mode 100755 index 7a04f7b..0000000 Binary files a/wave/doc/05-external-components-02.png and /dev/null differ http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/051db092/wave/doc/05-external-components.png ---------------------------------------------------------------------- diff --git a/wave/doc/05-external-components.png b/wave/doc/05-external-components.png deleted file mode 100755 index 9f39ada..0000000 Binary files a/wave/doc/05-external-components.png and /dev/null differ http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/051db092/wave/doc/06-security-settings-tls-custom.jpg ---------------------------------------------------------------------- diff --git a/wave/doc/06-security-settings-tls-custom.jpg b/wave/doc/06-security-settings-tls-custom.jpg deleted file mode 100755 index d03bbad..0000000 Binary files a/wave/doc/06-security-settings-tls-custom.jpg and /dev/null differ http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/051db092/wave/doc/06-security-settings-tls.jpg ---------------------------------------------------------------------- diff --git a/wave/doc/06-security-settings-tls.jpg b/wave/doc/06-security-settings-tls.jpg deleted file mode 100755 index 84e839b..0000000 Binary files a/wave/doc/06-security-settings-tls.jpg and /dev/null differ http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/051db092/wave/doc/07-lockdown-user-creation.jpg ---------------------------------------------------------------------- diff --git a/wave/doc/07-lockdown-user-creation.jpg b/wave/doc/07-lockdown-user-creation.jpg deleted file mode 100755 index f68a492..0000000 Binary files a/wave/doc/07-lockdown-user-creation.jpg and /dev/null differ http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/051db092/wave/doc/agent.png ---------------------------------------------------------------------- diff --git a/wave/doc/agent.png b/wave/doc/agent.png deleted file mode 100644 index 9b2cd2d..0000000 Binary files a/wave/doc/agent.png and /dev/null differ http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/051db092/wave/doc/client/01-blank.png ---------------------------------------------------------------------- diff --git a/wave/doc/client/01-blank.png b/wave/doc/client/01-blank.png deleted file mode 100644 index 2680d51..0000000 Binary files a/wave/doc/client/01-blank.png and /dev/null differ http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/051db092/wave/doc/client/02-first-waves.png ---------------------------------------------------------------------- diff --git a/wave/doc/client/02-first-waves.png b/wave/doc/client/02-first-waves.png deleted file mode 100644 index c637c75..0000000 Binary files a/wave/doc/client/02-first-waves.png and /dev/null differ http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/051db092/wave/doc/client/03-open-wave.png ---------------------------------------------------------------------- diff --git a/wave/doc/client/03-open-wave.png b/wave/doc/client/03-open-wave.png deleted file mode 100644 index 54b3492..0000000 Binary files a/wave/doc/client/03-open-wave.png and /dev/null differ http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/051db092/wave/doc/client/04-some-text.png ---------------------------------------------------------------------- diff --git a/wave/doc/client/04-some-text.png b/wave/doc/client/04-some-text.png deleted file mode 100644 index 1b6d0d1..0000000 Binary files a/wave/doc/client/04-some-text.png and /dev/null differ http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/051db092/wave/doc/client/05-with-bar1.png ---------------------------------------------------------------------- diff --git a/wave/doc/client/05-with-bar1.png b/wave/doc/client/05-with-bar1.png deleted file mode 100644 index ac4c2e9..0000000 Binary files a/wave/doc/client/05-with-bar1.png and /dev/null differ http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/051db092/wave/doc/client/05-with-bar2.png ---------------------------------------------------------------------- diff --git a/wave/doc/client/05-with-bar2.png b/wave/doc/client/05-with-bar2.png deleted file mode 100644 index 98b3764..0000000 Binary files a/wave/doc/client/05-with-bar2.png and /dev/null differ http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/051db092/wave/doc/client/06-without-foo1.png ---------------------------------------------------------------------- diff --git a/wave/doc/client/06-without-foo1.png b/wave/doc/client/06-without-foo1.png deleted file mode 100644 index 612c316..0000000 Binary files a/wave/doc/client/06-without-foo1.png and /dev/null differ http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/051db092/wave/doc/client/06-without-foo2.png ---------------------------------------------------------------------- diff --git a/wave/doc/client/06-without-foo2.png b/wave/doc/client/06-without-foo2.png deleted file mode 100644 index 94fa174..0000000 Binary files a/wave/doc/client/06-without-foo2.png and /dev/null differ http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/051db092/wave/doc/frontpage/FedOne.png ---------------------------------------------------------------------- diff --git a/wave/doc/frontpage/FedOne.png b/wave/doc/frontpage/FedOne.png deleted file mode 100644 index aff1045..0000000 Binary files a/wave/doc/frontpage/FedOne.png and /dev/null differ http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/051db092/wave/src/main/configs/wave.conf ---------------------------------------------------------------------- diff --git a/wave/src/main/configs/wave.conf b/wave/src/main/configs/wave.conf deleted file mode 100644 index 17e9861..0000000 --- a/wave/src/main/configs/wave.conf +++ /dev/null @@ -1,20 +0,0 @@ -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. - -# This config file contains variables used by the Apache Wave scripts. - -version=${version} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/051db092/wave/src/main/gxp/org/waveprotocol/box/server/gxp/AnalyticsFragment.gxp ---------------------------------------------------------------------- diff --git a/wave/src/main/gxp/org/waveprotocol/box/server/gxp/AnalyticsFragment.gxp b/wave/src/main/gxp/org/waveprotocol/box/server/gxp/AnalyticsFragment.gxp deleted file mode 100644 index 57c40a3..0000000 --- a/wave/src/main/gxp/org/waveprotocol/box/server/gxp/AnalyticsFragment.gxp +++ /dev/null @@ -1,51 +0,0 @@ -<?xml version="1.0" ?> -<!-- - Licensed to the Apache Software Foundation (ASF) under one - or more contributor license agreements. See the NOTICE file - distributed with this work for additional information - regarding copyright ownership. The ASF licenses this file - to you under the Apache License, Version 2.0 (the - "License"); you may not use this file except in compliance - with the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, - software distributed under the License is distributed on an - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - KIND, either express or implied. See the License for the - specific language governing permissions and limitations - under the License. - - Author: [email protected] (Christian Ohler) - - Analytics page view tracking code. Call in other pages immediately before </head>. ---> -<!DOCTYPE gxp:template SYSTEM - 'http://gxp.googlecode.com/svn/trunk/resources/xhtml.ent'> -<gxp:template name='org.waveprotocol.box.server.gxp.AnalyticsFragment' - xmlns='http://www.w3.org/1999/xhtml' - xmlns:expr='http://google.com/2001/gxp/expressions' - xmlns:call='http://google.com/2001/gxp/call' - xmlns:gxp='http://google.com/2001/gxp'> - - <gxp:param name='account' type='String'/> - <gxp:param name='error' type='String' default='null'/> - - <gxp:if cond='account != null && !account.isEmpty()'> - <script type="text/javascript"> - var _gaq = _gaq || []; - _gaq.push(['_setAccount', <gxp:eval expr='account'/>]); - <gxp:if cond='error != null && !error.isEmpty()'> - _gaq.push(['_setCustomVar', 1, 'error', <gxp:eval expr='error'/>, 3]); - </gxp:if> - _gaq.push(['_trackPageview']); - - (function() { - var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; - ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; - var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); - })(); - </script> - </gxp:if> -</gxp:template> http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/051db092/wave/src/main/gxp/org/waveprotocol/box/server/gxp/AuthenticationPage.gxp ---------------------------------------------------------------------- diff --git a/wave/src/main/gxp/org/waveprotocol/box/server/gxp/AuthenticationPage.gxp b/wave/src/main/gxp/org/waveprotocol/box/server/gxp/AuthenticationPage.gxp deleted file mode 100644 index d8791d4..0000000 --- a/wave/src/main/gxp/org/waveprotocol/box/server/gxp/AuthenticationPage.gxp +++ /dev/null @@ -1,246 +0,0 @@ -<!-- - Licensed to the Apache Software Foundation (ASF) under one - or more contributor license agreements. See the NOTICE file - distributed with this work for additional information - regarding copyright ownership. The ASF licenses this file - to you under the Apache License, Version 2.0 (the - "License"); you may not use this file except in compliance - with the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, - software distributed under the License is distributed on an - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - KIND, either express or implied. See the License for the - specific language governing permissions and limitations - under the License. - - GXP template for the user authentication (login) page. - Generate "ant gen_gxp". - Author: [email protected] (Joseph Gentle) ---> - -<gxp:template name='org.waveprotocol.box.server.gxp.AuthenticationPage' - xmlns='http://www.w3.org/1999/xhtml' - xmlns:expr='http://google.com/2001/gxp/expressions' - xmlns:call='http://google.com/2001/gxp/call' - xmlns:gxp='http://google.com/2001/gxp'> - - <gxp:param name='domain' type='String' /> - <gxp:param name='message' type='String' /> - <gxp:param name='responseType' type='String' /> - <gxp:param name='disableLoginPage' type='Boolean' /> - <gxp:param name='analyticsAccount' type='String'/> - - <html dir="ltr"> - <head> - <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> - <link type="text/css" rel="stylesheet" href="/static/auth.css" /> - <link rel="shortcut icon" href="/static/favicon.ico" /> - <title>Wave in a Box login</title> - <call:AnalyticsFragment expr:account='analyticsAccount'/> - </head> - <body onload="init()"> - <table width="100%" border="0" align="center" cellpadding="0" - cellspacing="0" style="margin-top: 15px"> - <tr> - <td valign="top" style="padding-left: 20px; padding-right: 10px"> - <img src="/static/logo.png" border="0" width="45px" height="30" - align="left" vspace="10" alt='Wave in a Box logo' /></td> - <td width="95%" bgcolor="#ffffff"> - <table width="100%" align="right" cellspacing="0" dir="ltr"> - <tr> - <td class="bubble" - style='font-family: arial; text-align: left; font-weight: bold; padding-right: 10px;' - dir="ltr"><b>Welcome to Wave in a Box </b> @<gxp:eval - expr='domain' /></td> - </tr> - </table> - </td> - </tr> - </table> - <table border="0" width="100%" cellpadding="1" cellspacing="1" - style="margin-top: 10px;"> - <tr> - <td valign="top"> - <table> - <td> - <div style="margin: 0 75px 0 25px;"> - <span style="font-weight: bold; font-size: larger"> - Apache Wave lets you communicate and collaborate in real time - </span> - <p> - <b>Wave is equal parts conversation and document.</b> - People can communicate and work together with richly formatted text, - gadgets, robots and more. - </p> - <p> - <b>Wave is shared.</b> Any participant can reply anywhere in the message, - edit the content and add participants at any point in the process. - </p> - <p> - <b>Wave is live.</b> - With live transmission as you type, participants on a wave can have faster - conversations, see edits and interact with extensions in real-time. - </p> - <div> - <br /> - <a href="/static/wiab_screenshot.jpg" target="_blank" title="Click to enlarge"> - <img src="/static/wiab_screenshot_small.jpg" - style="float: right; align: right; margin: 0 25px 0 35px;" alt="WIAB client."/> - </a> - <p style="width: 60%;"> - <ul> - <li> - Apache Wave is a rich, distributed, real-time collaboration platform, - which allows users to work together in new and exciting ways. - </li> - <li> - <a href="http://incubator.apache.org/wave/" target="_blank"> - "Wave in a Box" (WIAB) - </a> - project is a stand alone wave server and rich web client that can - serve as an Apache Wave reference implementation. - </li> - <li> - This project lets developers and - enterprise users run wave servers and host waves on their own hardware. - And then share those waves with other wave servers. - </li> - </ul> - </p> - </div> - </div> - </td> - </table> - </td> - <td valign="top" align="center" style="padding-right: 30px"> - <gxp:if cond='disableLoginPage == true'> - HTTP Authentication disabled by Administrator. Install and use your certificate instead. - </gxp:if> - <gxp:if cond='disableLoginPage == false'> - <form id="wiab_loginform" action="" method="post"> - <table class="form-noindent" style="padding: 1;" border="0" - align="right"> - <tr> - <td valign="top" style="text-align: center" class="loginBox" - width="260px"> - <table align="center" border="0" cellpadding="1" - cellspacing="0" style="margin: auto;"> - <tr> - <td class="smallfont" colspan="2" align="center">Sign - in - <h2>Wave in a Box</h2> - </td> - </tr> - <tr> - <td colspan="2" align="center"></td> - </tr> - <tr> - <td> - <div align="right"><span class="wiab le lbl"> - Username: </span></div> - </td> - <td><input type="text" name="address" id="address" - size="22" value="" class='wiab le val' /></td> - </tr> - <tr> - <td></td> - <td align="right" - style="color: #444444; font-size: 75%; overflow: hidden; padding-top: 0px" - dir="ltr">@<gxp:eval expr='domain' /></td> - </tr> - <tr> - <td></td> - <td align="right"></td> - </tr> - <tr class="enabled"> - <td align="right"><span class="wiab le lbl"> - Password: </span></td> - <td><input type="password" name="password" - id="password" size="22" class="wiab le val" /></td> - </tr> - <tr> - <td></td> - <td align="center" - style="font-size: 75%; overflow: hidden;" width="40px"><label - id="messageLbl" style="display: none;"></label></td> - </tr> - <tr> - <td></td> - <td align="left"><input type="submit" - class="wiab le button" name="signIn" id="signIn" - value="Sign in" /></td> - </tr> - </table> - <table align="center" border="0" cellpadding="0" - cellspacing="0"> - <tr> - <td colspan="2" height="20" align="center" valign="bottom"> - <div - style="font-size: 12px; margin-left: 15px; margin-top: 5px; background-color: d3d4d6; text-align: center;"> - Don't have a Wave in a Box @<gxp:eval expr='domain' /> - account?</div> - <div><span> <a - style="color: #0066cc; margin-left: 15px;" - href="/auth/register">Register a new account</a> </span></div> - </td> - </tr> - </table> - </td> - </tr> - </table> - </form> - </gxp:if> - </td> - </tr> - </table> - <table width="100%" border="0" align="center" cellpadding="0" - cellspacing="0" style="margin-top: 10px"> - <tr> - <td width="95%" bgcolor="#ffffff"> - <table width="100%" align="right" cellspacing="0" - bgcolor="#C3D9FF" dir="ltr"> - <tr> - <td class="bubble" - style='font-family: arial; text-align: left; font-weight: bold; padding-right: 10px;' - dir="ltr"></td> - </tr> - </table> - </td> - </tr> - </table> - <br /> - <br /> - <script type="text/javascript"> - var RESPONSE_STATUS_NONE = "NONE"; - var RESPONSE_STATUS_FAILED = "FAILED"; - var RESPONSE_STATUS_SUCCESS = "SUCCESS"; - - var message = <gxp:eval expr='message'/>; - var responseType = <gxp:eval expr='responseType'/>; - - function init() { - setFocus(); - handleResponse(responseType, message); - } - - function setFocus() { - document.getElementById("address").focus(); - } - - function handleResponse(responseType, message) { - var messageLbl = document.getElementById("messageLbl"); - if (responseType == RESPONSE_STATUS_NONE) { - messageLbl.style.display = "none"; - } else if (responseType == RESPONSE_STATUS_FAILED) { - messageLbl.style.display = "inline"; - messageLbl.style.color = "red"; - messageLbl.innerHTML = message; - } - } - </script> - </body> - </html> -</gxp:template> http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/051db092/wave/src/main/gxp/org/waveprotocol/box/server/gxp/OAuthAuthorizationCodePage.gxp ---------------------------------------------------------------------- diff --git a/wave/src/main/gxp/org/waveprotocol/box/server/gxp/OAuthAuthorizationCodePage.gxp b/wave/src/main/gxp/org/waveprotocol/box/server/gxp/OAuthAuthorizationCodePage.gxp deleted file mode 100644 index 823db91..0000000 --- a/wave/src/main/gxp/org/waveprotocol/box/server/gxp/OAuthAuthorizationCodePage.gxp +++ /dev/null @@ -1,49 +0,0 @@ -<!-- - Licensed to the Apache Software Foundation (ASF) under one - or more contributor license agreements. See the NOTICE file - distributed with this work for additional information - regarding copyright ownership. The ASF licenses this file - to you under the Apache License, Version 2.0 (the - "License"); you may not use this file except in compliance - with the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, - software distributed under the License is distributed on an - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - KIND, either express or implied. See the License for the - specific language governing permissions and limitations - under the License. - - GXP template for the OAuth authorization page. - Generate "ant gen_gxp". - Author: [email protected] (A. Kaplanov) ---> - -<gxp:template - name='org.waveprotocol.box.server.gxp.OAuthAuthorizationCodePage' - xmlns='http://www.w3.org/1999/xhtml' xmlns:gxp='http://google.com/2001/gxp'> - - <gxp:param name='code' type='String' /> - - <html> - - <head> - <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> - <title>Authorization code</title> - <link rel="shortcut icon" href="/static/favicon.ico" /> - </head> - - <body> - <div> - <div>Please copy this code, switch to your application and paste it there:</div> - <input id="code" type="text" readonly="readonly" style="width:500px" onclick="this.focus();this.select();"> - <gxp:attr name='value'> - <gxp:eval expr='code'/> - </gxp:attr> - </input> - </div> - </body> - </html> -</gxp:template> http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/051db092/wave/src/main/gxp/org/waveprotocol/box/server/gxp/OAuthAuthorizeTokenPage.gxp ---------------------------------------------------------------------- diff --git a/wave/src/main/gxp/org/waveprotocol/box/server/gxp/OAuthAuthorizeTokenPage.gxp b/wave/src/main/gxp/org/waveprotocol/box/server/gxp/OAuthAuthorizeTokenPage.gxp deleted file mode 100644 index 0dc0950..0000000 --- a/wave/src/main/gxp/org/waveprotocol/box/server/gxp/OAuthAuthorizeTokenPage.gxp +++ /dev/null @@ -1,58 +0,0 @@ -<!-- - Licensed to the Apache Software Foundation (ASF) under one - or more contributor license agreements. See the NOTICE file - distributed with this work for additional information - regarding copyright ownership. The ASF licenses this file - to you under the Apache License, Version 2.0 (the - "License"); you may not use this file except in compliance - with the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, - software distributed under the License is distributed on an - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - KIND, either express or implied. See the License for the - specific language governing permissions and limitations - under the License. - - GXP template for the OAuth authorization page. - Generate "ant gen_gxp". - Author: [email protected] (Lennard de Rijk) ---> - -<gxp:template - name='org.waveprotocol.box.server.gxp.OAuthAuthorizeTokenPage' - xmlns='http://www.w3.org/1999/xhtml' xmlns:gxp='http://google.com/2001/gxp'> - - <gxp:param name='user' type='String' /> - <gxp:param name='xsrfToken' type='String' /> - - <html> - - <head> - <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> - <title>Authorization Required</title> - <link rel="shortcut icon" href="/static/favicon.ico" /> - </head> - - <body> - <div>You logged as <gxp:eval expr='user' />.</div> - A program would like to access your waves and perform operations on your - behalf. - - <form method="post" action=""><input type="hidden" name="token"> - <gxp:attr name='value'> - <gxp:eval expr='xsrfToken' /> - </gxp:attr></input> - <table> - <tr> - <input type="submit" value="Agree" name="agree" /> - <input type="submit" value="Cancel" name="cancel" /> - </tr> - </table> - - </form> - </body> - </html> -</gxp:template> http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/051db092/wave/src/main/gxp/org/waveprotocol/box/server/gxp/RobotRegistrationPage.gxp ---------------------------------------------------------------------- diff --git a/wave/src/main/gxp/org/waveprotocol/box/server/gxp/RobotRegistrationPage.gxp b/wave/src/main/gxp/org/waveprotocol/box/server/gxp/RobotRegistrationPage.gxp deleted file mode 100644 index 55dc707..0000000 --- a/wave/src/main/gxp/org/waveprotocol/box/server/gxp/RobotRegistrationPage.gxp +++ /dev/null @@ -1,57 +0,0 @@ -<!-- - Licensed to the Apache Software Foundation (ASF) under one - or more contributor license agreements. See the NOTICE file - distributed with this work for additional information - regarding copyright ownership. The ASF licenses this file - to you under the Apache License, Version 2.0 (the - "License"); you may not use this file except in compliance - with the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, - software distributed under the License is distributed on an - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - KIND, either express or implied. See the License for the - specific language governing permissions and limitations - under the License. - - GXP template for the Robot registration page. - Generate with "ant gen_gxp". - Author: [email protected] (Lennard de Rijk) ---> - -<gxp:template - name='org.waveprotocol.box.server.gxp.RobotRegistrationPage' - xmlns='http://www.w3.org/1999/xhtml' - xmlns:expr='http://google.com/2001/gxp/expressions' - xmlns:call='http://google.com/2001/gxp/call' - xmlns:gxp='http://google.com/2001/gxp'> - - <gxp:param name='domain' type='String' /> - <gxp:param name='message' type='String' /> - <gxp:param name='analyticsAccount' type='String'/> - - <html> - <head> - <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> - <title>Robot Registration</title> - <link rel="shortcut icon" href="/static/favicon.ico" /> - <call:AnalyticsFragment expr:account='analyticsAccount'/> - </head> - - <body> - - <gxp:if cond='!message.isEmpty()'> - <b><gxp:eval expr='message'/></b> - </gxp:if> - - <form method="post" action=""> - Robot Username: <input name="username" type="text"/>@<gxp:eval expr='domain'/><br/> - Robot URL: <input name="location" type="text"/><br/> - <input type="submit"/> - </form> - - </body> - </html> -</gxp:template> http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/051db092/wave/src/main/gxp/org/waveprotocol/box/server/gxp/RobotRegistrationSuccessPage.gxp ---------------------------------------------------------------------- diff --git a/wave/src/main/gxp/org/waveprotocol/box/server/gxp/RobotRegistrationSuccessPage.gxp b/wave/src/main/gxp/org/waveprotocol/box/server/gxp/RobotRegistrationSuccessPage.gxp deleted file mode 100644 index 295b14f..0000000 --- a/wave/src/main/gxp/org/waveprotocol/box/server/gxp/RobotRegistrationSuccessPage.gxp +++ /dev/null @@ -1,60 +0,0 @@ -<!-- - Licensed to the Apache Software Foundation (ASF) under one - or more contributor license agreements. See the NOTICE file - distributed with this work for additional information - regarding copyright ownership. The ASF licenses this file - to you under the Apache License, Version 2.0 (the - "License"); you may not use this file except in compliance - with the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, - software distributed under the License is distributed on an - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - KIND, either express or implied. See the License for the - specific language governing permissions and limitations - under the License. - - GXP template after registration of a robot to show the user the token and token secret to use. - Generate with "ant gen_gxp". - Author: [email protected] (Lennard de Rijk) ---> - -<gxp:template - name='org.waveprotocol.box.server.gxp.RobotRegistrationSuccessPage' - xmlns='http://www.w3.org/1999/xhtml' - xmlns:expr='http://google.com/2001/gxp/expressions' - xmlns:call='http://google.com/2001/gxp/call' - xmlns:gxp='http://google.com/2001/gxp'> - - <gxp:param name='token' type='String' /> - <gxp:param name='tokenSecret' type='String' /> - <gxp:param name='analyticsAccount' type='String'/> - - <html> - <head> - <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> - <title>Robot Successfully Registered</title> - <link rel="shortcut icon" href="/static/favicon.ico" /> - <call:AnalyticsFragment expr:account='analyticsAccount'/> - </head> - - <body> - Your Robot has been successfully registered. Please take note of the consumer - token and token secret to use for the Active API. - - <table> - <tr> - <td><b>Consumer Token</b></td> - <td><gxp:eval expr='token' /></td> - </tr> - <tr> - <td><b>Consumer Token Secret</b></td> - <td><gxp:eval expr='tokenSecret' /></td> - </tr> - </table> - - </body> - </html> -</gxp:template> http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/051db092/wave/src/main/gxp/org/waveprotocol/box/server/gxp/TopBar.gxp ---------------------------------------------------------------------- diff --git a/wave/src/main/gxp/org/waveprotocol/box/server/gxp/TopBar.gxp b/wave/src/main/gxp/org/waveprotocol/box/server/gxp/TopBar.gxp deleted file mode 100644 index 0135709..0000000 --- a/wave/src/main/gxp/org/waveprotocol/box/server/gxp/TopBar.gxp +++ /dev/null @@ -1,50 +0,0 @@ -<!-- - Licensed to the Apache Software Foundation (ASF) under one - or more contributor license agreements. See the NOTICE file - distributed with this work for additional information - regarding copyright ownership. The ASF licenses this file - to you under the Apache License, Version 2.0 (the - "License"); you may not use this file except in compliance - with the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, - software distributed under the License is distributed on an - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - KIND, either express or implied. See the License for the - specific language governing permissions and limitations - under the License. - - GXP template for the bar up the top of the page showing who you're logged in as. - Author: [email protected] (Joseph Gentle) ---> - -<gxp:template - name='org.waveprotocol.box.server.gxp.TopBar' - xmlns='http://www.w3.org/1999/xhtml' - xmlns:gxp='http://google.com/2001/gxp'> - - <gxp:param name='username' type='String' /> - <gxp:param name='domain' type='String' /> - - <div class="topbar"> - <a href="/"><img src="/static/logo.png" alt="logo" class="logo" /></a> - <div class="title">Wave in a box</div> - <div class="banner" id="banner"></div> - <div class="info"> - <gxp:if cond='username == null'> - Not logged in | - <a href="/auth/register">Register</a> | - <a href="/auth/signin?r=/">Sign In</a> - </gxp:if> - <gxp:if cond='username != null'> - <select id="lang" class="lang" size="1"/> | - <gxp:eval expr='username' /><span class="domain">@<gxp:eval expr='domain' /></span> | - <span id='unsavedStateContainer' style="width: 60px">Saved</span> | - <span id="netstatus" class="offline">Offline</span> | - <a id="signout" href="/auth/signout?r=/">Sign out</a> - </gxp:if> - </div> - </div> -</gxp:template> http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/051db092/wave/src/main/gxp/org/waveprotocol/box/server/gxp/UserRegistrationPage.gxp ---------------------------------------------------------------------- diff --git a/wave/src/main/gxp/org/waveprotocol/box/server/gxp/UserRegistrationPage.gxp b/wave/src/main/gxp/org/waveprotocol/box/server/gxp/UserRegistrationPage.gxp deleted file mode 100644 index 90914c7..0000000 --- a/wave/src/main/gxp/org/waveprotocol/box/server/gxp/UserRegistrationPage.gxp +++ /dev/null @@ -1,217 +0,0 @@ -<!-- - Licensed to the Apache Software Foundation (ASF) under one - or more contributor license agreements. See the NOTICE file - distributed with this work for additional information - regarding copyright ownership. The ASF licenses this file - to you under the Apache License, Version 2.0 (the - "License"); you may not use this file except in compliance - with the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, - software distributed under the License is distributed on an - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - KIND, either express or implied. See the License for the - specific language governing permissions and limitations - under the License. - - GXP template for the user registration page. - Generate "ant gen_gxp". - Author: [email protected] (Joseph Gentle) ---> - -<gxp:template - name='org.waveprotocol.box.server.gxp.UserRegistrationPage' - xmlns='http://www.w3.org/1999/xhtml' - xmlns:expr='http://google.com/2001/gxp/expressions' - xmlns:call='http://google.com/2001/gxp/call' - xmlns:gxp='http://google.com/2001/gxp'> - - <gxp:param name='domain' type='String' /> - <gxp:param name='message' type='String' /> - <gxp:param name='responseType' type='String' /> - <gxp:param name='disableRegistration' type='Boolean' /> - <gxp:param name='analyticsAccount' type='String'/> - - <html dir="ltr"> - <head> - <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> - <link type="text/css" rel="stylesheet" href="/static/auth.css" /> - <title>Register a New Account - Wave in a Box</title> - <link rel="shortcut icon" href="/static/favicon.ico" /> - <call:AnalyticsFragment expr:account='analyticsAccount'/> - </head> - <body onload="init()"> - <table width="100%" border="0" align="center" cellpadding="0" - cellspacing="0" style="margin-top: 15px"> - <tr> - <td valign="top" style="padding-left: 20px; padding-right: 10px"><img - src="/static/logo.png" border="0" width="45px" height="30" - align="left" vspace="10" alt='Wave in a Box logo' /></td> - <td width="95%"> - <table width="100%" align="right" cellspacing="0" - bgcolor="#C3D9FF" dir="ltr"> - <tr> - <td class="bubble" - style='font-family: arial; text-align: left; font-weight: bold; padding-right: 10px;' - dir="ltr"><span><b>Wave in a Box - Register a New Account - </b> @<gxp:eval expr='domain' /></span></td> - </tr> - </table> - </td> - </tr> - </table> - <table border="0" width="100%" cellpadding="1" cellspacing="1" - style="margin-top: 10px; padding-left: 20px;"> - <tr> - <td align="left" style="height: 20px; padding-right: 10;"><label - id="messageLbl" style="display: none;"></label><span - id="loginLink" style="display: none;"> Please <a - href="/auth/signin">sign in</a>.</span></td> - </tr> - <tr> - <td id="wiab_loginbox_td" valign="top" align="center"> - <gxp:if cond='disableRegistration == true'> - Registration disabled by administrator. - </gxp:if> - <gxp:if cond='disableRegistration == false'> - <form id="regForm" name="regForm" method="post" action=""> - <table align="left"> - <tr> - <td> - <table class="form-noindent" align="center" cellspacing="5" - cellpadding="5" width="100%" border="0"> - <tbody> - <tr> - <td>Username:</td> - <td><input id="address" name="address" - class='wiab le val' tabindex="1" value="" type="text" - style="padding-bottom: 0px;" /></td> - </tr> - <tr> - <td style="padding: 0px; margin: 0px"></td> - <td align="right" - style="color: #444444; font-size: 75%; overflow: hidden; padding-top: 0px; margin-top: 0px; vertical-align: top;" - dir="ltr">@<gxp:eval expr='domain' /></td> - </tr> - <tr> - <td><label for="password">Password:</label></td> - <td><input id="password" name="password" - tabindex="2" autocomplete="OFF" type="password" - class='wiab le val' /></td> - </tr> - <tr> - <td><label for="verifypass">Re-enter - Password: </label></td> - <td><input id="verifypass" name="verifypass" - tabindex="3" autocomplete="OFF" type="password" - class='wiab le val' /></td> - </tr> - </tbody> - </table> - <table> - <tbody> - <tr> - <td align="center"><input class="wiab le button" - value="Cancel" id="buttonStyle" - onclick="history.go(-1)" tabindex="4" type="button" /></td> - <td align="center"><input class="wiab le button" - value="Register" id="buttonStyle" tabindex="5" - type="button" onclick="validate()" /></td> - </tr> - </tbody> - </table> - </td> - </tr> - </table> - </form> - </gxp:if> - </td> - </tr> - </table> - <table width="100%" border="0" align="center" cellpadding="0" - cellspacing="0" style="margin-top: 10px"> - <tr> - <td width="95%"> - <table width="100%" align="right" cellspacing="0" dir="ltr"> - <tr> - <td class="bubble" - style='font-family: arial; text-align: left; font-weight: bold; padding-right: 10px;' - dir="ltr"></td> - </tr> - </table> - </td> - </tr> - </table> - <script type="text/javascript"> - var RESPONSE_STATUS_NONE = "NONE"; - var RESPONSE_STATUS_FAILED = "FAILED"; - var RESPONSE_STATUS_SUCCESS = "SUCCESS"; - - var message = <gxp:eval expr='message'/>; - var responseType = <gxp:eval expr='responseType'/>; - var domain = <gxp:eval expr='domain'/>; - - function init() { - setFocus(); - handleResponse(responseType, message); - } - - function setFocus() { - document.getElementById("address").focus(); - } - - function handleResponse(responseType,message) { - var messageLbl = document.getElementById("messageLbl"); - if(responseType == RESPONSE_STATUS_SUCCESS) { - messageLbl.style.display = "inline"; - messageLbl.style.color = "green"; - messageLbl.innerHTML = message; - document.getElementById("loginLink").style.display = "inline"; - } else if(responseType == RESPONSE_STATUS_FAILED) { - messageLbl.style.display = "inline"; - messageLbl.style.color = "red"; - messageLbl.innerHTML = message; - } - } - - function validate() { - var address = document.getElementById("address").value; - if (address.length < 1) { - message = "Username portion of address cannot be empty"; - responseType = RESPONSE_STATUS_FAILED; - handleResponse(responseType,message); - return; - } - if (!isAlphaNumeric(address)) { - message = "Only letters (a-z), numbers (0-9), and periods (.) are allowed in Username"; - responseType = RESPONSE_STATUS_FAILED; - handleResponse(responseType,message); - return; - } - var password = document.getElementById("password").value; - var verifypass = document.getElementById("verifypass").value; - if((password != null && verifypass != null) && (password != verifypass)) { - message = "Password and password verification do not match!"; - responseType = RESPONSE_STATUS_FAILED; - handleResponse(responseType,message); - return; - } - document.getElementById("address").value = address + "@" + domain; - document.getElementById("regForm").submit(); - } - - function isAlphaNumeric(alphanumericChar) { - if(alphanumericChar.length == 0 || alphanumericChar.search(/[^a-zA-Z0-9\.]/g) != -1 ) - { - return false; - } - else - return true; - } - </script> - </body> - </html> - -</gxp:template> http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/051db092/wave/src/main/gxp/org/waveprotocol/box/server/gxp/WaveClientPage.gxp ---------------------------------------------------------------------- diff --git a/wave/src/main/gxp/org/waveprotocol/box/server/gxp/WaveClientPage.gxp b/wave/src/main/gxp/org/waveprotocol/box/server/gxp/WaveClientPage.gxp deleted file mode 100644 index 1ac118c..0000000 --- a/wave/src/main/gxp/org/waveprotocol/box/server/gxp/WaveClientPage.gxp +++ /dev/null @@ -1,153 +0,0 @@ -<!-- - Licensed to the Apache Software Foundation (ASF) under one - or more contributor license agreements. See the NOTICE file - distributed with this work for additional information - regarding copyright ownership. The ASF licenses this file - to you under the Apache License, Version 2.0 (the - "License"); you may not use this file except in compliance - with the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, - software distributed under the License is distributed on an - "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - KIND, either express or implied. See the License for the - specific language governing permissions and limitations - under the License. - - GXP template for the wave client's landing page. - Generate WaveClientPage.java file in gen/org/... with "ant gen_gxp". - Author: [email protected] (Benjamin Kalman) ---> - -<gxp:template - name='org.waveprotocol.box.server.gxp.WaveClientPage' - xmlns='http://www.w3.org/1999/xhtml' - xmlns:expr='http://google.com/2001/gxp/expressions' - xmlns:call='http://google.com/2001/gxp/call' - xmlns:gxp='http://google.com/2001/gxp'> - - <gxp:import class="org.json.JSONObject" /> - <gxp:import class="org.waveprotocol.box.server.gxp.TopBar" /> - <gxp:param name='sessionJson' type='JSONObject' /> - <gxp:param name='clientFlags' type='JSONObject' /> - <gxp:param name='websocketAddress' type='String' /> - <gxp:param name='topBar' type='HtmlClosure' /> - <gxp:param name='analyticsAccount' type='String'/> - - <!-- Generate doctype to trigger standards mode --> - <html gxp:doctype='transitional'> - <head> - <meta http-equiv="content-type" content="text/html; charset=UTF-8" /> - <title>Wave in a Box</title> - <link rel="shortcut icon" href="/static/favicon.ico" /> - - <!-- Session variables. --> - <script type="text/javascript" language="javascript"> - var __session = <gxp:eval expr='sessionJson' />; - var __websocket_address = <gxp:eval expr='websocketAddress' />; - var __client_flags = <gxp:eval expr='clientFlags' />; - </script> - <style type="text/css"> - /* TODO: Minimize this. */ - body { - /* Override UA defaults. */ - margin: 0; - } - - .topbar { - height: 32px; - /* Line-height set to full height, in order to get vertical text alignment. */ - line-height: 32px; - border-bottom: solid 1px black; - overflow: visible; /* Let banner detail flow over. */ - font-family: "Gill Sans", "Lucida Grande", Verdana, Arial, sans-serif; - font-size: 16px; - - /* Left/right padding to keep content off the screen edges. */ - padding: 0 0.5em; - - /* Z-index to ensure topbar sits on top of the app body. */ - position: relative; - z-index: 1; - } - - .logo { - /* Logo image is 30px high. 1px padding brings it to 32px, which is the topbar height. */ - padding: 1px; - float: left; - } - - .title { - float: left; - margin-left: 0.5em; - } - - .banner { - float: left; - margin-left: 0.5em; - } - - .earth { - /* Earth image is 24px high. 4px padding brings it to 32px, which is the topbar height. */ - padding: 4px; - float: left; - } - - .lang { - height: 19px; - } - - .domain { - color: #606060; - } - - .info { - float: right; - } - - .online { - color: green; - } - - .connecting { - color: #ff7f00; - font-weight: bold; - } - - .offline { - color: red; - font-weight: bold; - } - - </style> - <!-- GWT-compiled JS. --> - <script type="text/javascript" language="javascript"> - var stats = window.__stats = []; - window.__gwtStatsEvent = function(evt) { - stats[stats.length] = evt; - var listener = window.__stats_listener; - listener && listener(evt); - return true; - } - </script> - <script type="text/javascript" language="javascript" src="webclient/webclient.nocache.js" /> - <call:AnalyticsFragment expr:account='analyticsAccount'/> - </head> - - <body> - <!-- GWT history support. --> - <iframe src="javascript:''" id="__gwt_historyFrame" style="position:absolute;width:0;height:0;border:0" /> - <gxp:eval expr='topBar'/> - <div id="app" style="position:absolute; top:33px; right:0px; bottom:0px; left:0px;" /> - <noscript> - <div style="width: 22em; position: absolute; left: 50%; margin-left: -11em; color: red; background-color: white; border: 1px solid red; padding: 4px; font-family: sans-serif"> - Your web browser must have JavaScript enabled - in order for this application to display correctly. - </div> - </noscript> - </body> - </html> - -</gxp:template> http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/051db092/wave/src/main/java/com/google/gwt/websockets/client/WebSocket.java ---------------------------------------------------------------------- diff --git a/wave/src/main/java/com/google/gwt/websockets/client/WebSocket.java b/wave/src/main/java/com/google/gwt/websockets/client/WebSocket.java deleted file mode 100644 index e326998..0000000 --- a/wave/src/main/java/com/google/gwt/websockets/client/WebSocket.java +++ /dev/null @@ -1,93 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.google.gwt.websockets.client; - -import com.google.gwt.core.client.JavaScriptObject; - -public class WebSocket { - private final static class WebSocketImpl extends JavaScriptObject { - public static native WebSocketImpl create(WebSocket client, String server) - /*-{ - var ws = new WebSocket(server); - ws.onopen = $entry(function() { - [email protected]::onOpen()(); - }); - ws.onmessage = $entry(function(response) { - [email protected]::onMessage(Ljava/lang/String;)(response.data); - }); - ws.onclose = $entry(function() { - [email protected]::onClose()(); - }); - return ws; - }-*/; - - public static native boolean isSupported() /*-{return !!window.WebSocket;}-*/; - - protected WebSocketImpl() { - } - - public native void close() /*-{this.close();}-*/; - - public native void send(String data) /*-{this.send(data);}-*/; - } - - private final WebSocketCallback callback; - private WebSocketImpl webSocket; - - public WebSocket(WebSocketCallback callback) { - this.callback = callback; - } - - public void close() { - if (webSocket == null) { - throw new IllegalStateException("Not connected"); - } - webSocket.close(); - webSocket = null; - } - - public void connect(String server) { - if (!WebSocketImpl.isSupported()) { - throw new RuntimeException("No WebSocket support"); - } - webSocket = WebSocketImpl.create(this, server); - } - - public void send(String data) { - if (webSocket == null) { - throw new IllegalStateException("Not connected"); - } - webSocket.send(data); - } - - @SuppressWarnings("unused") - private void onClose() { - callback.onDisconnect(); - } - - @SuppressWarnings("unused") - private void onMessage(String message) { - callback.onMessage(message); - } - - @SuppressWarnings("unused") - private void onOpen() { - callback.onConnect(); - } -} http://git-wip-us.apache.org/repos/asf/incubator-wave/blob/051db092/wave/src/main/java/com/google/gwt/websockets/client/WebSocketCallback.java ---------------------------------------------------------------------- diff --git a/wave/src/main/java/com/google/gwt/websockets/client/WebSocketCallback.java b/wave/src/main/java/com/google/gwt/websockets/client/WebSocketCallback.java deleted file mode 100644 index 595639f..0000000 --- a/wave/src/main/java/com/google/gwt/websockets/client/WebSocketCallback.java +++ /dev/null @@ -1,25 +0,0 @@ -/** - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - */ -package com.google.gwt.websockets.client; - -public interface WebSocketCallback { - void onConnect(); - void onDisconnect(); - void onMessage(String message); -}
