Updated .gitattributes with export-ignore.
[fa-stable.git] / update.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2 <html><head>
3
4
5
6
7
8 <meta http-equiv="CONTENT-TYPE" content="text/html; charset=iso-8859-1"><title>FrontAccounting Update</title>
9
10 <meta name="GENERATOR" content="OpenOffice.org 2.4 (Linux)">
11 <meta name="CREATED" content="0;0">
12 <meta name="CHANGED" content="20100902;19041400"></head><body style="direction: ltr;" lang="en-US">
13 <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
14 Update</font></strong></h4>
15 <h2>Important Notes for release 2.3.22.</h2>
16
17
18 <h4>New global flags in config.php (config-default.php):</h4>
19 /* Show average costed values instead of fixed standard cost */ In Enventory Valuation Report.<br>
20 <span style="font-weight: bold;">$use_costed_values = 0;</span><br>
21 <br>
22 /* Print Item Images on Sales Quotations. Set to 1 if so. */<br>
23 <span style="font-weight: bold;">$print_item_images_on_quote = 0;</span><br>
24 <h2>Important Notes for release 2.3.21.</h2>
25
26
27
28
29 <h4>Crucial security patches:</h4>
30
31 This version consists of crucial security patches and this applies especially to all publicly available servers, <br>
32 &nbsp;f.i. installations which are run in not fully trusted environment like public demos, shared accounts or SAAS.<br>
33 <h4>New global flags in config.php (config-default.php):</h4>
34 /* Whether to allow sending new password by e-mail */<br>
35 <span style="font-weight: bold;">$allow_password_reset = false</span><h2>Important Notes for release 2.3.20.</h2>
36
37
38 <h4>Crucial security patches:</h4>
39 This version consists of crucial security patches and all guest FA
40 installations (I mean whenever FA is run in not fully trusted
41 environment) should be updtaed.<br>
42 <h2>Important Notes for release 2.3.17.</h2>
43
44 <h4>New global flags in config.php (config-default.php):</h4>
45 /*<br>
46 &nbsp;&nbsp;&nbsp; Choose Exchange Rate Provider<br>
47 &nbsp;&nbsp;&nbsp; Default is ECB for backwards compatibility<br>
48 */<br>
49 <span style="font-weight: bold;">$xr_providers = array("ECB", "YAHOO", "GOOGLE", "BLOOMBERG");<br>
50 $dflt_xr_provider = 0;<br>
51 <br>
52 </span>/*<br>
53 &nbsp;&nbsp;&nbsp; Set to true when remote service is authoritative
54 source of exchange rates, and can be stored automatically without<br>
55 &nbsp;&nbsp;&nbsp; manual edition. Otherwise exrate is stored on first new currency transaction of the day.<br>
56 */<br>
57 <span style="font-weight: bold;">$xr_provider_authoritative = false;<br>
58 </span><h2>Important Notes for release 2.3.16.</h2>
59 <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>
60 <h4>New global flags in config.php (config-default.php):</h4>
61 /* default print orientation. 0 = Portrait, 1 = Landscape */<br>
62 &nbsp;&nbsp;&nbsp; <span style="font-weight: bold;">$def_print_orientation
63 = 0;</span><br>
64 <h2>Important Notes for release 2.3.13.</h2>
65 <h4>New global flags in config.php (config-default.php):</h4>
66 /* No check on edit conflicts. Maybe needed to be set to 1 in certains
67 Windows Servers */<br>
68 &nbsp;&nbsp;&nbsp; <span style="font-weight: bold;">$no_check_edit_conflicts
69 = 0;</span><br>
70 <h2>Important Notes for release 2.3.12.</h2>
71 <h4>New global flags in config.php (config-default.php):</h4>
72 /* <br>
73 &nbsp;&nbsp;&nbsp; Display a dropdown select box for
74 choosing Company to login if false.<br>
75 &nbsp;&nbsp;&nbsp; Show a blank editbox only if true where
76 the Company NickName<br>
77 &nbsp;&nbsp;&nbsp; will have to be manually entered. This
78 is when privacy is needed.<br>
79 */<br>
80 &nbsp; &nbsp; <span style="font-weight: bold;">$text_company_selection</span>&nbsp;
81 = false;<br>
82 <br>
83 /*&nbsp; Should FA hide menu items (Applications, Modules, and
84 Actions) from the user if they don't have access to them? <br>
85 &nbsp;&nbsp;&nbsp; 0 for
86 no&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1 for yes<br>
87 */<br>
88 <br>
89 &nbsp;&nbsp;&nbsp; <span style="font-weight: bold;">$hide_inaccessible_menu_items</span>
90 = 0;<br>
91 <br>
92 /*<br>
93 &nbsp;&nbsp;&nbsp; Brute force prevention.<br>
94 &nbsp;&nbsp;&nbsp; $login_delay seconds delay is required
95 between login attempts after $login_max_attemps failed logins.<br>
96 &nbsp;&nbsp;&nbsp; Set $login_delay to 0 to disable the
97 feature (not recommended)<br>
98 */<br>
99 &nbsp; &nbsp; <span style="font-weight: bold;">$login_delay</span>
100 = 30;<br>
101 &nbsp; &nbsp; <span style="font-weight: bold;">$login_max_attempts</span>
102 = 10;
103 <h2><strong></strong>Important Notes for release
104 2.3.5.</h2>
105 Change in the behaviour of <span style="font-weight: bold; font-style: italic;">Recurrent
106 Invoices</span>.<br>
107 <ul>
108 <li>Now
109 the Last Sent day is stamped with the former Last Sent (or Begin date
110 the first time) + months + days. Before the Last Sent day was stamped
111 with tthe creation date (today). The Invoice date is still todays date.
112 </li>
113 <li>If you for some reason want to make a pause in the
114 recurrent
115 invoices, you can now edit the Last Sent day in the Management section
116 of Sales tab.</li>
117 <li>Before the days value, together with a month
118 value, decided which day in the month the invoice was due..
119 &nbsp;This
120 does not&nbsp;work now. You can&nbsp;change the day in the
121 month you
122 want the recurrency to happen by setting the Last Sent day with the new
123 day in the Management section.&nbsp;</li>
124 <li>If you create a new Recurrent Invoice the Beginning date
125 can be set to the day in the month you want the recurrencies to be due.</li>
126 </ul>
127 <h2>Important Notes</h2>
128 <p>Upgrade process can be done only by administrator of the first
129 company created during FrontAccounting installation. This person is
130 considered as a site admin who have granted access to potentially
131 dangerous setup options, like Setup/Software Upgrade.</p>
132 <p>In the following description sections related to older FA
133 versions are
134 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
135 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;">
136 . Y</span>ou can skip tagged fragment safely if currently FA
137 application is newer than the version in tag.</p>
138 <p>Upgrade process consists of up to four stages, some of them
139 are
140 optional:</p>
141 <ol>
142 <li>
143 <p>Application source files update </p>
144 </li>
145 <li>
146 <p>Database upgrade &#8211; this step is needed only during upgrade
147 which involves change in major application version number (e.g. from
148 2.2.x to 2.3.x), and sometimes during upgrade from beta release to
149 stable version. Otherwise this step can be skipped.</p>
150 </li>
151 <li>
152 <p>Final cleanup &#8211; is needed when some old source files,
153 obsoleted by new release should be removed.</p>
154 </li>
155 <li>
156 <p>New features configuration &#8211; this is optional step needed
157 for most major releases and some minor ones. </p>
158 </li>
159 </ol>
160 <p style="margin-bottom: 0cm;">Before starting upgrade
161 ensure nobody
162 is using the application and make database backup for all companies.
163 To be on safe side backup also old source files, especially those
164 locally customized (if any).</p>
165 <p>Log into admin account of first company.<strong> </strong><strong><span style="">If
166 you use a theme other than the standard 3 (aqua, cool or default),
167 switch to one of these before going further.</span></strong></p>
168 <h2><strong><b>1. Application files update</b></strong></h2>
169 <p style="margin-top: 0.42cm; page-break-after: avoid;"><font face="Liberation Sans, sans-serif"><font size="4"><strong><span style="">a. Source
170 files update</span></strong></font></font></p>
171 <p><strong><span style="">Extract distribution
172 zip/tar.gz file in empty directory, and copy all the files to your
173 FrontAccounting directory overwriting old files. If it is major
174 release upgrade you can skip next step and go directly to cleanup.</span></strong></p>
175 <p style="margin-top: 0.42cm; page-break-after: avoid;"><strong><font face="Liberation Sans, sans-serif"><font size="4"><span style="">b. Configuration
176 files update</span></font></font></strong></p>
177 <p><strong><span style="">Compare new
178 </span></strong><strong><i><b>config.default.php</b></i></strong><strong>
179 </strong><strong><span style="">file with the
180 old
181 </span></strong><strong><i><b>config.php </b></i></strong><strong><span style="font-style: normal;"><span style="">and
182 add all n</span></span></strong><strong><span style="">ew
183 settings (if any). </span></strong>
184 </p>
185 <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
186 2.2beta]</span></span></strong></p>
187 <p><strong> <span style="">$show_users_online
188 = 0;</span></strong></p>
189 <p><strong> <span style="">$def_print_destination
190 = 0;</span></strong></p>
191 <p><strong><span style="">$dflt_date_fmt=0;</span></strong></p>
192 <p><strong><span style="">$dflt_date_sep=0;</span></strong></p>
193 <p><strong><span style="">$table_style,table_style2
194 changed</span></strong></p>
195 <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
196 2.3beta]</span></span></strong></p>
197 <p><strong> <span style="">$alternative_tax_include_on_doc=0;</span></strong></p>
198 <p><strong><span style="">$suppress_tax_rates
199 = 0;</span></strong></p>
200 <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
201 2.3RC1]</span></span></strong><strong> </strong>
202 </p>
203 <p><strong><span style="">Application version
204 information and a couple of other private FA variables are stored in
205 </span></strong><strong><i><b>version.php</b></i></strong><strong>
206 </strong><strong><span style="">file. The
207 application version displayed in footer is defined in $version
208 variable unless this is set in config.php file. If you want current
209 release version to be displayed on every FA update just remove or
210 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>
211 <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
212 2.3RC2]</span></span></strong></p>
213 <p><strong> <span style="">$save_report_selections
214 &nbsp;= 0; &nbsp;// A value &gt; 0 means days to save the
215 report selections.</span></strong></p>
216 <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
217 2.3]</span></span></strong></p>
218 <p><strong> <span style="">$save_po_item_codes
219 &nbsp;= 0; &nbsp;//&nbsp; show item codes on purchase
220 order&nbsp;</span></strong></p>
221 <p><strong><span style="">$def_print_destination
222 = 0; // &nbsp;default print destination. 0 = PDF/Printer, 1 = Excel</span></strong></p>
223 <p><strong><span style="">$alternative_tax_include_on_docs
224 = 0; // &nbsp;1 = print Subtotal tax excluded, tax and Total tax
225 included</span></strong></p>
226 <p><strong><span style="">$suppress_tax_rates
227 = 0; // &nbsp;suppress tax rates on documents. 0 = no, 1 = yes.</span></strong></p>
228 <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>
229 <h2><strong><b>2. Database upgrade</b></strong></h2>
230 <p><strong><span style="">This step can be
231 skipped
232 for small version updates i.e. when you have already installed
233 FrontAccounting version 2.3.1 or later. Before database upgrade is
234 done on all company databases backup file is created automatically to
235 enable database restore after failure.</span></strong></p>
236 <p><strong><span style="">After major version
237 upgrade overwriting files in first step makes the system unaccessible
238 for all users but site admin, who have to run upgrade procedures to
239 update all company databases to the new version provided with the
240 release. After logging to administrator account of first installed
241 company go directly to Setup/Software Upgrade screen, mark all
242 subsequent 'Install' checkboxes and press 'Upgrade System'.</span></strong></p>
243 <p style="">If something goes wrong during
244 upgrade, you can eventually try forced upgrade option. Forced upgrade
245 ignores some smaller errors which can arise during upgrade due to
246 some exotic database configuration. This is depreciated option, so
247 first read error messages if any, try to fix signalized problems,
248 restore databases from backup and retry normal installation. To run
249 upgrade in forced mode check box 'Force Upgrade', and press 'Upgrade
250 System' again.</p>
251 <h2>3. Final cleanup</h2>
252 <p>Remove or rename install folder in main FrontAccounting
253 directory.
254 </p>
255 <p>After upgrade is installed you can remove files obsoleted by
256 new
257 FrontAccounting version. Also old, unused settings <span style="font-style: normal;"><span style="">can
258 be removed from </span></span><i><b>config.php</b></i><span style="font-style: normal;"><span style="">
259 file.</span></span></p>
260 <p style="margin-top: 0.42cm; page-break-after: avoid;"><font face="Liberation Sans, sans-serif"><font size="4">a.
261 Source files cleanup</font></font></p>
262 <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
263 2.2beta]</span></span></strong></p>
264 <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
265 &#8211; removed.</span></span></strong></p>
266 <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
267 2.1]</span></span></strong><strong> </strong>
268 </p>
269 <p><strong><span style="">/admin/db/v_banktrans.inc
270 - removed</span></strong></p>
271 <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.
272 Config.php cleanup </span></span></font></font>
273 </p>
274 <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
275 2.2RC1]</span></span></strong><strong> </strong>
276 </p>
277 <p><strong><span style="">$security_headings,
278 $security_groups arrays &#8211; moved to database (see Access Setup) </span></strong>
279 </p>
280 <p><strong><span style="">$def_app &#8211; moved
281 to user configuration in database.</span></strong></p>
282 <p><strong><span style="font-style: normal;"><span style="">$version
283 &#8211; moved to </span></span></strong><strong><i><b>version.php</b></i></strong><strong><span style="font-style: normal;"><span style="">
284 file. Remove</span></span></strong></p>
285 <h2>4. New features configuration</h2>
286 <p>During upgrade process new features are initialized to default
287 status, and sometimes old settings are also changed to conform with
288 new security policy. This automatic process is designed to be as
289 neutral for end users as possible, however sometimes site or company
290 admin intervention can be necessary to set thing after changes to
291 their best state. Below you will find description of new settings
292 available after upgrade.</p>
293 <p><br>
294 <br>
295 </p>
296 <p>----------------------</p>
297 <ul>
298 </ul>
299 </body></html>