mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-05-30 03:24:47 +00:00
use secure URIs where possible
This commit is contained in:
parent
fd36a1f5a5
commit
2c11535eb0
8
INSTALL
8
INSTALL
@ -18,7 +18,7 @@ Gentoo Users
|
||||
------------
|
||||
|
||||
DAVical is in the Sunrise overlay. You will have to add this overlay,
|
||||
following the instructions on http://overlays.gentoo.org/proj/sunrise.
|
||||
following the instructions on https://overlays.gentoo.org/proj/sunrise.
|
||||
|
||||
You can then use emerge to install DAVical and its dependencies.
|
||||
|
||||
@ -29,7 +29,7 @@ Other Linux Users
|
||||
-----------------
|
||||
|
||||
You will need to download the latest versions of the davical and awl packages
|
||||
from the DAViCal site. See http://www.davical.org/ for more information.
|
||||
from the DAViCal site. See https://www.davical.org/ for more information.
|
||||
|
||||
You will need to untar these. Preferably you will untar them from within
|
||||
the "/usr/share" directory and everything will be in it's expected location
|
||||
@ -63,7 +63,7 @@ The best place to get help is on IRC. The official DAViCal
|
||||
IRC channel is #davical on irc.oftc.net
|
||||
|
||||
The starting point for further help should be the DAViCal website
|
||||
at http://www.davical.org/ and from there you might visit the wiki
|
||||
at https://www.davical.org/ and from there you might visit the wiki
|
||||
which contains a fair amount of information about configuring
|
||||
DAViCal in a variety of different circumstances.
|
||||
|
||||
@ -224,7 +224,7 @@ to use this, and the docs for that are elsewhere.
|
||||
|
||||
See:
|
||||
|
||||
http://wiki.davical.org/
|
||||
https://wiki.davical.org/
|
||||
|
||||
Which is the place where documentation will generally be kept up to
|
||||
date the most.
|
||||
|
||||
6
README
6
README
@ -1,10 +1,10 @@
|
||||
DAViCal CalDAV Server by Andrew McMillan.
|
||||
|
||||
For documentation you are best advised to visit the DAViCal
|
||||
website at http://davical.org/ or search our general mailing
|
||||
website at https://www.davical.org/ or search our general mailing
|
||||
list at https://lists.sourceforge.net/mailman/listinfo/davical-general
|
||||
|
||||
There's lots of useful information at http://wiki.davical.org/ as well,
|
||||
There's lots of useful information at https://wiki.davical.org/ as well,
|
||||
and if you want access to update that contact us on IRC (#davical on OFTC,
|
||||
be patient and stick around for a while) or send an e-mail
|
||||
to <wiki-access@davical.org>.
|
||||
@ -29,4 +29,4 @@ GNU General Public License for more details.
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
|
||||
02110-1301, USA
|
||||
02110-1301, USA
|
||||
|
||||
@ -194,7 +194,7 @@ $c->admin_email ='calendar-admin@example.com';
|
||||
* are supported on your system.
|
||||
*
|
||||
* People interested in providing new translations are directed to the Wiki:
|
||||
* http://wiki.davical.org/w/Translating_DAViCal
|
||||
* https://wiki.davical.org/w/Translating_DAViCal
|
||||
*/
|
||||
// $c->default_locale = "en_NZ";
|
||||
|
||||
|
||||
@ -111,7 +111,7 @@ as a user with full permissions to access the local PostgreSQL database.
|
||||
If your PostgreSQL database is non-standard then you will need to set the PGHOST,
|
||||
PGPORT and/or PGCLUSTER environment variables before running this script again.
|
||||
|
||||
See: http://wiki.davical.org/w/Install_Errors/No_Database_Rights
|
||||
See: https://wiki.davical.org/index.php/Problems_and_Solutions#No_Database_Rights
|
||||
|
||||
EOFAILURE
|
||||
exit 1
|
||||
@ -143,7 +143,7 @@ libraries are not available.
|
||||
Check that your pg_hba.conf allows the davical_dba user to connect to the
|
||||
database (and make sure you've reloaded PostgreSQL since changing that).
|
||||
|
||||
Also see: http://wiki.davical.org/w/Install_Errors/No_Perl_YAML
|
||||
Also see: https://wiki.davical.org/index.php/Problems_and_Solutions
|
||||
|
||||
EOFAILURE
|
||||
exit 1
|
||||
@ -184,7 +184,7 @@ rm "${INSTALL_NOTE_FN}"
|
||||
cat <<FRIENDLY
|
||||
* The password for the 'admin' user has been set to '${ADMINPW}'
|
||||
|
||||
Thanks for trying DAViCal! Check in /usr/share/doc/davical/examples/ for
|
||||
some configuration examples. For help, visit #davical on irc.oftc.net.
|
||||
Thanks for trying DAViCal! Check the configuration in /etc/davical/config.php.
|
||||
For help, look at our website and wiki, or visit #davical on irc.oftc.net.
|
||||
|
||||
FRIENDLY
|
||||
|
||||
@ -125,7 +125,7 @@ rem echo * * * * ERROR * * * *
|
||||
rem echo The database administration utility failed. This is usually due to the Perl YAML
|
||||
rem echo or the Perl DBD::Pg libraries not being available.
|
||||
|
||||
rem echo See: http://wiki.davical.org/w/Install_Errors/No_Perl_YAML
|
||||
rem echo See: https://wiki.davical.org/index.php/Problems_and_Solutions
|
||||
|
||||
rem exit /B 2
|
||||
rem )
|
||||
|
||||
2
debian/README.Debian
vendored
2
debian/README.Debian
vendored
@ -2,7 +2,7 @@ Initial DAViCal configuration on Debian
|
||||
=======================================
|
||||
|
||||
General installation and configuration information is available at
|
||||
http://www.davical.org/installation.php. Please visit that website for
|
||||
https://www.davical.org/installation.php. Please visit that website for
|
||||
details and further reading.
|
||||
|
||||
After installation, basic configuration with a local database consists
|
||||
|
||||
2
debian/control
vendored
2
debian/control
vendored
@ -13,7 +13,7 @@ Build-Depends: debhelper (>= 9),
|
||||
rst2pdf
|
||||
Vcs-git: https://gitlab.com/davical-project/davical.git
|
||||
Vcs-browser: https://gitlab.com/davical-project/davical
|
||||
Homepage: http://www.davical.org/
|
||||
Homepage: https://www.davical.org/
|
||||
|
||||
Package: davical
|
||||
Architecture: all
|
||||
|
||||
2
debian/copyright
vendored
2
debian/copyright
vendored
@ -1,4 +1,4 @@
|
||||
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||
Source: https://gitlab.com/davical-project/davical
|
||||
Upstream-Name: davical
|
||||
Upstream-Contact: davical-devel@lists.sourceforge.net
|
||||
|
||||
@ -3,7 +3,7 @@ Translation
|
||||
***********
|
||||
|
||||
DAViCAL uses the standard translation infrastructure of many projects.
|
||||
It is based on ``gettext`` (http://www.gnu.org/software/gettext/).
|
||||
It is based on ``gettext`` (https://www.gnu.org/software/gettext/).
|
||||
|
||||
Translators
|
||||
===========
|
||||
@ -89,7 +89,7 @@ They have created a command line client namend ``tx``::
|
||||
Creating skeleton...
|
||||
Creating config file...
|
||||
Done.
|
||||
$ tx set --auto-remote http://www.transifex.net/projects/p/davical/
|
||||
$ tx set --auto-remote https://www.transifex.net/projects/p/davical/
|
||||
Auto configuring local project from remote URL...
|
||||
Getting details for project davical
|
||||
1 resources found. Configuring...
|
||||
|
||||
@ -16,16 +16,14 @@ if ( isset($_SERVER['HTTP_REFERER']) ) {
|
||||
}
|
||||
|
||||
$content = sprintf(translate('<h1>Help</h1>
|
||||
<p>For initial help you should visit the <a href="http://www.davical.org/" target="_blank">DAViCal Home Page</a> or take
|
||||
a look at the <a href="http://wiki.davical.org/%s" target="_blank">DAViCal Wiki</a>.</p>
|
||||
<p>If you can\'t find the answers there, visit us on <a href="http://wikipedia.org/wiki/Internet_Relay_Chat" target="_blank">IRC</a> in
|
||||
the <b>#davical</b> channel on <a href="http://www.oftc.net/" target="_blank">irc.oftc.net</a>,
|
||||
or send a question to the <a href="http://lists.sourceforge.net/mailman/listinfo/davical-general" target="_blank">DAViCal Users mailing list</a>.</p>
|
||||
<p>The <a href="http://sourceforge.net/mailarchive/forum.php?forum_id=8348" title="DAViCal Users Mailing List" target="_blank">mailing list
|
||||
<p>For initial help you should visit the <a href="https://www.davical.org/" target="_blank">DAViCal Home Page</a> or take
|
||||
a look at the <a href="https://wiki.davical.org/%s" target="_blank">DAViCal Wiki</a>.</p>
|
||||
<p>If you can\'t find the answers there, visit us on <a href="https://wikipedia.org/wiki/Internet_Relay_Chat" target="_blank">IRC</a> in
|
||||
the <b>#davical</b> channel on <a href="https://www.oftc.net/" target="_blank">irc.oftc.net</a>,
|
||||
or send a question to the <a href="https://lists.sourceforge.net/mailman/listinfo/davical-general" target="_blank">DAViCal Users mailing list</a>.</p>
|
||||
<p>The <a href="https://sourceforge.net/p/davical/mailman/davical-general/" title="DAViCal Users Mailing List" target="_blank">mailing list
|
||||
archives can be helpful too.</p>'), $wiki_help);
|
||||
|
||||
$content = preg_replace('#forum_id=8348#', 'forum_name=davical-general', $content);
|
||||
|
||||
echo $content;
|
||||
|
||||
include("page-footer.php");
|
||||
|
||||
@ -20,7 +20,7 @@ require_once('iSchedule.php');
|
||||
|
||||
$heading_schedule = translate('iSchedule Configuration');
|
||||
$content_sched1 = translate('iSchedule allows caldav servers to communicate directly with each other, bypassing the need to send invitations via email, for scheduled events where attendees are using different servers or providers. Additionally it enables freebusy lookups for remote attendees. Events and ToDos received via iSchedule will show up in the users scheduling inbox.');
|
||||
$content_sched2 = translate('The <a href="http://wiki.davical.org/w/iSchedule_configuration">iSchedule configuration</a> requires a few DNS entries. DNS SRV record(s) will need to be created for all domains you wish to accept requests for, these are the domain portion of email address on Principal records in DAViCal examples are listed below for domains found in your database. At least 1 public key must also be published if you wish to send requests from this server.');
|
||||
$content_sched2 = translate('The <a href="https://wiki.davical.org/w/iSchedule_configuration">iSchedule configuration</a> requires a few DNS entries. DNS SRV record(s) will need to be created for all domains you wish to accept requests for, these are the domain portion of email address on Principal records in DAViCal examples are listed below for domains found in your database. At least 1 public key must also be published if you wish to send requests from this server.');
|
||||
|
||||
|
||||
$page_elements = array();
|
||||
|
||||
@ -44,13 +44,13 @@ $content_grp3 = translate('Groups may be members of other groups, but complex ne
|
||||
|
||||
// Translations shared with setup.php
|
||||
$heading_clients = translate('Configuring Calendar Clients for DAViCal');
|
||||
$content_cli1 = translate('The <a href="http://www.davical.org/clients.php">client setup page on the DAViCal website</a> has information on how to configure Evolution, Sunbird, Lightning and Mulberry to use remotely hosted calendars.');
|
||||
$content_cli1 = translate('The <a href="https://www.davical.org/clients.php">client setup page on the DAViCal website</a> has information on how to configure Evolution, Sunbird, Lightning and Mulberry to use remotely hosted calendars.');
|
||||
$content_cli2 = translate('The administrative interface has no facility for viewing or modifying calendar data.');
|
||||
|
||||
// Translations shared with setup.php
|
||||
$heading_configure = translate('Configuring DAViCal');
|
||||
$content_config1 = translate('If you can read this then things must be mostly working already.');
|
||||
$content_config3 = translate('The <a href="http://www.davical.org/installation.php">DAViCal installation page</a> on the DAViCal website has some further information on how to install and configure this application.');
|
||||
$content_config3 = translate('The <a href="https://www.davical.org/installation.php">DAViCal installation page</a> on the DAViCal website has some further information on how to install and configure this application.');
|
||||
|
||||
|
||||
echo <<<EOBODY
|
||||
|
||||
@ -253,7 +253,7 @@ function check_schema_version() {
|
||||
function check_davical_version() {
|
||||
global $c;
|
||||
if ( ! ini_get('allow_url_fopen') )
|
||||
return new CheckResult( false, translate("Cannot determine upstream version, because PHP has set “<a href=\"http://php.net/manual/en/filesystem.configuration.php#ini.allow-url-fopen\"><code>allow_url_fopen</code></a>” to “<code>FALSE</code>”."), 'dep_warning' );
|
||||
return new CheckResult( false, translate("Cannot determine upstream version, because PHP has set “<a href=\"https://secure.php.net/manual/en/filesystem.configuration.php#ini.allow-url-fopen\"><code>allow_url_fopen</code></a>” to “<code>FALSE</code>”."), 'dep_warning' );
|
||||
$url = 'https://www.davical.org/current_davical_version?v='.$c->version_string;
|
||||
$version_file = @fopen($url, 'r');
|
||||
if ( ! $version_file ) return new CheckResult( false, translate("Could not retrieve") . " '$url'", 'dep_warning' );
|
||||
@ -342,7 +342,7 @@ function build_dependencies_table( ) {
|
||||
$dependencies[translate('PHP LDAP module available')] = 'check_ldap';
|
||||
}
|
||||
|
||||
$translated_failure_code = translate('<a href="http://wiki.davical.org/w/Setup_Failure_Codes/%s">Explanation on DAViCal Wiki</a>');
|
||||
$translated_failure_code = translate('<a href="https://wiki.davical.org/w/Setup_Failure_Codes/%s">Explanation on DAViCal Wiki</a>');
|
||||
|
||||
$dependencies_table = '';
|
||||
$dep_tpl = '<tr class="%s">
|
||||
@ -402,7 +402,7 @@ $heading_php_info = translate('PHP Information');
|
||||
|
||||
// Translations shared with index.php
|
||||
$heading_clients = translate('Configuring Calendar Clients for DAViCal');
|
||||
$content_cli1 = translate('The <a href="http://www.davical.org/clients.php">client setup page on the DAViCal website</a> has information on how to configure Evolution, Sunbird, Lightning and Mulberry to use remotely hosted calendars.');
|
||||
$content_cli1 = translate('The <a href="https://www.davical.org/clients.php">client setup page on the DAViCal website</a> has information on how to configure Evolution, Sunbird, Lightning and Mulberry to use remotely hosted calendars.');
|
||||
$content_cli2 = translate('The administrative interface has no facility for viewing or modifying calendar data.');
|
||||
|
||||
// Translations shared with index.php
|
||||
@ -412,7 +412,7 @@ $content_config2 = ( $config_warnings == '' ? '' : '<div class="error"><h3 class
|
||||
. translate('Your configuration produced PHP errors which should be corrected') . '</h3><pre>'
|
||||
. $config_warnings.'</pre></div>'
|
||||
);
|
||||
$content_config3 = translate('The <a href="http://www.davical.org/installation.php">DAViCal installation page</a> on the DAViCal website has some further information on how to install and configure this application.');
|
||||
$content_config3 = translate('The <a href="https://www.davical.org/installation.php">DAViCal installation page</a> on the DAViCal website has some further information on how to install and configure this application.');
|
||||
|
||||
|
||||
echo <<<EOBODY
|
||||
|
||||
@ -10,7 +10,7 @@ include("interactive-page.php");
|
||||
$content_pagelem11 = translate('Currently this page does nothing. Suggestions or patches to make it do something useful will be gratefully received.');
|
||||
|
||||
$heading_pagelem2 = translate('Upgrading DAViCal Versions');
|
||||
$content_pagelem21 = translate('The <a href="http://wiki.davical.org/w/Update-davical-database">update-davical-database</a> should be run manually after upgrading the software to a new version of DAViCal.');
|
||||
$content_pagelem21 = translate('The <a href="https://wiki.davical.org/w/Update-davical-database">update-davical-database</a> should be run manually after upgrading the software to a new version of DAViCal.');
|
||||
$content_pagelem22 = translate("In due course this program will implement the functionality which is currently contained in that script, but until then I'm afraid you do need to run it.");
|
||||
|
||||
$page_elements = array();
|
||||
|
||||
@ -156,7 +156,7 @@ class AtomFeed extends XMLDocument {
|
||||
parent::__construct( array( ATOM_XMLNS => null, XHTML_XMLNS => 'xhtml' ) );
|
||||
$this->title = 'DAViCal Atom Feed';
|
||||
$this->nodes = array( 'id', 'title', 'updated', // placeholders
|
||||
new XMLElement('generator', 'DAViCal', array('uri' => 'http://www.davical.org/', 'version' => $c->version_string ) )
|
||||
new XMLElement('generator', 'DAViCal', array('uri' => 'https://www.davical.org/', 'version' => $c->version_string ) )
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
@ -11,8 +11,8 @@ include("page-header.php");
|
||||
and so really you are well on the road to success!</p>
|
||||
<h2>The Dubious News</h2>
|
||||
<p>You could try and <a href="setup.php">click here</a> and see if that enlightens you at all.
|
||||
Or rather have a look at the <a href="http://davical.org/installation.php">Installation
|
||||
guide</a> and the <a href="http://wiki.davical.org/w/Main_Page">wiki</a>. Or make some guesses.
|
||||
Or rather have a look at the <a href="https://www.davical.org/installation.php">Installation
|
||||
guide</a> and the <a href="https://wiki.davical.org/index.php/Main_Page">wiki</a>. Or make some guesses.
|
||||
Or bug us on IRC or the mailing lists :-)</p>
|
||||
<h2>The Really Basic Help</h2>
|
||||
<p>The configuration file should look something like this:</p>
|
||||
|
||||
@ -25,9 +25,9 @@ if ( isset($_SERVER['SCRIPT_NAME']) ) {
|
||||
|
||||
|
||||
$help_menu = new MenuSet('submenu', 'submenu', 'submenu_active');
|
||||
$help_menu->AddOption(translate('DAViCal Homepage'),'http://www.davical.org/',translate('The DAViCal Home Page'), false, 6000, true );
|
||||
$help_menu->AddOption(translate('DAViCal Wiki'),'http://wiki.davical.org/'.$wiki_help,translate('Visit the DAViCal Wiki'), false, 7000, true );
|
||||
$help_menu->AddOption(translate('Request Feature'),'http://davical.uservoice.com/',translate('Go to the DAViCal Feature Requests'), false, 8000, true );
|
||||
$help_menu->AddOption(translate('DAViCal Homepage'),'https://www.davical.org/',translate('The DAViCal Home Page'), false, 6000, true );
|
||||
$help_menu->AddOption(translate('DAViCal Wiki'),'https://wiki.davical.org/'.$wiki_help,translate('Visit the DAViCal Wiki'), false, 7000, true );
|
||||
$help_menu->AddOption(translate('Request Feature'),'https://davical.uservoice.com/',translate('Go to the DAViCal Feature Requests'), false, 8000, true );
|
||||
$help_menu->AddOption(translate('Report Bug'),'https://gitlab.com/davical-project/davical/issues',translate('Report a bug in the system'), false, 9000, true );
|
||||
|
||||
$user_menu = new MenuSet('submenu', 'submenu', 'submenu_active');
|
||||
|
||||
@ -51,7 +51,7 @@
|
||||
#
|
||||
######################### IMPORTANT NOTES #########################
|
||||
#
|
||||
# SEE ALSO: http://wiki.davical.org/index.php/DAViCal-cli
|
||||
# SEE ALSO: https://wiki.davical.org/index.php/DAViCal-cli
|
||||
#
|
||||
# This code has been created for and used in a FreeBSD machine with Davical
|
||||
# installed from the own ports (at the beginning). This means that in this
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user