[0002707] Added check for email uniqueness during password reset.
[fa-stable.git] / update.html
index e6114b003bead570e9df8748573b27b0ddb5560f..fd0d0fd386cb66b044be8c7aa39a3d843b4951c5 100644 (file)
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
-
-<head>
-  <meta content="text/html; charset=ISO-8859-1" http-equiv="content-type" />
-
-  
-  <title>FrontAccounting Update</title>
-
-</head>
-
-<body>
-<div><strong><span style="font-size: 20pt;"><span style="color: rgb(204, 102, 0); font-style: italic;">Front</span>Accounting&nbsp;Update</span></strong></div>
-<br />
-<br />
-
-<h2>Important Notes</h2>
-
-<ul>
-  <li>You can easily upload all the files to your installation folder on the 
-server overwriting the existing files, <strong><em>if you take these important 
-steps</em></strong>: 
-    <ol>
-      <li>Backup&nbsp; (download) the following files to another folder: 
-        <ol>
-          <li><strong>config_db.php</strong> (contains information about the&nbsp;companies and 
-connection info). 
-          </li>
-          <li><strong>config.php</strong> (contains various settings. You only need to 
-backup this file if you have done manually changes to it. 
-          </li>
-          <li><strong>/lang/installed_languages.inc</strong> (contains information about the 
-installed languages) 
-          </li>
-          <li><strong>/modules/installed_modules.php</strong> (contains information about 
-installed modules, <strong>only vers. 1.1</strong>) 
-          </li>
-          <li>if you have made <em>changes to other files</em>, like themes or so, backup 
-these files too. </li>
-        </ol>
-
-      </li>
-      <li>Upload all the new files. 
-      </li>
-      <li>Restore the files mentioned in #1. Be <strong>careful</strong> with 
-        <strong>config.db</strong>. Look into variances. There might be new variables in 
-the new version. It might be easier to <em>manually change your former values in 
-the new file</em>. 
-      </li>
-      <li>Rename or remove the /install folder (you have already performed the install 
-process earlier). </li>
-    </ol>
-  </li>
-</ul>
-
-<p>&nbsp;</p>
-</body>
-
-</html>
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
+<html><head>\r
+\r
+\r
+\r
+\r
+\r
+<meta http-equiv="CONTENT-TYPE" content="text/html; charset=iso-8859-1"><title>FrontAccounting Update</title>\r
+\r
+<meta name="GENERATOR" content="OpenOffice.org 2.4 (Linux)">\r
+<meta name="CREATED" content="0;0">\r
+<meta name="CHANGED" content="20100902;19041400"></head><body style="direction: ltr;" lang="en-US">\r
+<h4><strong><font color="#cc6600"><font style="font-size: 20pt;" size="5"><i>Front</i></font></font></strong><strong><font style="font-size: 20pt;" size="5">Accounting\r
+Update</font></strong></h4>\r
+<h2>Important Notes for release 2.3.22.</h2>\r
+\r
+\r
+<h4>New global flags in config.php (config-default.php):</h4>\r
+/* Show average costed values instead of fixed standard cost */ In Enventory Valuation Report.<br>\r
+<span style="font-weight: bold;">$use_costed_values = 0;</span><br>\r
+<br>\r
+/* Print Item Images on Sales Quotations. Set to 1 if so. */<br>\r
+<span style="font-weight: bold;">$print_item_images_on_quote = 0;</span><br>\r
+<h2>Important Notes for release 2.3.21.</h2>\r
+\r
+\r
+\r
+\r
+<h4>Crucial security patches:</h4>\r
+\r
+This version consists of crucial security patches and this applies especially to all publicly available servers, <br>\r
+&nbsp;f.i. installations which are run in not fully trusted environment like public demos, shared accounts or SAAS.<br>\r
+<h4>New global flags in config.php (config-default.php):</h4>\r
+/* Whether to allow sending new password by e-mail */<br>\r
+<span style="font-weight: bold;">$allow_password_reset = false</span><h2>Important Notes for release 2.3.20.</h2>\r
+\r
+\r
+<h4>Crucial security patches:</h4>\r
+This version consists of crucial security patches and all guest FA\r
+installations (I mean whenever FA is run in not fully trusted\r
+environment) should be updtaed.<br>\r
+<h2>Important Notes for release 2.3.17.</h2>\r
+\r
+<h4>New global flags in config.php (config-default.php):</h4>\r
+/*<br>\r
+&nbsp;&nbsp;&nbsp; Choose Exchange Rate Provider<br>\r
+&nbsp;&nbsp;&nbsp; Default is ECB for backwards compatibility<br>\r
+*/<br>\r
+<span style="font-weight: bold;">$xr_providers = array("ECB", "YAHOO", "GOOGLE", "BLOOMBERG");<br>\r
+$dflt_xr_provider = 0;<br>\r
+<br>\r
+</span>/*<br>\r
+&nbsp;&nbsp;&nbsp; Set to true when remote service is authoritative\r
+source of exchange rates, and can be stored automatically without<br>\r
+&nbsp;&nbsp;&nbsp; manual edition. Otherwise exrate is stored on first new currency transaction of the day.<br>\r
+*/<br>\r
+<span style="font-weight: bold;">$xr_provider_authoritative = false;<br>\r
+</span><h2>Important Notes for release 2.3.16.</h2>\r
+<h4>New global flags in config.php (config-default.php):</h4><span style="font-weight: bold;">/*<br>&nbsp;&nbsp; </span>&nbsp;Optional sorting new sales documents lines according to item code<span style="font-weight: bold;"><br>*/<br>$sort_sales_items = false;<br><br>/*<br>&nbsp;&nbsp; &nbsp;</span>Trial Balance opening balance presentation option.<br>&nbsp;&nbsp; &nbsp;When set to true past years part of opening balance is cleared.<span style="font-weight: bold;"><br>*/<br>$clear_trial_balance_opening = false;</span><h2>Important Notes for release 2.3.14.</h2>\r
+<h4>New global flags in config.php (config-default.php):</h4>\r
+/* default print orientation. 0 = Portrait, 1 = Landscape */<br>\r
+&nbsp;&nbsp;&nbsp; <span style="font-weight: bold;">$def_print_orientation\r
+= 0;</span><br>\r
+<h2>Important Notes for release 2.3.13.</h2>\r
+<h4>New global flags in config.php (config-default.php):</h4>\r
+/* No check on edit conflicts. Maybe needed to be set to 1 in certains\r
+Windows Servers */<br>\r
+&nbsp;&nbsp;&nbsp; <span style="font-weight: bold;">$no_check_edit_conflicts\r
+= 0;</span><br>\r
+<h2>Important Notes for release 2.3.12.</h2>\r
+<h4>New global flags in config.php (config-default.php):</h4>\r
+/* <br>\r
+&nbsp;&nbsp;&nbsp; Display a dropdown select box for\r
+choosing Company to login if false.<br>\r
+&nbsp;&nbsp;&nbsp; Show a blank editbox only if true where\r
+the Company NickName<br>\r
+&nbsp;&nbsp;&nbsp; will have to be manually entered. This\r
+is when privacy is needed.<br>\r
+*/<br>\r
+&nbsp; &nbsp; <span style="font-weight: bold;">$text_company_selection</span>&nbsp;\r
+= false;<br>\r
+<br>\r
+/*&nbsp; Should FA hide menu items (Applications, Modules, and\r
+Actions) from the user if they don't have access to them? <br>\r
+&nbsp;&nbsp;&nbsp; 0 for\r
+no&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1 for yes<br>\r
+*/<br>\r
+<br>\r
+&nbsp;&nbsp;&nbsp; <span style="font-weight: bold;">$hide_inaccessible_menu_items</span>\r
+= 0;<br>\r
+<br>\r
+/*<br>\r
+&nbsp;&nbsp;&nbsp; Brute force prevention.<br>\r
+&nbsp;&nbsp;&nbsp; $login_delay seconds delay is required\r
+between login attempts after $login_max_attemps failed logins.<br>\r
+&nbsp;&nbsp;&nbsp; Set $login_delay to 0 to disable the\r
+feature (not recommended)<br>\r
+*/<br>\r
+&nbsp; &nbsp; <span style="font-weight: bold;">$login_delay</span>\r
+= 30;<br>\r
+&nbsp; &nbsp; <span style="font-weight: bold;">$login_max_attempts</span>\r
+= 10;\r
+<h2><strong></strong>Important Notes for release\r
+2.3.5.</h2>\r
+Change in the behaviour of <span style="font-weight: bold; font-style: italic;">Recurrent\r
+Invoices</span>.<br>\r
+<ul>\r
+<li>Now\r
+the Last Sent day is stamped with the former Last Sent (or Begin date\r
+the first time) + months + days. Before the Last Sent day was stamped\r
+with tthe creation date (today). The Invoice date is still todays date.\r
+</li>\r
+<li>If you for some reason want to make a pause in the\r
+recurrent\r
+invoices, you can now edit the Last Sent day in the Management section\r
+of Sales tab.</li>\r
+<li>Before the days value, together with a month\r
+value, decided which day in the month the invoice was due..\r
+&nbsp;This\r
+does not&nbsp;work now. You can&nbsp;change the day in the\r
+month you\r
+want the recurrency to happen by setting the Last Sent day with the new\r
+day in the Management section.&nbsp;</li>\r
+<li>If you create a new Recurrent Invoice the Beginning date\r
+can be set to the day in the month you want the recurrencies to be due.</li>\r
+</ul>\r
+<h2>Important Notes</h2>\r
+<p>Upgrade process can be done only by administrator of the first\r
+company created during FrontAccounting installation. This person is\r
+considered as a site admin who have granted access to potentially\r
+dangerous setup options, like Setup/Software Upgrade.</p>\r
+<p>In the following description sections related to older FA\r
+versions are\r
+prefixed with <span style="background: rgb(235, 97, 61) none repeat scroll 0% 50%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;">[color\r
+tags]</span><span style="background: transparent none repeat scroll 0% 50%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;">\r
+. Y</span>ou can skip tagged fragment safely if currently FA\r
+application is newer than the version in tag.</p>\r
+<p>Upgrade process consists of up to four stages, some of them\r
+are\r
+optional:</p>\r
+<ol>\r
+<li>\r
+<p>Application source files update </p>\r
+</li>\r
+<li>\r
+<p>Database upgrade &#8211; this step is needed only during upgrade\r
+which involves change in major application version number (e.g. from\r
+2.2.x to 2.3.x), and sometimes during upgrade from beta release to\r
+stable version. Otherwise this step can be skipped.</p>\r
+</li>\r
+<li>\r
+<p>Final cleanup &#8211; is needed when some old source files,\r
+obsoleted by new release should be removed.</p>\r
+</li>\r
+<li>\r
+<p>New features configuration &#8211; this is optional step needed\r
+for most major releases and some minor ones. </p>\r
+</li>\r
+</ol>\r
+<p style="margin-bottom: 0cm;">Before starting upgrade\r
+ensure nobody\r
+is using the application and make database backup for all companies.\r
+To be on safe side backup also old source files, especially those\r
+locally customized (if any).</p>\r
+<p>Log into admin account of first company.<strong> </strong><strong><span style="">If\r
+you use a theme other than the standard 3 (aqua, cool or default),\r
+switch to one of these before going further.</span></strong></p>\r
+<h2><strong><b>1. Application files update</b></strong></h2>\r
+<p style="margin-top: 0.42cm; page-break-after: avoid;"><font face="Liberation Sans, sans-serif"><font size="4"><strong><span style="">a. Source\r
+files update</span></strong></font></font></p>\r
+<p><strong><span style="">Extract distribution\r
+zip/tar.gz file in empty directory, and copy all the files to your\r
+FrontAccounting directory overwriting old files. If it is major\r
+release upgrade you can skip next step and go directly to cleanup.</span></strong></p>\r
+<p style="margin-top: 0.42cm; page-break-after: avoid;"><strong><font face="Liberation Sans, sans-serif"><font size="4"><span style="">b. Configuration\r
+files update</span></font></font></strong></p>\r
+<p><strong><span style="">Compare new\r
+</span></strong><strong><i><b>config.default.php</b></i></strong><strong>\r
+</strong><strong><span style="">file with the\r
+old\r
+</span></strong><strong><i><b>config.php </b></i></strong><strong><span style="font-style: normal;"><span style="">and\r
+add all n</span></span></strong><strong><span style="">ew\r
+settings (if any). </span></strong>\r
+</p>\r
+<p><strong><span style=""><span style="background: rgb(235, 97, 61) none repeat scroll 0% 50%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;">[&lt;FA\r
+2.2beta]</span></span></strong></p>\r
+<p><strong> <span style="">$show_users_online\r
+= 0;</span></strong></p>\r
+<p><strong> <span style="">$def_print_destination\r
+= 0;</span></strong></p>\r
+<p><strong><span style="">$dflt_date_fmt=0;</span></strong></p>\r
+<p><strong><span style="">$dflt_date_sep=0;</span></strong></p>\r
+<p><strong><span style="">$table_style,table_style2\r
+changed</span></strong></p>\r
+<p><strong><span style=""><span style="background: rgb(235, 97, 61) none repeat scroll 0% 50%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;">[&lt;FA\r
+2.3beta]</span></span></strong></p>\r
+<p><strong> <span style="">$alternative_tax_include_on_doc=0;</span></strong></p>\r
+<p><strong><span style="">$suppress_tax_rates\r
+= 0;</span></strong></p>\r
+<p><strong><span style=""><span style="background: rgb(235, 97, 61) none repeat scroll 0% 50%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;">[&lt;FA\r
+2.3RC1]</span></span></strong><strong> </strong>\r
+</p>\r
+<p><strong><span style="">Application version\r
+information and a couple of other private FA variables are stored in\r
+</span></strong><strong><i><b>version.php</b></i></strong><strong>\r
+</strong><strong><span style="">file. The\r
+application version displayed in footer is defined in $version\r
+variable unless this is set in config.php file. If you want current\r
+release version to be displayed on every FA update just remove or\r
+comment out $version variable in </span></strong><strong><span style="font-style: normal;"><span style="">config.php</span></span></strong><strong><span style="">.</span></strong></p>\r
+<p><strong><span style=""><span style="background: rgb(235, 97, 61) none repeat scroll 0% 50%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;">[&lt;FA\r
+2.3RC2]</span></span></strong></p>\r
+<p><strong> <span style="">$save_report_selections\r
+&nbsp;= 0; &nbsp;// A value &gt; 0 means days to save the\r
+report selections.</span></strong></p>\r
+<p><strong><span style=""><span style="background: rgb(235, 97, 61) none repeat scroll 0% 50%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;">[&lt;FA\r
+2.3]</span></span></strong></p>\r
+<p><strong> <span style="">$save_po_item_codes\r
+&nbsp;= 0; &nbsp;//&nbsp; show item codes on purchase\r
+order&nbsp;</span></strong></p>\r
+<p><strong><span style="">$def_print_destination\r
+= 0; // &nbsp;default print destination. 0 = PDF/Printer, 1 = Excel</span></strong></p>\r
+<p><strong><span style="">$alternative_tax_include_on_docs\r
+= 0; // &nbsp;1 = print Subtotal tax excluded, tax and Total tax\r
+included</span></strong></p>\r
+<p><strong><span style="">$suppress_tax_rates\r
+= 0; // &nbsp;suppress tax rates on documents. 0 = no, 1 = yes.</span></strong></p>\r
+<strong><span style=""><span style="background: rgb(235, 97, 61) none repeat scroll 0% 50%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"></span></span></strong><strong><span style=""><span style="background: rgb(235, 97, 61) none repeat scroll 0% 50%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;"></span></span></strong>\r
+<h2><strong><b>2. Database upgrade</b></strong></h2>\r
+<p><strong><span style="">This step can be\r
+skipped\r
+for small version updates i.e. when you have already installed\r
+FrontAccounting version 2.3.1 or later. Before database upgrade is\r
+done on all company databases backup file is created automatically to\r
+enable database restore after failure.</span></strong></p>\r
+<p><strong><span style="">After major version\r
+upgrade overwriting files in first step makes the system unaccessible\r
+for all users but site admin, who have to run upgrade procedures to\r
+update all company databases to the new version provided with the\r
+release. After logging to administrator account of first installed\r
+company go directly to Setup/Software Upgrade screen, mark all\r
+subsequent 'Install' checkboxes and press 'Upgrade System'.</span></strong></p>\r
+<p style="">If something goes wrong during\r
+upgrade, you can eventually try forced upgrade option. Forced upgrade\r
+ignores some smaller errors which can arise during upgrade due to\r
+some exotic database configuration. This is depreciated option, so\r
+first read error messages if any, try to fix signalized problems,\r
+restore databases from backup and retry normal installation. To run\r
+upgrade in forced mode check box 'Force Upgrade', and press 'Upgrade\r
+System' again.</p>\r
+<h2>3. Final cleanup</h2>\r
+<p>Remove or rename install folder in main FrontAccounting\r
+directory.\r
+</p>\r
+<p>After upgrade is installed you can remove files obsoleted by\r
+new\r
+FrontAccounting version. Also old, unused settings <span style="font-style: normal;"><span style="">can\r
+be removed from </span></span><i><b>config.php</b></i><span style="font-style: normal;"><span style="">\r
+file.</span></span></p>\r
+<p style="margin-top: 0.42cm; page-break-after: avoid;"><font face="Liberation Sans, sans-serif"><font size="4">a.\r
+Source files cleanup</font></font></p>\r
+<p><strong><span style=""><span style="background: rgb(235, 97, 61) none repeat scroll 0% 50%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;">[&lt;FA\r
+2.2beta]</span></span></strong></p>\r
+<p><strong><span style=""><span style="background: transparent none repeat scroll 0% 50%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;">/includes/reserved.inc\r
+&#8211; removed.</span></span></strong></p>\r
+<p><strong><span style=""><span style="background: rgb(235, 97, 61) none repeat scroll 0% 50%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;">[&lt;FA\r
+2.1]</span></span></strong><strong> </strong>\r
+</p>\r
+<p><strong><span style="">/admin/db/v_banktrans.inc\r
+- removed</span></strong></p>\r
+<p style="margin-top: 0.42cm; page-break-after: avoid;"><font face="Liberation Sans, sans-serif"><font size="4"><span style="font-style: normal;"><span style="">b.\r
+Config.php cleanup </span></span></font></font>\r
+</p>\r
+<p><strong><span style=""><span style="background: rgb(235, 97, 61) none repeat scroll 0% 50%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial;">[&lt;FA\r
+2.2RC1]</span></span></strong><strong> </strong>\r
+</p>\r
+<p><strong><span style="">$security_headings,\r
+$security_groups arrays &#8211; moved to database (see Access Setup) </span></strong>\r
+</p>\r
+<p><strong><span style="">$def_app &#8211; moved\r
+to user configuration in database.</span></strong></p>\r
+<p><strong><span style="font-style: normal;"><span style="">$version\r
+&#8211; moved to </span></span></strong><strong><i><b>version.php</b></i></strong><strong><span style="font-style: normal;"><span style="">\r
+file. Remove</span></span></strong></p>\r
+<h2>4. New features configuration</h2>\r
+<p>During upgrade process new features are initialized to default\r
+status, and sometimes old settings are also changed to conform with\r
+new security policy. This automatic process is designed to be as\r
+neutral for end users as possible, however sometimes site or company\r
+admin intervention can be necessary to set thing after changes to\r
+their best state. Below you will find description of new settings\r
+available after upgrade.</p>\r
+<p><br>\r
+<br>\r
+</p>\r
+<p>----------------------</p>\r
+<ul>\r
+</ul>\r
+</body></html>
\ No newline at end of file