Skip to content

Commit

Permalink
Ported multi upload code to v1.6 (from qtest branch) and added Terase…
Browse files Browse the repository at this point in the history
…nder support on multifile uploads. Apologies for the massive changeset.

git-svn-id: https://subversion.assembla.com/svn/file_sender/filesender/playground/filesender-1.5-multiupload-3@2271 8555b757-d854-4b86-925a-82fd84c90ff4
  • Loading branch information
vpolden committed Jun 18, 2013
1 parent 6dfd1a9 commit 6be9cfc
Show file tree
Hide file tree
Showing 75 changed files with 3,877 additions and 906 deletions.
115 changes: 111 additions & 4 deletions CHANGELOG.txt
Original file line number Diff line number Diff line change
@@ -1,14 +1,121 @@
Last update: 1 April 2012

Version 1.5-beta2 <?? April 2012>
Last update: 14 April 2013

Version 1.6-development <???>

- #885 Add TeraSender code
- Upgrade note: new configuration options
- #888 Add sqlite init-script and 'how to'
Patch contributed by Dick Visser
- #888 PDO rowCount fixes/cleanup
Optimise PDO Query row count statements
- more efficient
- can also be used with sqlite
Patch from Dick Visser
Remove validVoucher() function
- not used anywhere
- functionality in aVoucher()
Patch from Thijs Kinkhorst
- #858 New download.php
- added partial download (HTTP range) functionality
- redo logic for mail sending and logging
- some cleanup
- #871 Add _SITE_FOOTER for a customisable footer through the language definitions
Modified patch from Jean-Philippe Evrard, BELNET
- #184 Add selector when multiple mail adresses are available

Version 1.5 <3 March 2013>

* Release 1.5

* Major changes since 1.1.1
- User interface is now HTML based, no Flash required except when
uploading files with a non-HTML5-capable browser
- Multilanguage support in web interface
- Support for multiple database backends (PDO)
- Changes in configuration (see Upgrade Notes)

* Changes since 1.5-rc1
- Added Serbian language file (#865)
- Updated language definitions (#666, #706, #720, #880)
- Consolidated filename validation (#863)
- Don't insert guest voucher(s) in case of validation errors (#862)
- Allow spaces in configurable setting for admin users (#869)
- Restrict access to admin page skeleton (#881)
- Include version in call to default.css to prevent upgrade issues (#834)
- Add color style for links in default.css (#837)
- Debian packaging: 'default-mta' added to dependencies (#710)
- Documentation updated

Version 1.5-rc1 <22 October 2012>

* Release 1.5-rc1

* Changes since 1.5-beta4
- Update of default Help text (English, Dutch, Norwegian) (#650, #651)
- Updated language definitions
- Fixed links to caniuse.com (all languages)
- Disable Send button after first press (#805, #811, #812)
- Do not mark Guest Voucher as used when upload fails (#807)
- Prevent erroneous showing of DatePicker in recent Chrome versions (#823)
- Debug setting set to false in config-dist.php (#804)
- Only log user information when debug is true (#808)
- Fixes in error logging (#806)
- Remove dependency on php-gmp (#813)
- Fixed include files in emailbouncehandler.php
- Various small changes and bug fixes (#709, #794, #809, #810, #828)

Version 1.5-beta4 <25 July 2012>

* Release 1.5-beta4

* Changes since 1.5-beta3
- Security: make admin check more strict (#751)
- Security: Fixed reset of session cookie when switching to HTTPS (#757)
- Security: Fixed 2 potential XSS vulnerabilities (#754)
- Security: always prevent caching of sensitive pages (#762)
- Security: add XSRF checks for POSTs and additional auth-checks for GETs (#753)
- Security: add additional recommended PHP settings (#758)
- Fixes and improvements in language selection (#662, #745)
- Updated language definitions
- Disabled HTML5 capability for Opera (#527)
- Improvements on handling and reporting of missing required SAML attributes (#628)
- Bugfixes in mail error-handling (#713)
- Improved Help text (en_AU only) (#650, #651)
- Removed HTML5URL configuration setting (merged into Help text) (#744)
- Various small bug fixes (#691, #731, #742, #794)

Version 1.5-beta3 <15 May 2012>

Changes since 1.5-beta2
-HTML5 upload support for the upcoming FireFox 13.
-Improvements in the User Interface.
-Improved user feedback and error reporting
-Improved server side logging.
-Various small bug fixes and enhancements.

Changed features:
-Option to securely wipe (shred) expired files in the daily cron job.
-Separate text definitions for 'logon' button and title of the landing page.
-The configured 'Site Name' is now used on the landing page.

Version 1.5-beta2 <25 April 2012>

Major changes since 1.5-beta1
[ see http://www.assembla.com/spaces/file_sender/wiki/Installation_notes_for_1-5_development_code
for important Upgrade notes ]
- The ./config directory as distributed now only contains a sample
config-dist.php file. All other templates/sample files have been
moved to ./config-templates or their contents have been merged
into the ./language/* files.
- The supplied config-dist.php has been cleaned up and contains some
important changes. It is recommended to create an fresh config.php
from the supplied config-dist.php file and adapt that one with your
local settings.
- Two database column type changes (needs manual adjustment when
upgrading).
- Changed and consolidated language file naming scheme.
- Added Czech and Slovenian language files.
- Added Czech, Slovenian, Italian, Spanish, Croatian and Hungarian
language files.
- Updated Dutch and Norwegian language files.

Major (less visible) changes since 1.5-beta1
Expand Down
137 changes: 66 additions & 71 deletions INSTALL.txt
Original file line number Diff line number Diff line change
@@ -1,109 +1,104 @@
Updated: 26 Jan 2012

*********************
This is the beta/development branch of FileSender 1.5 which is still being worked
on and should not be used for production services. This file will be updated
as soon as 1.5 will be release-ready. In the meantime have a look at

http://www.assembla.com/spaces/file_sender/wiki/Installation_notes_for_1-5_development_code

for more information.
*********************
Updated: 21 Feb 2013

Installation instructions
=========================

FileSender installation instructions are available at:
https://www.assembla.com/wiki/show/file_sender/Documentation_for_v1-0
FileSender installation instructions for version 1.5 are available at:
https://www.assembla.com/spaces/file_sender/wiki/Installation_-_Linux_Source

Be sure to read the parts about configuring PostgreSQL, PHP, Apache,
FileSender depends on a number of common software packages. Be sure to read
the installation guide sections regarding configuring PostgreSQL, PHP, Apache,
SimpleSAMLphp and cron to get up and running.

Upgrading to 1.0.1 RELEASE
==========================

Version 1.0.1 is mainly a bugfix release (see CHANGELOG.txt for
details about the fixes). When using IPv6 it is recommended to
adjust the 'files' database table:
Upgrading from version 1.0.1, 1.1 or 1.1.1
==========================================

When upgrading from previous production releases to version 1.5 there are a
number of important issues to pay attention to:

- You MUST update your database schema.

- You are encouraged to start with a fresh configuration file. Use the
config-dist.php as a template. Many configuration directives have been
added, removed and changed. Remember to make a copy of your current
config.php!

#sudo -u postgres psql filesender
ALTER TABLE files ALTER fileip6address TYPE character varying(45);
\q
- Version 1.5 supports multiple languages and most text customisations of
the web UI have been moved to language files. Email templates are still
found in config.php and are offered only in English.

As usual it is recommended to make a backup of your current installation
before upgrading, especially if you have made local modifications to the
installed version.
- The date format is configured in 3 places, 1 directive in the config.php
and 2 in the language file(s) in use on your site.

Upgrading from previous (beta) versions
=======================================
- The semantics for the "help" and "about" directives in config.php have
changed, and the actual texts are now in the language files. Check the
online upgrade notes for details.

Please read the following notes before upgrading from a previous beta
version to 1.0.x.
It is recommended to make a backup of your current database, config.php and
filesender installation before upgrading, especially if you have made local
modifications to the installed version.

IMPORTANT: Upgrading from versions older then Beta-0.1.17
=========================================================
Details about upgrade considerations are available at:
https://www.assembla.com/spaces/file_sender/wiki/Upgrade_notes/

As of version 1.5 this is not supported anymore. If you need
this please first upgrade to 1.1 and then to 1.5.

IMPORTANT: Upgrading from previous betas in general
===================================================
Upgrading from 1.5-beta versions
================================

It is strongly recommended that you do a fresh install after making a
backup copy of your previous install and carefully re-apply any local
changes you have made in previous versions.
Consult the detailed development notes if you're upgrading to 1.5-release from
one of the 1.5 betas:

https://www.assembla.com/spaces/file_sender/wiki/Installation_notes_for_1-5_development_code

The following notes describe the files most likely to contain local changes:

Configuration
=============

The main configuration of FileSender is done in:
- config/config.php

In the various beta cycles several new and required settings have
been added to the config.php that might not be present in your current
configuration.
The .tar/.zip distribution file contains a fresh configuration file template
with all configurable parameters with sane defaults in:
- config/config-dist.php

IMPORTANT: When upgrading from a pre-1.0 version please start with a fresh
configuration file and take the time to go through all configuration
directives to make sure all is as it should be. Merging new entries into
your old config.php is discouraged.
You'll have to create a working config/config.php from this template.

Customisation
=============
In the various beta cycles several new and required settings have been added to
the config.php that might not be present in your current configuration. In
addition some settings have changed semantics or syntax.

Site specific information will be in:
IMPORTANT: When upgrading please start with a fresh configuration file and take
the time to go through all configuration directives to make sure all is as it
should be. Merging new entries into your old config.php is discouraged.

- www/about.php
- www/help.php

Note that the default www/help.php now contains a list of settings about for
example maximum sizes and expiry time which is automatically generated from
the settings in the configuration file. You may want to integrate that
information with your custom help info.
Multi-language support
======================

You may have put a custom logo/banner in:
As of version 1.5 the FileSender supports multi-language for the web user
interface, using language files and the standard browser language preference
mechanism. If you select for example "Norwegian [no]" as the preferred
language to show web sites in, FileSender will take its language from the
language/no_NO.php file.

- www/banner.png
FileSender comes with a number of language files. You can add your own
language file and override text labels from standard langauge files.

As of version Beta-0.1.17 you can put a site specific banner in
Please consult the "Customising and configuring multi-language support" section
of the administrator reference guide for details:

- config/banner.png
https://www.assembla.com/spaces/file_sender/wiki/Administrator_reference_manual#customising_and_configuring_multi_language_support

If this file is available FileSender will use that one instead of the
default banner in www/banner.png.
**Please note the email texts are still in the config.php configuration file! **

Please refer to the section on Customisation in the Administrator reference
guide at https://www.assembla.com/wiki/show/file_sender/Documentation_for_v1-0
for instructions on how to customise your installation.

Performance
===========
Customisation
=============

- www/js/fs_gears.js
For instructions on customisation of your FileSender site please check the
section on "Customising and configuring multi language support" in the
Administrator reference guide:

You may have changed the chunksize used in the gears upload. This value is
found in www/js/fs_gears.js in the variable CHUNK_BYTES that has a default
value of 2000000 (2M).
https://www.assembla.com/spaces/file_sender/wiki/Administrator_reference_manual#customising_and_configuring_multi_language_support

For more details about other changes please see CHANGELOG.txt.
4 changes: 2 additions & 2 deletions LICENCE.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
* FileSender www.filesender.org
*
* Copyright (c) 2009-2012, AARNet, Belnet, HEAnet, SURFnet, UNINETT
* Copyright (c) 2009-2013, AARNet, Belnet, HEAnet, SURFnet, UNINETT
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
Expand All @@ -26,4 +26,4 @@
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
*/
37 changes: 17 additions & 20 deletions README.txt
Original file line number Diff line number Diff line change
@@ -1,14 +1,6 @@
Updated: 3 July 2011
Updated: 6 February 2013

*********************
This is the development branch of FileSender 1.5 which is stil being worked
on and should not be used for production services. This file will be updated
as soon as 1.5 will be release-ready. In the meantime have a look at

http://www.assembla.com/spaces/file_sender/wiki/Installation_notes_for_1-5_development_code

for more information.
*********************
This is the README.txt for version 1.5 of the FileSender software.

FileSender is a software package that implements a web-based application that
allows authenticated users to securely and easily send arbitrarily large files
Expand All @@ -30,8 +22,7 @@ FileSender project home:
http://www.filesender.org/

FileSender installation and configuration documentation is available at:
https://www.assembla.com/wiki/show/file_sender/Documentation_for_v1-0

https://www.assembla.com/spaces/file_sender/wiki/Documentation_v1-5

Support is available on a best-effort basis through the FileSender development
mailinglist filesender-dev@filesender.org. For information on how to subscribe
Expand All @@ -41,16 +32,22 @@ and the mailinglist archives:

Acknowledgements
================
The 1.0 release of the FileSender software was developed by an international
core team of contributors. The FileSender 1.0 core team members were
Chris Richter, Gijs Molenaar, Guido Aben, Jan Meijer, Xander Jansen, Wendy Mason

Many others have contributed to make FileSender 1.0 possible:
http://www.assembla.com/wiki/show/file_sender/Acknowledgements
The 1.5 release of the FileSender software was developed by an international
core team with many others contributing. The FileSender 1.5 core team members
were Chris Richter, Guido Aben, Jan Meijer, Wendy Mason, Xander Jansen

Many others have contributed to make FileSender 1.5 possible:
https://www.assembla.com/spaces/file_sender/wiki/Acknowledgements_for_v1-5

Sustained funding, staff and other resources for the FileSender project are
provided by the National Research and Educational Networks (NRENs) AARNet
(Australia), HEAnet (Ireland), SURFnet (The Netherlands) and UNINETT (Norway).

For the 1.5 release FileSender received targeted financial contributions from
ARNES (Slovenia), Belnet (Belgium), CSC/FUNET (Finland), CESNET (Czech
Republic), the Hebrew University of Jerusalem (Israel) and UNI-C (Denmark).

FileSender 1.0 was funded by a consortium of the national research and
educational networks (NREN) AARNet (Australia), HEAnet (Ireland), SURFnet
(Netherlands) and UNINETT (Norway).

The FileSender project started in April 2009 and was initiated by AARNet,
HEAnet and UNINETT.
Loading

0 comments on commit 6be9cfc

Please sign in to comment.