Changed db_escape function to avoid XSS attacks via js db injection
[fa-stable.git] / CHANGELOG.txt
1 /**
2 * @version $Id$
3 * @package FrontAccounting
4 * @copyright (C) 2005 - 2008 FrontAccounting
5 * @license http://www.gnu.org/copyleft/gpl.html GNU/GPL
6 * FrontAccounting is Free Software
7 */
8
9 1. Changelog
10 ------------
11 This is a changelog for FrontAccounting All releases.
12
13 Legend:
14
15 # -> Bug Fix
16 + -> Addition
17 ! -> Change
18 - -> Removed
19 ! -> Note
20 $ -> Affected files
21
22 18-Apr-2008 Joe Hunt
23 ! Changed db_escape function to avoid XSS attacks via js db injection
24 $ /includes/db/comments_db.inc
25   /includes/db/inventory_db.inc
26   /includes/db/references_db.inc
27   /inventory/includes/db/items_category_db.inc
28   /inventory/includes/db/items_db.inc
29   /inventory/includes/db/items_locations_db.inc
30   /inventory/includes/db/items_units_db.inc
31   /inventory/includes/db/movement_types_db.inc
32   /manufacturing/includes/db/work_centres_db.inc
33   /manufacturing/includes/db/work_orders_db.inc
34   /manufacturing/includes/db/work_orders_quick_db.inc
35   /manufacturing/includes/db/work_order_issues_db.inc
36   /manufacturing/includes/db/work_order_produce_items_db.inc
37   
38 18-Apr-2008 Janusz Dobrwolski
39 ! Changed db_escape function to avoid XSS attacks via js db injection
40 $ /includes/db/connect_db.inc
41 # Database inserts/updates secured against js injection
42 $ /admin/db/maintenance_db.inc
43   /gl/includes/db/gl_db_accounts.inc
44   /purchasing/includes/db/po_db.inc
45   /sales/sales_order_entry.php
46   /sales/includes/db/sales_order_db.inc
47
48 16-Apr-2008 Joe Hunt
49 # Bug in /includes/ui/ui_lists.inc:914. Sql clause was cut.
50 $ /includes/ui/ui_lists.inc
51
52 09-Apr-2008 Janusz Dobrowolski
53 # Fixed number formatting bug in standard cost update.
54 $ /inventory/cost_update.php
55
56 -------------------- 2,0 Beta - released ----------------------------
57
58 06-Apr-2008 Joe Hunt
59 ! Changed install.html and update.html to fit the new unstable release 2.0
60 ! Changed demo sql script to fit the 2.0 unstable.
61 $ install.html
62   update.html
63   /sql/en_US-demo.sql
64   
65 06-Apr-2008 Janusz Dobrowolski
66 # Sales invoice edition denied for documents created in FA 1.xx because of nonportable differences in gl posting/db schema.
67   /sales/customer_invoice.php
68 # Fixed typo causing error while adding new tax type.
69   /taxes/tax_types.php
70   
71 05-Apr-2008 Joe Hunt
72 # Fixed a bug when creating subfolder for new companies. Should be company id and not the table pref counter.
73 $ /admin/create_coy.php
74
75 05-Apr-2008 Joe Hunt
76 # Removed annoying warnings in several reports. 
77 $ config.php 
78   /reporting/rep102.php
79   /reporting/rep104.php
80   /reporting/rep201.php
81   /reporting/rep203.php
82   /reporting/rep705.php
83   /reporting/rep706.php
84   /reporting/rep707.php
85   /reporting/rep709.php
86   /reporting/reports_main.php
87   /reporting/includes/pdf_report.inc
88   
89 04-Apr-2008 Janusz Dobrowolski
90 # Javascript bugfix in selecting orders for template.
91 $ /sales/inquiry/sales_orders_view.php
92
93 04-Apr-2008 Joe Hunt
94 ! Updated chart of accounts for release 2.0 unstable. Set the status to 2.0 Beta in config.php. Minor changes in update.html
95 + Preparing for download of release 2.0b on SourceForge.
96 $ config.php
97   update.html
98   /sql/en_US-new.sql
99   /sql/en_US-demo.sql
100   
101 02-Apr-2008 Janusz Dobrowolski
102 # Removed selector expansion on space key for multi-line selectors
103 $ /js/inserts.js
104 ! Hiding search button in combo selectors for javascript enabled browsers
105 $ /includes/ui/ui_lists.inc
106   /js/inserts.js
107 + Focus set to invalid form field after submit check fail
108 $ /admin/company_preferences.php
109   /admin/fiscalyears.php
110   /admin/gl_setup.php
111   /admin/payment_terms.php
112   /admin/shipping_companies.php
113   /admin/users.php
114   /admin/void_transaction.php
115   /dimensions/dimension_entry.php
116   /gl/bank_transfer.php
117   /gl/gl_deposit.php
118   /gl/gl_journal.php
119   /gl/gl_payment.php
120   /gl/manage/bank_accounts.php
121   /gl/manage/bank_trans_types.php
122   /gl/manage/currencies.php
123   /gl/manage/exchange_rates.php
124   /gl/manage/gl_account_classes.php
125   /gl/manage/gl_account_types.php
126   /gl/manage/gl_accounts.php
127   /inventory/adjustments.php
128   /inventory/cost_update.php
129   /inventory/prices.php
130   /inventory/purchasing_data.php
131   /inventory/transfers.php
132   /inventory/manage/item_categories.php
133   /inventory/manage/item_units.php
134   /inventory/manage/items.php
135   /inventory/manage/locations.php
136   /inventory/manage/movement_types.php
137   /manufacturing/work_order_add_finished.php
138   /manufacturing/work_order_entry.php
139   /manufacturing/work_order_issue.php
140   /manufacturing/work_order_release.php
141   /manufacturing/manage/bom_edit.php
142   /manufacturing/manage/work_centres.php
143   /purchasing/po_entry_items.php
144   /purchasing/po_receive_items.php
145   /purchasing/supplier_credit.php
146   /purchasing/supplier_credit_grns.php
147   /purchasing/supplier_invoice.php
148   /purchasing/supplier_invoice_grns.php
149   /purchasing/supplier_payment.php
150   /purchasing/supplier_trans_gl.php
151   /purchasing/allocations/supplier_allocate.php
152   /purchasing/manage/suppliers.php
153   /sales/credit_note_entry.php
154   /sales/customer_credit_invoice.php
155   /sales/customer_delivery.php
156   /sales/customer_invoice.php
157   /sales/customer_payments.php
158   /sales/sales_order_entry.php
159   /sales/allocations/customer_allocate.php
160   /taxes/item_tax_types.php
161   /taxes/tax_groups.php
162   /taxes/tax_types.php
163 # Set default focus in update_db.php
164 $ /admin/backups.php
165
166 29-Mar-2008 Janusz Dobrowolski
167 # Changed gl_all_accounts_list() API
168 $ /includes/ui/ui_lists.inc
169 + Enhanced list accessability in kbd usage via space key
170 $ js/inserts.js
171
172 28-Mar-2008 Janusz Dobrowolski
173 # Fixed headers for various display mode
174 $ /sales/inquiry/sales_orders_view.php
175
176 28-Mar-2008 Joe Hunt
177 + Added print document options in inquiries.
178 $ /sales/inquiry/customer_inquiry.php
179   /sales/inquiry/sales_orders_view.php
180   /sales/inquiry/sales_deliveries_view.php
181   /purchasing/inquiry/po_search.php
182   /purchasing/inquiry/po_search_completed.php
183   
184 28-Mar-2008 Joe Hunt
185 # Fixed a minor bug in customers_db.inc (should include type == 2 - Bank Deposits)
186 $ /sales/includes/db/customers_db.inc
187 # Fixed a PHP vers. 5.xx bug. No need for & operator in function calls, only in declaration. Gives a warning.
188 $ /sales/includes/db/sales_credit_db.inc
189 # Fixed a wrong variabel declaration doc_Document_no to doc_Invoice_no
190 $ /reporting/includes/doctext.inc
191   /reporting/includes/doctext2.inc
192 # Fixed so Customer Balances and Aged Customer Analysis reports presents correct sign.  
193 $ /reporting/rep101.php
194   /reporting/rep102.php
195
196 28-Mar-2008 Janusz Dobrowolski
197 # Layout/focus fixes for no_[customer/supplier/item]_list option on
198 $  /includes/ui/ui_lists.inc
199    /purchasing/includes/ui/po_ui.inc
200    /sales/credit_note_entry.php
201    /sales/sales_order_entry.php
202    /sales/includes/ui/sales_credit_ui.inc
203    /sales/includes/ui/sales_order_ui.inc
204
205 27-Mar-2008 Janusz Dobrowolski
206 + Automatic first field focus on page start, focus order preserved between form updates
207 $  /gl/inquiry/gl_account_inquiry.php
208    /includes/page/footer.inc
209    /includes/ui/ui_controls.inc
210    /includes/ui/ui_input.inc
211    /includes/ui/ui_lists.inc
212    /includes/ui/ui_view.inc
213    /js/inserts.js
214    /sales/sales_order_entry.php
215    /sales/credit_note_entry.php
216    /sales/includes/ui/sales_credit_ui.inc
217    /sales/includes/ui/sales_order_ui.inc
218 + Data picker omitted in keyboard tabbing sequence (FF,IE, not old mozilla)
219 $  /includes/ui/ui_input.inc
220 ! Javascript recalcAccount() superseded by class='combo' behaviour binding
221 $  /gl/gl_deposit.php
222    /gl/gl_journal.php
223    /gl/gl_payment.php
224    /gl/includes/ui/gl_deposit_ui.inc
225    /gl/includes/ui/gl_journal_ui.inc
226    /gl/includes/ui/gl_payment_ui.inc
227    /includes/ui/ui_view.inc
228    /purchasing/po_entry_items.php
229    /purchasing/includes/ui/po_ui.inc
230    /sales/sales_order_entry.php
231    /sales/includes/ui/sales_credit_ui.inc
232    /sales/includes/ui/sales_order_ui.inc
233    /js/inserts.js
234 ! get_js_set_focus moved from ui_view (this is only standalone form).
235    /update_db.php
236 # Fixed debit/credit entry check 
237 $  /gl/gl_journal.php
238 # Restored GET/POST security check on path_to_root
239 $  /config.php
240
241 26-Mar-2008 Janusz Dobrowolski
242 # Bug fixes in purchase module related to tax structure changes.
243 $  /purchasing/includes/supp_trans_class.inc
244    /purchasing/includes/db/invoice_db.inc
245    /purchasing/includes/db/invoice_items_db.inc
246    /purchasing/includes/ui/invoice_ui.inc
247    /reporting/rep105.php
248
249 25-Mar-2008 Janusz Dobrowolski
250 ! Per company pdf, backup and graphics directories in 'company' dir.
251 $  /company (new dir)
252    /company/0 (new dir)
253    /company/0/images/ (new dir)
254    /company/0/images/102.jpg    (moved from inventory/manage/image)
255    /company/0/images/103.jpg    (moved from inventory/manage/image)
256    /company/0/images/104.jpg    (moved from inventory/manage/image)
257    /company/0/images/logo_frontaccounting.jpg   (moved from themes/default/images)
258    /company/0/images/logo_frontaccounting.png   (moved from themes/default/images)
259    /admin/backups.php
260    /admin/create_coy.php
261    /admin/db/maintenance_db.inc
262    /install/index.php
263    /reporting/rep102.php
264    /reporting/rep104.php
265    /reporting/rep202.php
266    /reporting/rep303.php
267    /reporting/rep706.php
268    /reporting/rep707.php
269    /reporting/includes/pdf_report.inc
270    /inventory/manage/items.php
271
272 + jscript component caching (enables browser caching and future compression)
273 $  /includes/session.inc
274    /includes/main.inc
275    /includes/page/header.inc
276    /includes/ui/ui_view.inc
277    /admin/display_prefs.php
278    /config.php
279
280 - Removed obsolete file
281 $  /sales/includes/ui/print_invoice.inc
282
283 21-Mar-2008 Janusz Dobrowolski
284 ! Total Allocation/Left to Allocate update without page submit.
285 $  /includes/ui/ui_view.inc
286    /purchasing/allocations/supplier_allocate.php
287    /sales/allocations/customer_allocate.php
288 # Fixed unvisable under IE editbutton
289 $  /themes/aqua/default.css
290    /themes/cool/default.css
291    /themes/default/default.css
292
293 20-Mar-2008 Janusz Dobrowolski
294 # Excluding delivery notes from Customer Balances, removed warnings. 
295 $  /reporting/rep101.php 
296 # Divide by zero fix on order_price==0 in new supplier invoice
297 $  /purchasing/supplier_invoice_grns.php
298 # Database bug fix in new customer entry
299 $  /sales/manage/customers.php
300 # Small bug fix (warnings) in is_date() function.
301 $  /includes/date_functions.inc
302
303 18-Mar-2008 Janusz Dobrowolski
304 # Line items editor uses POST method - no disappearing shippment info.
305 $  /sales/credit_note_entry.php
306    /sales/sales_order_entry.php
307    /sales/includes/ui/sales_credit_ui.inc
308    /sales/includes/ui/sales_order_ui.inc
309 + Added edit_button_cell() function
310 $  /includes/ui/ui_controls.inc
311 + Helper function for finding indexed submit $_POST vars.
312 $  /includes/ui/ui_input.inc
313 + New class .editbutton for buttons. Default view is link alike.
314 $  /themes/aqua/default.css
315    /themes/cool/default.css
316    /themes/default/default.css
317
318 17-Mar-2008 Janusz Dobrowolski
319 # Added rounding when needed to avoid document non cosistent documents.
320 $  /includes/banking.inc
321    /purchasing/supplier_credit_grns.php
322    /purchasing/supplier_invoice_grns.php
323    /purchasing/includes/supp_trans_class.inc
324    /purchasing/includes/ui/invoice_ui.inc
325    /purchasing/includes/ui/po_ui.inc
326    /reporting/rep107.php
327    /reporting/rep109.php
328    /reporting/rep110.php
329    /reporting/rep209.php
330    /sales/includes/cart_class.inc
331    /sales/includes/ui/sales_credit_ui.inc
332    /sales/includes/ui/sales_order_ui.inc
333    /sales/view/view_credit.php
334    /sales/view/view_dispatch.php
335    /sales/view/view_invoice.php
336    /sales/view/view_sales_order.php
337    /taxes/tax_calc.inc
338 # Sign bug for customer transactions
339 $  /reporting/rep709.php
340 # Include file conflict fix
341 $ /purchasing/includes/ui/invoice_ui.inc
342   /gl/manage/bank_accounts.php
343   /manufacturing/inquiry/where_used_inquiry.php
344   /purchasing/manage/suppliers.php
345   
346 16-Mar-2008 Janusz Dobrowolski
347 + Added javascript add-on for unobtrusive apply javascript handlers to html elements.
348 $  /js/behaviour.js
349    /js/inserts.js
350 + Added javascript source collecting functions
351 $  /includes/main.inc
352 ! Moved check_page_security(); for safe start in case of broken wa_current_user var.
353 + Added global js code collecting arrays  $js_lib, $js_static
354 $  /includes/session.inc
355 ! Changed get_js_user num to add_js_user_num; extended for percent/qty/price formatting
356 $  /includes/ui/ui_view.inc
357 + Added including javascript source colections from $js_lib, $js_static; conditional display for ajax calls
358 $  /includes/page/footer.inc
359    /includes/page/header.inc
360 ! Added including of data_checks.inc
361 $  /includes/ui.inc
362 + User side percent/exrate/qty/price input formatting via onblur handler.
363 $  /admin/gl_setup.php
364    /gl/gl_budget.php
365    /gl/manage/exchange_rates.php
366    /includes/ui/ui_input.inc
367    /inventory/purchasing_data.php
368    /inventory/reorder_level.php
369    /inventory/includes/item_adjustments_ui.inc
370    /inventory/includes/stock_transfers_ui.inc
371    /manufacturing/work_order_entry.php
372    /manufacturing/manage/bom_edit.php
373    /purchasing/po_entry_items.php
374    /purchasing/po_receive_items.php
375    /purchasing/supplier_credit.php
376    /purchasing/supplier_credit_grns.php
377    /purchasing/supplier_invoice_grns.php
378    /purchasing/supplier_trans_gl.php
379    /purchasing/allocations/supplier_allocate.php
380    /purchasing/includes/ui/po_ui.inc
381    /sales/customer_delivery.php
382    /sales/customer_invoice.php
383    /sales/allocations/customer_allocate.php
384    /sales/includes/ui/sales_credit_ui.inc
385    /sales/includes/ui/sales_order_ui.inc
386    /taxes/tax_groups.php
387    /taxes/tax_types.php
388
389 14-Mar-2008 Janusz Dobrowolski
390  + All forms fixed to accept user native numeric format.
391  $ /admin/gl_setup.php
392    /gl/bank_transfer.php
393    /gl/gl_budget.php
394    /gl/gl_deposit.php
395    /gl/gl_journal.php
396    /gl/gl_payment.php
397    /gl/includes/db/gl_db_banking.inc
398    /gl/includes/ui/gl_deposit_ui.inc
399    /gl/includes/ui/gl_journal_ui.inc
400    /gl/includes/ui/gl_payment_ui.inc
401    /gl/manage/exchange_rates.php
402    /inventory/adjustments.php
403    /inventory/cost_update.php
404    /inventory/prices.php
405    /inventory/purchasing_data.php
406    /inventory/reorder_level.php
407    /inventory/transfers.php
408    /inventory/includes/item_adjustments_ui.inc
409    /inventory/includes/stock_transfers_ui.inc
410    /inventory/manage/item_units.php
411    /manufacturing/work_order_entry.php
412    /manufacturing/inquiry/where_used_inquiry.php
413    /manufacturing/manage/bom_edit.php
414    /purchasing/po_entry_items.php
415    /purchasing/po_receive_items.php
416    /purchasing/supplier_credit_grns.php
417    /purchasing/supplier_invoice_grns.php
418    /purchasing/supplier_payment.php
419    /purchasing/supplier_trans_gl.php
420    /purchasing/allocations/supplier_allocate.php
421    /purchasing/includes/ui/po_ui.inc
422    /purchasing/inquiry/po_search.php
423    /sales/credit_note_entry.php
424    /sales/customer_credit_invoice.php
425    /sales/customer_delivery.php
426    /sales/customer_invoice.php
427    /sales/customer_payments.php
428    /sales/sales_order_entry.php
429    /sales/allocations/customer_allocate.php
430    /sales/includes/ui/sales_credit_ui.inc
431    /sales/includes/ui/sales_order_ui.inc
432    /sales/manage/customers.php
433    /sales/manage/sales_people.php
434    /sales/view/view_credit.php
435    /sales/view/view_dispatch.php
436    /sales/view/view_invoice.php
437    /sales/view/view_receipt.php
438    /sales/view/view_sales_order.php
439    /taxes/item_tax_types.php
440    /taxes/tax_groups.php
441    /taxes/tax_types.php
442  + User format functions for percent/price/exrate amounts display.
443  $ /includes/current_user.inc
444  + Input checking functions for numeric input fields in user native format
445  $ /includes/data_checks.inc
446  + Numeric input fields in user native format
447  $ /includes/ui/ui_input.inc
448  + Javascript function for conversion to/from user native numeric format.
449  $ /includes/ui/ui_view.inc
450  + New class amount for numeric input
451  $ /themes/aqua/default.css
452    /themes/cool/default.css
453    /themes/default/default.css
454  # Removed warning on adding component
455    /manufacturing/manage/bom_edit.php
456  # Quantity display correction
457    /manufacturing/inquiry/where_used_inquiry.php
458  # Fixed add_customer_trans() call
459    /gl/includes/db/gl_db_banking.inc
460
461 12-Mar-2008 Joe Hung
462  + Added update of Units of Measure and converting of deptor_trans records from release 1.XX
463  - Removed default insertion of Units of Measure. Not neccessary.
464  $ /sql/alter.sql
465    /admin/db/maintenance_db.inc (added support for update)
466
467 11-Mar-2008 Janusz Dobrowolski
468  + Table of measure moved into new table item_units
469  ! Removed $themes[] from config.php, theme list based on directory structure
470  $ /config.php
471    /includes/ui/ui_lists.inc
472    /applications/inventory.php
473    /inventory/includes/inventory_db.inc
474    /inventory/includes/db/items_units_db.inc
475    /inventory/manage/item_units.php
476    /inventory/manage/items.php
477    /sql/alter.sql
478
479 11-Mar-2008 Joe Hunt
480  # Small fix for alignment of date and due date label fields in customer_invoice.php and customer_delivery.php
481  $ /sales/customer_invoice.php
482    /sales/customer_delivery.php
483  
484 10-Mar-2008 Joe Hunt
485  # Small fix for Template Invoice in sales_order_entry.php on line 363 (duedate for Invoice).
486  $ /sales/sales_order_entry.php
487  
488 10-Mar-2008 Janusz Dobrowolski
489  + Added price list selector to sales entry (debtor_master gives only default one)
490  + Added optional submit_on_change parameter to sales ui lists
491  $ /includes/ui/ui_lists.inc
492    /sales/sales_order_entry.php
493    /sales/includes/ui/sales_credit_ui.inc
494    /sales/includes/ui/sales_order_ui.inc
495  # Additional PHP5 fixes, do_clone superseded by local ? : constructs
496  $ /sales/includes/cart_class.inc
497    /includes/ui/ui_view.inc
498    /sales/includes/sales_db.inc
499  # Fixed bogus sales_type lists in edition mode
500  $ /sales/customer_delivery.php
501    /sales/customer_invoice.php
502  # Smaller fixes, cart_class.sales_type name change
503  $ /sales/includes/ui/sales_credit_db.inc
504    /sales/credit_note_entry.php
505    /sales/customer_credit_invoice.php
506    /sales/includes/cart_class.inc
507    /sales/includes/db/sales_credit_db.inc
508    /sales/includes/db/sales_delivery_db.inc
509    /sales/includes/db/sales_invoice_db.inc
510    /sales/includes/db/sales_order_db.inc
511    /sales/includes/ui/sales_credit_ui.inc
512  # One another pmWiki name conflict removed
513  $ /admin/display_prefs.php
514  
515 09-Mar-2008 Joe Hunt
516  - Removed redundant form_types functions and the file /reporting/includes/form_types.inc. Removed table form_items
517  $ /dimensions/includes/dimensions_db.inc
518    /gl/includes/db/gl_db_banking.inc
519    /includes/main.inc
520    /inventory/includes/db/items_adjust_db.inc
521    /manufacturing/includes/db/work_order_issues_db.inc
522    /manufacturing/includes/db/work_order_produce_items_db.inc
523    /manufacturing/includes/db/work_orders_db.inc
524    /manufacturing/includes/db/work_orders_quick_db.inc
525    /purchasing/includes/db/grn_db.inc
526    /purchasing/includes/db/po_db.inc
527    /purchasing/includes/db/supp_payment_db.inc
528    /reporting/includes/form_types.inc (File removed)
529    /sales/includes/db/sales_delivery_db.inc
530    /sales/includes/db/sales_invoice_db.inc
531    /sales/includes/db/sales_order_db.inc
532    /sql/alter.sql
533  # Bug in calculating exchange rates in Reports Supplier Balances and Customer Balances
534  $ /reporting/rep101.php
535    /reporting/rep201.php
536  # clone replacement do_clone() for both PHP 4 and PHP 5.
537  $ /includes/ui/ui_view.inc (at the very bottom)
538    /sales/includes/cart_class.inc
539    
540 07-Mar-2008 Janusz Dobrowolski
541  ! Changed name tax type uniqueness constraint to (name, rate)
542  $ /includes/ui/ui_lists.inc
543    /taxes/items_tax_types.php
544  ! Tax included option moved from tax_group to sales_types table
545  $ includes/ui/ui_view.inc
546    /purchasing/includes/ui/invoice_ui.inc
547    /taxes/tax_calc.inc
548    /taxes/tax_groups.php
549    /taxes/db/tax_groups_db.inc
550    /sql/alter.sql
551  # Final rewriting of sales module, a lot of bugfixes.
552  + Template delivery/invoicing
553  + Concurrent document editing control on sql level
554  + Most of sales documents are now editable
555  + Some links to print documents after entry
556  ! Changed javascript helper function for customer allocations
557  $ /applications/customers.php
558    /includes/ui/ui_input.inc
559    /reporting/rep107.php
560    /reporting/rep109.php
561    /reporting/rep110.php
562    /sales/credit_note_entry.php
563    /sales/customer_credit_invoice.php
564    /sales/customer_delivery.php
565    /sales/customer_invoice.php
566    /sales/customer_payments.php
567    /sales/sales_order_entry.php
568    /sales/allocations/customer_allocate.php
569    /sales/allocations/customer_allocation_main.php
570    /sales/includes/cart_class.inc
571    /sales/includes/sales_db.inc
572    /sales/includes/sales_ui.inc
573    /sales/includes/db/cust_trans_db.inc
574    /sales/includes/db/cust_trans_details_db.inc
575    /sales/includes/db/custalloc_db.inc
576    /sales/includes/db/customers_db.inc
577    /sales/includes/db/payment_db.inc
578    /sales/includes/db/sales_credit_db.inc
579    /sales/includes/db/sales_delivery_db.inc
580    /sales/includes/db/sales_invoice_db.inc
581    /sales/includes/db/sales_order_db.inc
582    /sales/includes/db/sales_types_db.inc
583    /sales/includes/ui/print_invoice.inc
584    /sales/includes/ui/sales_credit_ui.inc
585    /sales/includes/ui/sales_order_ui.inc
586    /sales/inquiry/customer_allocation_inquiry.php
587    /sales/inquiry/customer_inquiry.php
588    /sales/inquiry/sales_deliveries_view.php
589    /sales/inquiry/sales_orders_view.php
590    /sales/manage/credit_status.php
591    /sales/manage/sales_types.php
592    /sales/view/view_credit.php
593    /sales/view/view_dispatch.php
594    /sales/view/view_invoice.php
595    /sales/view/view_receipt.php
596    /sales/view/view_sales_order.php
597 # Removed function name conflict with wiki help system
598    /includes/lang/language.php
599    
600 06-Mar-2008 Janusz Dobrowolski
601  + Wiki help links integration
602  $ /config.php
603    /includes/page/header.inc
604    /includes/lang/language.php
605  + Optional debuging with xdebug module
606  $ /index.php
607    /includes/db/connect_db.inc
608  ! Concurrent edition fix
609  $  /includes/systypes.inc
610  # Table header fix
611  $  /manufacturing/manage/bom_edit.php
612  # Menu layout fixes
613  $ /themes/aqua/renderer.php
614    /themes/cool/renderer.php
615    /themes/default/renderer.php
616  # Removed warning about nonexistent $_GET variable
617  $ /dimensions/inquiry/search_dimensions.php
618  # MySQL 3.xx CAST bug fix
619  $ /includes/db/manufacturing_db.inc
620    /manufacturing/includes/db/work_order_requirements_db.inc
621    /manufacturing/inquiry/where_used_inquiry.php
622
623 04-Mar-2008 Joe Hunt
624  ! Changed so that average item material price is automatic updated whenever a PO Delivery is received.
625    Changed so that a Bill of Materiel, Parent's material price, is automatic updated from underlying items.
626  $ /inventory/cost_update.php
627    /purchasing/includes/db/grn_db.inc and
628    /manufacturing/manage/bom_edit.php. 
629    /manufacturing/includes/db/work_orders_db.inc
630    /manufacturing/includes/db/work_orders_quick_db.inc
631    /manufacturing/work_order_entry.php
632   
633 21-Feb-2008 Joe Hunt
634  + Added Print for documents in /admin/view_print_transaction.php (according to our new routines).
635  $ /admin/view_print_transaction.php
636    /applications/setup.php
637   
638 17-Feb-2008 Joe Hunt
639  ! Minor change in menu and function in view_print_transaction.php
640  $ /admin/view_print_transaction.php
641    /application/setup.php
642  + Preparing for print of single documents
643  $ /reporting/includes/reporting.inc
644  ! Removing 'out' field in table tax_types
645  $ /sql/alter.sql
646    /taxes/tax_types.php
647    /taxes/db/tax_types_db.inc
648  + Added 2 functions in ui_input.inc, button and button_cell
649    /includes/ui/ui_input.inc
650
651 11-Feb-2008 Joe Hunt
652  + Added file, update_db.php, for updating company databases from an SQL script.
653  $ update_db.php (New file)
654    update.html
655   
656 06-Fef-2008 Joe Hunt
657  + Added Report, Salesman Listing, rep106.php. 
658  $ /reporting/reports_main.php
659    /reporting/rep106.php
660   
661 06-Feb-2008 Janusz Dobrowolski
662  + Separation of customer invoice issue and goods delivery.
663  + Batch invoicing for more than one delivery
664  # Corrected inadequate shipping tax calculations.
665  ! Default debugging status changed to off.
666  $ /taxes/tax_calc.inc
667    /taxes/db/tax_groups_db.inc
668    /admin/db/voiding_db.inc
669    /applications/customers.php
670    /includes/systypes.inc
671    /includes/types.inc
672    /includes/ui/ui_controls.inc
673    /includes/ui/ui_lists.inc
674    /includes/ui/ui_view.inc
675    /inventory/inquiry/stock_status.php
676    /reporting/rep105.php
677    /reporting/rep107.php
678    /reporting/rep109.php
679    /reporting/rep110.php 
680    /reporting/rep209.php
681    /reporting/reports_main.php
682    /reporting/includes/doctext.inc
683    /reporting/includes/doctext2.inc
684    /reporting/includes/form_types.inc
685    /reporting/includes/pdf_report.inc
686    /reporting/includes/reports_classes.inc
687    /sales/customer_credit_invoice.php
688    /sales/customer_invoice.php
689    /sales/sales_order_entry.php
690    /sales/customer_delivery.php 
691    /sales/includes/db/sales_delivery_db.inc 
692    /sales/includes/ui/print_invoice.inc 
693    /sales/includes/cart_class.inc
694    /sales/includes/sales_db.inc
695    /sales/includes/db/cust_trans_db.inc
696    /sales/includes/db/cust_trans_details_db.inc
697    /sales/includes/db/sales_credit_db.inc
698    /sales/includes/db/sales_invoice_db.inc
699    /sales/includes/db/sales_order_db.inc
700    /sales/includes/ui/sales_order_ui.inc
701    /sales/inquiry/customer_allocation_inquiry.php
702    /sales/inquiry/customer_inquiry.php
703    /sales/inquiry/sales_orders_view.php
704    /sales/inquiry/sales_deliveries_view.php 
705    /sales/view/view_dispatch.php
706    /sales/view/view_invoice.php
707    /sales/view/view_sales_order.php
708    /sql/alter.sql
709    config.php
710   
711 01-Feb-2008 Joe Hunt
712  ! Changed so sales orders can have more than one row with the same stock_id. In alter.sql.
713  $ /sales/includes/cart_class.inc
714    /sales/includes/db/sales_credit_db.inc
715    /sales/includes/db/sales_invoice_db.inc
716    /sales/includes/db/sales_order_db.inc
717    /sales/includes/db/cust_trans_details_db.inc
718    /sales/includes/ui/sales_order_ui.inc
719    /sales/includes/ui/sales_credit_ui.inc
720    /sales/credit_note_entry.php
721    /sales/customer_credit_invoice.php
722    /sales/sales_order_entry.php
723    /sales/customer_invoice.php
724
725 31-Jan-2008 Joe Hunt
726  ! New Release 2.0 Pre Alpha
727  $ config.php
728  # Fixed a release 2 related bug in create_coy.php
729  $ /admin/create_coy.php
730  + An alter.sql file to use for updating databases. Until the update_db.php is ready, you can use the install/update companies
731    and select the companies one by one and upload the alter.sql file to all companies. You can still run the release 2
732    with these databases changes without any new files. They are coming as soon as possible.
733  $ /sql/alter.sql (New file)  
734  # Fixed a release 2 related bug. A field in supp_trans_items were declared as integer(11). Changed to VARCHAR(11) in alter.sql
735    and 2 related files
736  $ /purchasing/supplier_trans_gl.php
737    /purchasing/includes/db/invoice_items_db.inc
738  ! Moved variables $no_item_list, $no_customer_list and $no_supplier_list in config.php to company table
739  $ /includes/ui/ui_lists.inc
740    /purchasing/includes/ui/po_ui.inc
741    /sales/includes/ui/sales_order_ui.inc
742    /admin/company_preferences.php
743    /admin/db/company_db.inc
744    config.php
745  + Created 3 new fields in salesman table for provision, break point and provision2. Included in alter.sql. 
746    Update sales_people.php.Preparing for a new Salesman report with provision etc. Selected with time range. Should be very good.
747  $ /sales/manage/sales_people.php
748    /includes/ui/ui_input.inc
749  
750 -------------------- 2,0 Pre Alpha - above ----------------------------
751 31-Jan-2008 Janusz Dobrowolski
752  # Minor bugfix in db_import()
753  $ /admin/db/maintenance_db.inc
754  
755 30-Jan-2008 Janusz Dobrowolski
756  # Minor display fix in tax_types.php
757  $ /taxes/tax_types.php
758  ! Format cleanup on some files.
759  $ /gl/includes/gl_db.inc
760    /gl/includes/gl_ui.inc
761    /applications/application.php
762    frontaccounting.php
763    index.php
764    
765 -------------------- 1.16 Stable Released ----------------------
766 28-Jan-2008 Joe Hunt
767  + Added a possibility to replace the normal listboxes for items, customer and/or suppliers with a search box.
768    The listboxes can only hold about 1000 items. New variables in config.php, $no_item_list, $no_customer_list 
769    and $no_supplier_list. Default is the normal behavior for all listboxes.
770  $ /includes/ui/ui_lists.inc
771    /sales/includes/ui/sales_orders_ui.inc
772    /purchases/includes/ui/po_ui.inc
773    /themes/default/images/locate.png (New file)
774    config.php
775
776  + Added ALTER TABLE possibility in db_import. For future releases.
777  $ /admin/db/maintenence_db.inc  
778
779  # Removed warnings 'Call-time pass-by-reference' in /includes/db/connect_db.inc and /includes/ui/ui_lists.inc
780  # Fixed File not found when loading local stylesheet.css (for other languages) in /includes/page/header.inc
781  $ /includes/db/connect_db.inc
782    /includes/ui/ui_lists.inc
783    /includes/page/header.inc
784    /access/login.php
785    
786 16-Jan-2008 Joe Hunt
787  # When login screen is displayed after session timeout page content is broken. It
788    is because of NOT using absolute paths in href attribute theme elements.
789  $ /access/login.php
790  
791 30-Dec-2007 Joe Hunt
792  # Minor adjustments in function db_export on line 325
793  $ /admin/db/maintenance_db.inc
794  
795 29-Dec-2007 Joe Hunt
796  + Added a variable, $print_invoice_no, in config.php for printing the invoice number instead of invoice reference.
797  $ config.php
798  
799  # Fixed a bug when exporting database. Exported NULL field values from NO to empty field (from mysql version 5.0.32).
800    Also fixed a unneccessary str_replace when importing sql scripts.
801  ! Changed the PDF presentation to deleting the Javascript cache before presentation.
802  $ /admin/db/maintenance_db.inc
803    /reporting/includes/pdf_report.inc
804    
805 13-Dec-2007 Joe Hunt
806  # Still bugs in trial balances and account inquiry on screen when selecting non balance accounts. Fixed.
807  $ /gl/inquiry/gl_trial_balance.php
808    /gl/inquiry/gl_account_inquiry.php
809
810 13-Dec-2007 Joe Hunt
811  # Fixed a bug when voiding a transaction (Journal Entry). An eventually underlying bank transfer was not voided.
812  $ /admin/db/voiding_db.inc
813  
814 06-Dec-2007 Joe Hunt
815  # Fixed a bug when adding lines during Payments to suppliers, the supplier was set back to the first.
816  $ /gl/gl_payment.php
817    /gl/includes/ui/gl_payment_ui.inc
818    
819  ! Changed $loc_notification to be set to 0 instead of 1.
820  $ config.php
821  
822 -------------------- 1.15 Stable Released ----------------------
823 05-Dec-2007 Joe Hunt
824  + Added email notification to stock location when available stock is below reorder level
825  $ config.php
826    /sales/includes/db/sales_order_db.inc
827    
828  # Fixed bugs in Open balances when account is not a balance account
829  $ /gl/inquiry/gl_trial_balance.php
830    /gl/inquiry/gl_account_inquiry.php
831    /reporting/rep704.php
832    /reporting/rep708.php
833    
834 -------------------- 1.14 Stable Released ----------------------
835 01-Oct-2007 Joe Hunt
836  ! Major change in the installation of modules to also accept an SQL-file for upload.
837  $ config.php
838    /admin/inst_module.php
839    /admin/db/maintenance_db.inc
840    
841 30-Sep-2007 Joe Hunt
842  # The following files were still vulnerable. Fixed
843  $ /access/login.php
844    /includes/lang/language.php
845
846 -------------------- 1.13 Stable Released ----------------------
847 14-Sep-2007 Joe Hunt
848  + Added optional link for electronic payment on invoices (PayPal). 
849  ! Better support for install/update languages.  
850  ! Minor adjustments
851  # Fixed a vulnerable item in config.php
852  $ config.php
853
854 14-Sep-2007 Joe Hunt
855  # We forgot to upload the PO file when installing new language. Used when GETTEXT is not installed on Server.
856  # config.php has been vulnerable. Fixed.
857  $ /admin/inst_lang.php
858  $ config.php
859  
860 10-Sep-2007 Joe Hunt
861  ! Changed Bank Address field from text to textarea (multirows)
862  $ /gl/manage/bank_accounts.php
863  
864 06-Sep-2007 Joe Hunt
865  + Added optional link for electronic payment on invoices (PayPal)
866  $ /reporting/reports_main.php
867    /reporting/rep107.php
868    /reporting/includes/report_classes.inc
869    /reporting/includes/pdf_report.inc
870    /reporting/includes/doc_text.inc
871    /reporting/includes/doc_text2.inc
872    
873 23-Aug-2007 Joe Hunt
874  # Unnecessary parameter ($db) in check_for_recursive_bom
875  $ /manufacturing/manage/bom_edit.php
876  
877 21-Aug-2007 Joe Hunt
878  # Bug in /includes/lang/gettext.php (249) affecting changing language!
879  $ /includes/lang/gettext.php
880  
881 08-Aug-2007 Joe Hunt
882  # Minor adjustments
883  $ config.php
884    /access/login.php
885    /admin/create_coy.php
886    /reporting/includes/pdf_report.inc
887    
888 04-Aug-2007 Joe Hunt
889  + Added a default fiscal year in the en_US-new.sql and start references.
890  $ /sql/en_US-new.sql
891  ! Changed some specific text strings in en_US.po (E.g. TAX instead of VAT)
892  $ /lang/en_US/LC_MESSAGES/en_US.mo
893  
894 03-Aug-2007 Joe Hunt
895  # A bug in Direct Invoicing (wrong Invoice Date) has been fixed.
896  $ /sales/includes/db/sales_order_db.inc
897  
898 23-Jul-2007 Joe Hunt
899  # Changed <? in front of 2 files to <?php.
900  $ /purchasing/includes/purchasing_ui.inc
901    /reporting/includes/class.mail.inc
902    
903 -------------------- 1.12 Stable Released ----------------------
904 21-Jul-2007 Joe Hunt
905  + Added option to handle Jalali and Islamic Calendars
906  ! Minor adjustments
907  $ config.php
908    /gl/includes/db/gl_db_trans.inc
909    /includes/date_functions.inc
910    /includes/ui/ui_input.inc
911    /includes/ui/ui_lists.inc
912    /includes/ui/ui_view.inc
913    /purchasing/po_receive_items.php
914    /purchasing/includes/ui/invoice_ui.inc
915    /purchasing/includes/ui/po_ui.inc
916    /reporting/rep705.php
917    /sales/includes/db/sales_order_db.inc
918    /sales/includes/ui/sales_order_ui.inc
919    
920 20-Jul-2007 Joe Hunt
921  ! Changed parameters on report Sales Order. Option to print as Quote.
922  $ /reporting/reports_main.php
923    /reporting/rep109.php
924    /reporting/includes/pdf_report.inc
925    /reporting/includes/doctext.inc
926    /reporting/includes/doctext2.inc
927  
928 19-Jul-2007 Joe Hunt
929  + Added Budget Entry in General Ledger. Includes Dimensions.
930  $ config.php
931    /applications/generalledger.php
932    /gl/gl_budget.php (New File!)
933    /gl/includes/db/gl_db_trans.inc
934    /includes/date_functions.inc
935    /reporting/report_classes.inc
936    
937 -------------------- 1.11 Stable Released ----------------------
938 04-Jul-2007 Joe Hunt
939  ! Option for using alpha numeric chart of accounts.
940  $ config.php
941    /gl/manage/gl_accounts.php
942    /gl/includes/db/gl_db_accounts.inc
943    /gl/includes/db/gl_db_bank_trans.inc
944    /gl/includes/db/gl_db_trans.inc
945    /gl/inquiry/gl_trial_balance.inc
946    /admin/db/company_db.inc
947    /inventory/includes/db/items_db.inc
948    /sales/manage/customer_branches.inc
949
950 04-Jul-2007 Joe Hunt
951  # Problems retrieving language texts for poEdit in long javascripts
952  $ /includes/ui/ui_view.inc
953  
954 04-May-2007 Joe Hunt
955  # Database error when updating more than one item row in Sales Orders.
956  $ /sales/includes/db/sales_order_db.inc
957  # Database error when inserting work order issues. Fixed.
958  $ /manufacturing/includes/db/work_order_issues_db.inc
959  
960 03-May-2007 Joe Hunt
961  # Multiple tables and JOIN's have syntax changes in MySQL 5.0.12. Need parentheses.
962  $ /includes/db/manufacturing_db.inc
963    /manufacturing/includes/db/work_order_requirements_db.inc
964
965 02-May-2007 Joe Hunt
966  # Missing details on Purchase Order when emailing and printing
967  $ /reporting/rep209.php
968  
969 -------------------- 1.1 Stable Released ----------------------
970 02-May-2007 Joe Hunt
971  + Enabled module addons and all the below bugfixes. No changes in database structure.
972  - Removed /sql/basic.sql (included in the other sql files)
973  - Removed /themes/default/images/left.gif and /themes/default/images/right.gif 
974    (not needed anymore).
975  + Addition of update.html  
976  $ /admin/inst_module.php (New file!)
977    /applications/customers.php
978    /applications/dimensions.php
979    /applications/generalledger.php
980    /applications/inventory.php
981    /applications/manufacturing.php
982    /applications/setup.php
983    /applications/suppliers.php
984    /install/index.php
985    /install/save.php
986    /modules/inst_modules.php (New folder and new file!)
987    /modules/index.php (New file!)
988    /sql/en_US-demo.sql
989    /sql/en_US-new.sql
990    install.html
991    update.html (New file!)
992    
993 01-May-2007 Joe Hunt
994  # Missing measure of units when printing sales orders
995  # Update of Sales People caused a database error
996  $ /sales/manage/sales_people.php
997    /reporting/rep109.php
998  
999 30-Apr-2007 Joe Hunt
1000  + The selected menu tab is now shown with same background as hover color.
1001  $ config.php (default tab line 77. Change if you want)
1002    /includes/page/header.inc
1003    
1004 28-Apr-2007 Joe Hunt
1005  # When saving work order entries a lot of debug boxes appeared. Fixed
1006  # When clicking on the link, Issue, on work order inquires an empty screen appeared. Fixed
1007  # When retrieving work centres id's there was a database error. Fixed by casting string to unsigned
1008  $ /includes/db/manufacturing_db.inc
1009    /manufacturing/work_order_entry.php
1010    /manufacturing/includes/work_order_issue_ui.inc
1011    /manufacturing/includes/db/work_order_requirements_db.inc
1012    /manufacturing/includes/db/work_orders_quick_db.inc
1013    /manufacturing/inquiry/where_used_inquiry.php
1014    
1015 25-Apr-2007 Joe Hunt
1016  # Missing Date Picker
1017  $ /sales/customer_invoice.php
1018  # No JS popup window
1019  $ /sales/view/view_invoice.php
1020  
1021 24-Apr-2007 Joe Hunt
1022  ! New and better Date Picker, better cool theme.
1023  $ /includes/ui/ui_input.inc
1024    /includes/ui/ui_view.inc
1025    /reporting/includes/reports_classes.inc
1026    /themes/cool/default.css
1027
1028 -------------------- 1.0.1 Stable Released ----------------------
1029 23-Apr-2007 Joe Hunt
1030  ! Release 1.0.1 established on SourceForge, fixing the bugs and including a Date Picker,
1031    the changes for selection lists customers/suppliers and the Audit Trail.
1032
1033 22-Apr-2007 Joe Hunt
1034  ! Changed the two selection lists for customers/suppliers in reports to a single one with
1035    No Filter
1036  ! Changed the sort order in these selection lists from id to name.
1037  + Added Audit Trail in GL trans. A switch in config.php, $use_audit_trail, must be set to 1.
1038  $ /reporting/reports_main.php
1039    /reporting/rep101.php
1040    /reporting/rep102.php
1041    /reporting/rep201.php
1042    /reporting/rep202.php
1043    /reporting/rep203.php
1044    /reporting/rep204.php
1045    /reporting/includes/reports_classes.inc
1046    /includes/ui/ui_lists.inc
1047    /gl/includes/db/gl_db_trans.inc
1048    config.php
1049    
1050 22-Apr-2007 Joe Hunt
1051  + Date Picker for all date fields.
1052  $ config.php
1053    /admin/fiscalyears.php
1054    /admin/void_transaction.php
1055    /includes/ui/ui_view.inc
1056    /includes/ui/ui_input.inc
1057    /dimensions/dimension_entry.php
1058    /dimensions/inquiry/search_dimensions.php
1059    /gl/gl_journal.php
1060    /gl/gl_deposit.php
1061    /gl/gl_payment.php
1062    /gl/bank_transfer.php
1063    /gl/inquiry/bank_inquiry.php
1064    /gl/inquiry/gl_account_inquiry.php
1065    /gl/inquiry/gl_trial_balance.php
1066    /gl/manage/exchange_rates.php
1067    /inventory/adjustments.php
1068    /inventory/transfers.php
1069    /inventory/inquiry/stock_movements.php
1070    /inventory/manage/items.php
1071    /manufacturing/work_order_add_finished.php
1072    /manufacturing/work_order_entry.php
1073    /manufacturing/work_order_issue.php
1074    /manufacturing/work_order_release.php
1075    /purchasing/supplier_payment.php
1076    /purchasing/po_entry_items.php
1077    /purchasing/po_receive_items.php
1078    /purchasing/supplier_credit.php
1079    /purchasing/supplier_credit_grns.php
1080    /purchasing/supplier_invoice.php
1081    /purchasing/supplier_invoice_grns.php
1082    /purchasing/supplier_trans_gl.php
1083    /purchasing/includes/ui/po_ui.inc
1084    /purchasing/inquity/po_search.php
1085    /purchasing/inquiry/po_search_completed.php
1086    /purchasing/inquiry/supplier_allocation_inquiry.php
1087    /purchasing/inquiry/supplier_inquiry.php
1088    /reporting/reports_main.php
1089    /reporting/includes/reports_classes.inc
1090    /sales/credit_note_entry.php
1091    /sales/customer_credit_invoice.php
1092    /sales/customer_payments.php
1093    /sales/sales_order_entry.php
1094    /sales/includes/ui/sales_order_ui.inc
1095    /sales/inquiry/customer_allocation_inquiry.php
1096    /sales/inquiry/customer_inquiry.php
1097    /sales/inquiry/sales_orders_view.php
1098    New image files:
1099    /themes/default/images/cal.gif
1100    /themes/default/images/next.gif
1101    /themes/default/images/prev.gif
1102
1103 19-Apr-2007 Joe Hunt
1104  # Bug no 1703895, Account numbers are varchars, need quotes, fixed
1105  # Bug no 1703891, Reserved MySQL words used as column names, fixed
1106  $ /taxes/db/tax_types_db.inc
1107
1108  # Bug no 1703888, Apostrophes and other unescaped characters, fixed
1109  $ /gl/manage/gl_accounts.php
1110    /gl/includes/db/gl_db_accounts.inc
1111    /includes/ui/ui_input.inc
1112
1113 18-Apr-2007 Joe Hunt
1114  # Bug no 1702594, Logon Loop, fixed
1115  $ config.php
1116
1117 -------------------- 1.0a Stable Released ----------------------
1118 10-Apr-2007 Joe Hunt
1119  ! Release 1.0a established on SourceForge, fixing the bugs.
1120
1121 11-Apr-2007 Joe Hunt
1122  # Bug No 1698214, Creating Items, fixed
1123  $ /includes/ui/ui_lists.inc
1124  # Bug no 1698216, Item Movements, fixed
1125  $ /inventory/manage/items.php
1126
1127 -------------------- 1.0 Stable Released ----------------------
1128 10-Apr-2007 Joe Hunt
1129  ! Release 1.0 established on SourceForge.
1130
1131 2. Copyright and disclaimer
1132 ---------------------------
1133 This application is opensource software released under the GPL.  Please
1134 see source code and the LICENSE file