summaryrefslogtreecommitdiff
path: root/doc/release_notes
blob: dd74738db1db7b691d325625f20cd07102674382 (plain)
  1. RELEASE NOTES
  2. LedgerSMB 1.2.11
  3. 1: Welcome to LedgerSMB
  4. LedgerSMB is an accounting and ERP program initially aimed at small to midsize
  5. businesses. Currently the financials and supply chain management modules are
  6. fairly complete, while other modules such as project management exist in a
  7. rudamentary form. The initial features are identical to SQL-Ledger 2.6.17 from
  8. which it was derived, but the feature set is starting to diverge rapidly.
  9. 1.1 System Requirements:
  10. * Perl 5.8.
  11. * Apache, IIS, or other web server that supports CGI.
  12. * PostgreSQL 8.0 or higher. 7.3 and 7.4 could be supported with some effort but
  13. will not work out of the box.
  14. * Any operating system that supports the above environment.
  15. * The following CPAN modules:
  16. * Data::Dumper
  17. * Locale::Maketext
  18. * Locale::Maketext::Lexicon
  19. * MIME::Base64
  20. * Digest::MD5
  21. * HTML::Entities
  22. * DBI
  23. * DBD::Pg
  24. * Math::BigFloat
  25. * IO::File
  26. * Encode
  27. * Locale::Country
  28. * Locale::Language
  29. * Time::Local
  30. * Cwd
  31. * Config::Std
  32. * MIME::Lite
  33. 2: What's New in 1.2?
  34. 2.1: Database changes:
  35. All core tables now have defined primary keys. This allows Slony-I to be
  36. supported out of the box.
  37. Chris Browne has contributed a setup script for Slony. It is in the
  38. utils/replication directory.
  39. Also all user information has been moved into the database and the password
  40. algorythm has been changed from crypt to md5. This means that users will need
  41. to convert their accounts prior to first login on the new system (if this is an
  42. upgrade).
  43. Also now the defaults table has moved from a one column per value structure to a simple key->value structure.
  44. 2.2: Security
  45. LedgerSMB 1.2 has been through a detailed SQL injection audit of the codebase
  46. inherited from SQL-Ledger. As a result several vulnerabilities which were known
  47. to be exploitable were corrected along with hundreds of places where
  48. vulnerabilities may have been exploitable but we didn't have time to verify the
  49. what was involved in exploiting it. We believe though that many or most of the
  50. issues were exploitable given a little time and effort.
  51. Also, we discovered the template editor's security system was moved from
  52. blacklisting to whitelisting, eliminating a whole class of possible security
  53. issues.
  54. 2.3: New Features in 1.2.x
  55. Metatron Technology Consulting's SL-POS codebase was merged with this project,
  56. providing a framework for POS hardware support and more.
  57. Online credit card processing support has been added.
  58. LSMB now supports an arbitrary number of defined currencies for a business and
  59. is no longer limited to 3.
  60. 2.4: Localization Changes
  61. Localization functions now use Gettext .po files on all platforms. This means
  62. that standard translation management tools will work with LSMB translations.
  63. 2.5: Other changes
  64. The ledger-smb.conf is now an inifile which will reduce the level of expertise
  65. necessary to configure it for non-Perl users.
  66. 3: Known Issues
  67. 3.1: Reposting Invoices:
  68. Reposting invoices is known to cause inaccuracies cost of goods sold and
  69. inventory accounts. This problem has been confirmed to affect SQL-Ledger 2.6.x
  70. as well and is caused by problems involving the de-allocation and trasaction
  71. reversal routines. It will be corrected (by removing the ability to truly
  72. repost invoices) in an upcoming version as we continue to re-engineer the
  73. application.
  74. Additionally there is a known issue where reposting invoices more than once causes
  75. a primary key issue on the transactions table. A fix for this is distributed in
  76. sql/fixes.
  77. 3.2: Tax rate changes
  78. LedgerSMB 1.2.x's database structure does not handle tax rate changes properly. A
  79. fix for this is in the sql/fixes directory.
  80. 3.3: Warehouse Tracking
  81. LedgerSMB inherited an issue from SQL-Ledger where a shipped sales order deletes all
  82. known shipping information. There is a fix for this in the sql/fixes directory.
  83. 3.4: Recurring transactions
  84. LedgerSMB's database structure does not handle certain areas properly regarding
  85. recurring transactions. A fix for this issue is in the sql/fixes directory.
  86. 4: Differences between LedgerSMB and SQL-Ledger(TM)
  87. 4.1: Login name restrictions
  88. Logins in SQL-Ledger can contain any printable characters. In LedgerSMB these
  89. are restricted to alphanumeric characters and the symbols ., @, and -.
  90. 4.2: Session handling
  91. SQL-Ledger as of 2.6.17 used session tokens for authentication. These tokens
  92. are based on the current timestamp and therefore insecure. Furthermore, these
  93. tokens are not tracked on the server, so one can easily forge credentials for
  94. either the main application or the administrative interface. While this was
  95. corrected in 2.6.18, the solutions chosen by SQL-Ledger (caching the crypted
  96. password by the browser) is not in line with commonly accepted best security
  97. practices.
  98. LedgerSMB stores the sessions in the database. These are generated as md5 sums
  99. of random numbers and are believed to be reasonably secure. The sessions time
  100. out after a period of inactivity. In the initial release both
  101. SQL-Ledger-style session ID's and the newer version were required to access the
  102. application. In newer versions, the SQL-Ledger style session ID's have been
  103. removed.
  104. 4.3: Database Changes
  105. Under certain circumstances where the Chart of Accounts is improperly modified,
  106. it is possible to post transactions such that a portion of the transaction is
  107. put into a NULL account. LedgerSMB does not allow NULL values in the chart id
  108. field of the transaction.
  109. Also, the transaction amount has been changed from FLOAT to NUMERIC so that
  110. arbitrary precision mathematics can be used in third party reports. This ought
  111. to also allow SQL-Ledger to properly scale up better as SUM operations on
  112. floating points are unsafe for large numbers of records where accounting data is
  113. involved.
  114. 5: Roadmap
  115. This project has no defined roadmap but rather a set of statements and
  116. objectives contained in the documentation manager and trackers of sourceforge.
  117. In general, our development is focused around the following principles:
  118. * LSMB as infrastructure: LSMB should be accessible from other applications.
  119. * Universal applicability: LSMB should be usable by any any business and should
  120. always do the right thing in the background. Businesses should never find that
  121. they have outgrown the software.
  122. * Focus on Small to Midsize Businesses: LSMB's core market will remain in the
  123. small to midsize market.
  124. 6: Get Involved
  125. Contributors should start by joining the LedgerSMB users and devel lists. Code
  126. contributions at the moment must be committed by either project maintainer and
  127. should be submitted either using the patches interface at Sourceforge or the
  128. devel mailing lists.
  129. Additionally, we can use help in QA, documentation, advocacy, and many other
  130. places.
  131. SQL-Ledger is a registered trademark of DWS systems and is not affiliated with
  132. this project or its members in any way.
  133. DEPRECATIONS:
  134. =============================
  135. The entire set of Perl modules and database structures should be seen as
  136. deprecated from the perspective of add-on development. For advice in making
  137. add-ons as upgrade-safe as possible, please email the -devel list. Please
  138. include a description of what you are trying to accomplish.
  139. KNOWN ISSUES:
  140. ==============================
  141. The POS printing system gives an access denied message because the printer
  142. triggers the directory transversal checks. To work around this problem, ensure
  143. that you do not need to use absolute paths for the printer program (use lpr or
  144. put netdirect.pl in /usr/local/bin and reference without the full path).
  145. Bugs Fixed in 1.2.6:
  146. ================================
  147. 1) Customer_id field not found error when posting AP transaction. This error
  148. was caused by a mistake in the performance optimizations made in 1.2.5.
  149. 2) Erroneous headers printed to balance sheet and income statement.
  150. 3) Meta tags were added to force UTF-8 charsets, fixing occasional display
  151. issues with multibyte characters where Apache was misconfigured.
  152. 4) ledgersmb-httpd.conf is now more internally consistant. The alias directive
  153. was changed to /ledgersmb (from /ledger-smb).
  154. 5) Minor html fixes were added to ca.pl, contributed by Donna Robertson
  155. 6) Error when searching for customer by address is corrected.
  156. 7) Invalid format for integer error fixed when saving projects unconnected to
  157. customers.
  158. None of the above fixes involved changes to API's that are widely used by the
  159. application. Impacts elsewhere from these bug fixes should be minimal.
  160. 8) Unbound placeholder error when saving items with custom fields. This error
  161. involved a centrally used API that is invoked when custom fields exist. The fix
  162. is only likely to affect those installations which have custom fields attached
  163. to orders, invoices, or parts.