expresso_livre:guilherme_bisotto_expressolivre3.git
4 years agoTask #10029 - Corrected problems with password expiration time Task10029
Guilherme Striquer Bisotto [Wed, 20 Aug 2014 13:17:10 +0000 (10:17 -0300)]
Task #10029 - Corrected problems with password expiration time

4 years agoMerge branch 'task10029' of gitorious.org:expresso_livre/fgsl-expressolivre3 into...
Guilherme Striquer Bisotto [Wed, 20 Aug 2014 12:50:58 +0000 (09:50 -0300)]
Merge branch 'task10029' of gitorious.org:expresso_livre/fgsl-expressolivre3 into Task10029

4 years agoTask #10604 - Fix opening corrupted utf-8 messages
Cassiano Dal Pizzol [Mon, 18 Aug 2014 22:05:06 +0000 (19:05 -0300)]
Task #10604 - Fix opening corrupted utf-8 messages

- Force UTF-8 encoding in messages where this was the detected encoding

Change-Id: Ib3f43f4008026d2152c15194e83838ffcb3bc7d7

4 years agoTask #10601 - Change email folder tooltip
Cassiano Dal Pizzol [Fri, 15 Aug 2014 20:01:14 +0000 (17:01 -0300)]
Task #10601 - Change email folder tooltip

- Created a new translation to show size and available space on the
  tooltip
- Added the percentage of the free space on the tooltip
- Changed the exibition on the status bar to have one decimal

Change-Id: I51a44cd41244b4287f61ef7521665e75fad90d58

4 years agoRevert "Task #10017 - Add LocalStorage state provider"
Cassiano Dal Pizzol [Mon, 18 Aug 2014 12:38:36 +0000 (09:38 -0300)]
Revert "Task #10017 - Add LocalStorage state provider"

This reverts commit d4c98b007ec6e5c9228aae4d8229fc0994ee462b.

4 years agoTask #10543 - Show user quota on shared folders
Cassiano Dal Pizzol [Fri, 15 Aug 2014 13:30:41 +0000 (10:30 -0300)]
Task #10543 - Show user quota on shared folders

- Created a new method to get the user namespace on the IMAP backend
- Changed the method get on the folder backend so it gets the quota for
  the shared folder AND for the 'Arquivo Remoto' from the shared folder

Change-Id: Ibd2cfd4dadfb34fdac470cdc69cf4d6e4a72ccd1

4 years agoTask #10587 - Fix error that prevented send encrypted mail
Mario Kolling [Thu, 14 Aug 2014 18:39:50 +0000 (15:39 -0300)]
Task #10587 - Fix error that prevented send encrypted mail

- Fix call to method Tine.Expressomail.addSecurityApplet when
  loading Applet at MessageEditDialog initialization
- Refactor Applet loading code during MessageEditDialog
  initialization, namely, create message action with "always
  sign" option and create encrypted message action, to execute
  into method onShow()

Change-Id: I05831fd3b54b05bab8a20e759e49a6fc122425d9

4 years agoTask #10588 - Fix syntax error notices
Flávio Gomes da Silva Lisboa [Wed, 13 Aug 2014 13:43:08 +0000 (10:43 -0300)]
Task #10588 - Fix syntax error notices

- File Filtros.php is not used and there are syntax errors on it.

Change-Id: I142bdc5c8e0dca05ecccf6aa72a9799c985b13de

4 years agoTask #10332 - Fix attachment when forwarding signed messages
Mario Kolling [Fri, 8 Aug 2014 21:21:06 +0000 (18:21 -0300)]
Task #10332 - Fix attachment when forwarding signed messages

- Refactor download of attachments contents when forwarding
  encrypted messages.
- Implemented download of attachments contents for signed
  messages when forwarding

Change-Id: I92211d0d0bd7e430db52ba2439aac3c127f9cce4

4 years agoTask #10580 - Clear sensitive data if sending encrypted mail
Mario Kolling [Tue, 12 Aug 2014 20:15:16 +0000 (17:15 -0300)]
Task #10580 - Clear sensitive data if sending encrypted mail

- Before sending encrypted mail clear body, attachments, etc
  from message model except eml of encrypted mail.

Change-Id: I410a5bff77287c4aa30658f9509e806d7880bf7f

4 years agoTask #10574 - Fix error due to Zend library update
Mario Kolling [Fri, 8 Aug 2014 19:10:48 +0000 (16:10 -0300)]
Task #10574 - Fix error due to Zend library update

- After update, method Zend_Mime::decode() was missing
- Implemented decoding rigth into method getDecodedContent()
  of Zend_Mime_Part class

Change-Id: Idb32f800c219c575eb4bf9d7b78a153749bbc3bd

4 years agoTask #9086 - Remove temp files from server
Rommel Cysne [Wed, 6 Aug 2014 20:46:09 +0000 (17:46 -0300)]
Task #9086 - Remove temp files from server

  - Temp files generated by attachments will be removed
    from tempdir if the e-mail is sent successfully

Change-Id: If9c54ff8b026c252a6425181019fcce664c0a789

4 years agoTask #10533 - Fix embedded images in encrypted mail in ie9
Mario Kolling [Tue, 5 Aug 2014 15:06:06 +0000 (12:06 -0300)]
Task #10533 - Fix embedded images in encrypted mail in ie9

- Added eid param when uploading embedded images through form
  upload. Param was missing.

Change-Id: I82e5dabf7cde8771a57284ce1eb485d149947a9e

4 years agoTask #10029 - Refactoring of method Tinebase_Controller->login()
Flávio Gomes da Silva Lisboa [Fri, 18 Jul 2014 17:16:46 +0000 (14:16 -0300)]
Task #10029 - Refactoring of method Tinebase_Controller->login()

 - Applied refactoring technique "Extract Method" for methods
   login() of Tinebase_Controller and Tinebase_Frontend_Json
 - Aim is reducing complexity and avoid conflicts for changes
   made into login implementation.
 - Fixed error when expiration password control is enabled
 - Fixed error when digital certificate is used

4 years agoTask #10507 - Fix Search of Lists
Cassiano Dal Pizzol [Thu, 7 Aug 2014 23:59:03 +0000 (20:59 -0300)]
Task #10507 - Fix Search of Lists

- When searching for lists with too many emails the system does not
  freeze anymore.
- Removed references to the 'emails' field in the List models and added
  the description
- Changed the lower visualization to show the description of the list
- Created a new public method to search and return the formated list
  of emails

Change-Id: I90d20ecd42844149c1fe5ed8e9602da8bd4c3505

4 years agoTask #10433 - Created plugin system for setup initialize
Guilherme Striquer Bisotto [Fri, 18 Jul 2014 19:11:59 +0000 (16:11 -0300)]
Task #10433 - Created plugin system for setup initialize

- Added an array to store all setup initialize plugins in
  Setup_Initialize class;
- To use it, a class that implements Setup_Initialize_Custom_Interface
  must be created. The method applyCustomizations will be executed after
  the execution of initialize method of <Application>_Setup_Initialize
  class.

4 years agoTask #10492 - Error when searches for pattern into translation file
Flávio Gomes da Silva Lisboa [Fri, 1 Aug 2014 17:53:57 +0000 (14:53 -0300)]
Task #10492 - Error when searches for pattern into translation file

 - Disabled error alert for parameter with unexpected type
 - If type is unexpected the behavior is same for a filename
   out of pattern.

4 years agoTask #10489 - fix IMAP folders creation at login.
Lucas Alberto [Fri, 1 Aug 2014 14:33:19 +0000 (11:33 -0300)]
Task #10489 - fix IMAP folders creation at login.

 - At login, do not throws exception if there is no Imap INBOX.
 - Fix access to the session object of the Expressomail module.

Change-Id: I8e17d04cf4a0902162a58e442f26a458c9431281

4 years agoTask #10452 - Fix error reading from library
Flávio Gomes da Silva Lisboa [Wed, 23 Jul 2014 20:29:04 +0000 (17:29 -0300)]
Task #10452 - Fix error reading from library

 - Try to read file from root folder, if it doesn't exist, try to read
   from library folder.

Change-Id: I665ffabb79de8b59ae38276e2fc3517a7942aa9d

4 years agoTask #10017 - Add LocalStorage state provider
Marcelo Teixeira [Tue, 27 May 2014 17:13:21 +0000 (14:13 -0300)]
Task #10017 - Add LocalStorage state provider

- LocalStorage state provider implementation (do not store anything in
  database)
- Add 3 state providers options to setup (persistent, localStorage,
  none)

Change-Id: I2a4f598726bc4bd604e8a336330de87843230859

4 years agoTask #10448 - Show images in emails from Outlook Express
Bruno Vieira Costa [Wed, 23 Jul 2014 16:42:55 +0000 (13:42 -0300)]
Task #10448 - Show images in emails from Outlook Express

Change-Id: Ic296e3f8785b3534deaa40133ddb3540ca70fff6

4 years agoTask #10421 - SEC: update of library Zend for 1.12.7
Flávio Gomes da Silva Lisboa [Tue, 15 Jul 2014 19:42:20 +0000 (16:42 -0300)]
Task #10421 - SEC: update of library Zend for 1.12.7

- Fix of vulnerability http://framework.zend.com/security/advisory/ZF2014-01
- Fix of vulnerability http://framework.zend.com/security/advisory/ZF2014-02
- Fix of vulnerability http://framework.zend.com/security/advisory/ZF2014-04
- Requires Zend Framework 1.12.7 into setup (vulnerabilities are not options!)
- Removed double authentication call
- Decoupled recovering of user from synchronization

4 years agoTask #6767 - Add signer's Digital Certificate verification
Mario Kolling [Fri, 18 Jul 2014 20:22:02 +0000 (17:22 -0300)]
Task #6767 - Add signer's Digital Certificate verification

- When sending signed emails (including signed and encrypted
  emails), the system do a call to Tinebase.verifyCetificate.
- The server do chain validation and revocation and return the
  results.
- If validation is ok, the system sends the email, if not the
  system show an error message.

Change-Id: Ia43e2394c2639c7449e0c4bbb964f1626ad6dea5

4 years agoTask #10372 - Creation of system for new backend types
Guilherme Striquer Bisotto [Tue, 8 Jul 2014 13:56:20 +0000 (10:56 -0300)]
Task #10372 - Creation of system for new backend types

- Altered User, Group and Auth: included method addCustomBackend for
  registration of new backend types;
- Altered backend classes to provide configuration defaults
  independently of User, Group or Auth classes;
- Altered AuthenticationPanel.js to provide an easiest form to include
  new configuration section for the new backend.

4 years agoTask #7454 - Add note to contact after adding unknown contacts
Fernando Lages [Wed, 23 Jul 2014 18:26:08 +0000 (15:26 -0300)]
Task #7454 - Add note to contact after adding unknown contacts

- Moved add unknown contacts procedure from js to php in order to
do only one ajax call to server
- Changed note addition to be done after unknown contacts
- Fixed a bug on adding note to contact in a digitally signed mail

Change-Id: Ia98d40afc8b4d14751f870ab7dbe2f3609e7f085

4 years agoTask #10416 - Correct the xDav/ActiveSync sessions.
Gabriel Malheiros [Fri, 18 Jul 2014 19:57:59 +0000 (16:57 -0300)]
Task #10416 - Correct the xDav/ActiveSync sessions.

4 years agoTask #7230 - New version webconference.
Edgar Lucca [Fri, 4 Jul 2014 14:17:39 +0000 (11:17 -0300)]
Task #7230 - New version webconference.

- New Interface for Tine pattern.

Change-Id: Ib714624b2aec5a1b2479c98373a1d517ecc1d657

4 years agoTask #10440 - Treat iso646 charset in emails correctly
Bruno Vieira Costa [Mon, 21 Jul 2014 12:44:41 +0000 (09:44 -0300)]
Task #10440 - Treat iso646 charset in emails correctly

Change-Id: I8b40f4bdaf001946c03bf5661e47c74da8d2e003

4 years agoTask #10426 - Treat error forwarding emails with broken imgs
Bruno Vieira Costa [Mon, 21 Jul 2014 12:41:56 +0000 (09:41 -0300)]
Task #10426 - Treat error forwarding emails with broken imgs

Change-Id: Ia73fc9b75314bac305c34922d01e6031846d6b05

4 years agoTask #10424 - Fix name exibition
Bruno Vieira Costa [Wed, 16 Jul 2014 17:39:09 +0000 (14:39 -0300)]
Task #10424 - Fix name exibition

Change-Id: Ia4b880c08810a0c3e004516a573cd9320f658fcf

4 years agoTask #10360 - Change plugin name from Serpro to Custom Part2
Marcelo Teixeira [Wed, 2 Jul 2014 17:32:32 +0000 (14:32 -0300)]
Task #10360 - Change plugin name from Serpro to Custom Part2

- Change plugin references in Addressbook, Expressomail and Zend

4 years agoTask #10395 - Fix broken images when resizing on sending e-mail
Mario Kolling [Tue, 15 Jul 2014 13:39:24 +0000 (10:39 -0300)]
Task #10395 - Fix broken images when resizing on sending e-mail

- Fix regular expression for img tag in html body, matching
  extra attributes

Change-Id: Id979aaad080775f0858fd6f94ac0a4f7f175a374

4 years agoTask #10398 - Do not update the mail accounts from other users.
Bruno Vieira Costa [Mon, 14 Jul 2014 17:12:14 +0000 (14:12 -0300)]
Task #10398 - Do not update the mail accounts from other users.

Change-Id: Ib756d825aa68dd2263bc38e21a407825e7cad4fe

4 years agoTask #10305 - Correct insert task with focus field
Gabriel Malheiros [Wed, 2 Jul 2014 19:37:05 +0000 (16:37 -0300)]
Task #10305 - Correct insert task with focus field

Change-Id: Ib1d12d4e28d188bdba2c205e68c95873f97b58f0

4 years agoTask #10378 - Fix regexp to match downloadAttachment url changes
Mario Kolling [Thu, 10 Jul 2014 14:28:49 +0000 (11:28 -0300)]
Task #10378 - Fix regexp to match downloadAttachment url changes

- Added non-capturing group match for subsequent params after partId

Change-Id: I245d59c25dd8f8a14945b99b39b217dd70150247

4 years agoRevert "Task #10378 - Fix regexp to match downloadAttachment url changes"
Cassiano Dal Pizzol [Fri, 11 Jul 2014 17:54:53 +0000 (14:54 -0300)]
Revert "Task #10378 - Fix regexp to match downloadAttachment url changes"

This reverts commit 61a9c15670a59f2e7d3d7800b8ecae25b073ee8e.

Change-Id: I78b3abea6881a5c5f41ea30869571a9b65c72acd

4 years agoTask #10334 - Fix calls to frontend attached plugin methods
Marcelo Teixeira [Fri, 4 Jul 2014 14:13:34 +0000 (11:13 -0300)]
Task #10334 - Fix calls to frontend attached plugin methods

- Add frontend plugin methods to json service api
- Frontend plugin methods are now available for ajax requests

Change-Id: Ib0899b95ab60e1b1dcb0d6f6e9080c00383740cd

4 years agoTask #10362 - Change the way a List of Contacts is loaded
Cassiano Dal Pizzol [Mon, 7 Jul 2014 14:30:15 +0000 (11:30 -0300)]
Task #10362 - Change the way a List of Contacts is loaded

- Created a new listContactModel to search the contacts in a list
  without submiting all the contacts of a list
- Created a new backend to return the contacts of a list
- Created a new model for the Contact List
- Created Hooks for pagination
- Created a specific search to improve the contact search

Change-Id: Ic0c9e20119ddc42548d251994205c04b51f1a551

4 years agoTask #10378 - Fix regexp to match downloadAttachment url changes
Mario Kolling [Thu, 10 Jul 2014 14:28:49 +0000 (11:28 -0300)]
Task #10378 - Fix regexp to match downloadAttachment url changes

- Added non-capturing group match for subsequent params after partId

Change-Id: I5551b4405d39ed5bd9f36a73e128970479688ca2

4 years agoRevert "Task #10362 - Change the way a List of Contacts is loaded"
Cassiano Dal Pizzol [Thu, 10 Jul 2014 17:38:53 +0000 (14:38 -0300)]
Revert "Task #10362 - Change the way a List of Contacts is loaded"

This reverts commit 74220370e576457c02ef167637c6a8245a0bae77.

Change-Id: I230c186af1fc46f421ddff88254e38b5faf074f4

4 years agoTask #10377 - Change Period view icon
Rommel Cysne [Wed, 9 Jul 2014 13:52:56 +0000 (10:52 -0300)]
Task #10377 - Change Period view icon

 - define a diffent icon for Period view button
(it was using the Day view icon) on Calendar

Change-Id: I8c7d9e0a7cd8e830cdc66344afa9a18f51525b21

4 years agoTask #10362 - Change the way a List of Contacts is loaded
Cassiano Dal Pizzol [Mon, 7 Jul 2014 14:30:15 +0000 (11:30 -0300)]
Task #10362 - Change the way a List of Contacts is loaded

- Created a new listContactModel to search the contacts in a list
  without submiting all the contacts of a list
- Created a new backend to return the contacts of a list
- Created a new model for the Contact List
- Created Hooks for pagination
- Created a specific search to improve the contact search

Change-Id: I601d3959ce6855f00c7f9b4c9246305b8a89c2b0

4 years agoTask #10376 - Fix many log entries generated by task #10354
Bruno Vieira Costa [Wed, 9 Jul 2014 13:13:20 +0000 (10:13 -0300)]
Task #10376 - Fix many log entries generated by task #10354

Change-Id: Ide35a3d401e74fa56e3cc5992afd45b2d906bc0b

4 years agoTask #10369 - Resolve n_fn and n_fileas if no value provided
Bruno Vieira Costa [Fri, 4 Jul 2014 15:58:56 +0000 (12:58 -0300)]
Task #10369 - Resolve n_fn and n_fileas if no value provided

Change-Id: I4e8e983132b8b77be434a7c68ad764582928efb1

4 years agoTask #10368 - Use Displayname config in external catalogs
Bruno Vieira Costa [Fri, 4 Jul 2014 15:32:51 +0000 (12:32 -0300)]
Task #10368 - Use Displayname config in external catalogs

Change-Id: I691b2a825e64657da33719f20a927369d06e5688

4 years agoTask #10354 - Make the contacts Display Name configurable.
Bruno Vieira Costa [Wed, 2 Jul 2014 20:39:46 +0000 (17:39 -0300)]
Task #10354 - Make the contacts Display Name configurable.

- New configuration option to choose the Display name format using
  LDAP accounts.
- Chose from 'given name surname' format (givenName sn), 'surname,
  given name' format (sn, givenName) or choose a LDAP atribute
  for the Fullname and another for the Displayname.
- Syncronize all name atributes from the LDAP during login.

Change-Id: Ifc7c1517e5861591baee957588a0af62abc7c451

4 years agoTask #10307 - Fix test on the passwordexpirationtime function
Cassiano Dal Pizzol [Mon, 30 Jun 2014 15:41:46 +0000 (12:41 -0300)]
Task #10307 - Fix test on the passwordexpirationtime function

- Created two new config constants on tinebase/Config
- Simplified the passwordexpired function in Zend/Ldap
- Added a regexp to verify the date. If the passwordexpirationtime
  does not verify it will force the change on the password

Change-Id: Iaa588305d24ed67366d30c36f61847504ac34723

4 years agoTask #10352 - Fix login with digital certificate
Marcelo Teixeira [Tue, 1 Jul 2014 20:18:40 +0000 (17:18 -0300)]
Task #10352 - Fix login with digital certificate

- Now getting username from Tinebase_Core::getUser() to prevent error
  when username parameter is empty

Change-Id: I831ed6e3105b0bc78575a9e03fc0ab002f476698

4 years agoTask #10348 - Fix testSearchFolders
Cassiano Dal Pizzol [Tue, 1 Jul 2014 18:53:37 +0000 (15:53 -0300)]
Task #10348 - Fix testSearchFolders

- Replicated the change in the the method signature to the class
  who Inherit it
- Added PHPDOC to the Abstract and his child

Change-Id: I48271d1bcaae0eea2b714bfe757b80ef9b7ab24c

4 years agoTask #10337 - Improvements of user and groups plugin system
Guilherme Striquer Bisotto [Fri, 27 Jun 2014 20:18:54 +0000 (17:18 -0300)]
Task #10337 - Improvements of user and groups plugin system

- Implemented the group part of plugin system
- Plugins of Tinebase_Group are not hardcoded added anymore
- Rules for creating plugins now are defined by plugins themselves
- Plugins for  Tinebase_Group can be added into init_plugins.php with
  Tinebase_Group::addPlugin($pluginName)
- Plugin of Samba for Ldap was refactored for this new structure
- Interface of user and groups plugins has two new methods:
  getOptions() and isAvailable()

Change-Id: Ib51a4ea981d315166c465a70b7631e4b020c72b3

4 years agoTask #10316 - Change plugins directory name
Marcelo Teixeira [Wed, 18 Jun 2014 19:00:38 +0000 (16:00 -0300)]
Task #10316 - Change plugins directory name

- The new way to refer to a plugin is Custom_Plugins_... instead of
  Serpro_Plugins_...

Change-Id: I513d75693f11b7eb1ba2bb883a84ef205cb1efac

4 years agoTask #10287 - Update HTMLPurify lib
Jeferson José de Miranda [Fri, 6 Jun 2014 17:15:02 +0000 (14:15 -0300)]
Task #10287 - Update HTMLPurify lib

- Created a protected function in Controller/Message to use the
  new HTMLPurify

Change-Id: I4c82cde2717dcc1a6215e3f458658308a451ffce

4 years agoTask #10227 - Change the user and groups plugin system
Flávio Gomes da Silva Lisboa [Tue, 27 May 2014 15:03:45 +0000 (12:03 -0300)]
Task #10227 - Change the user and groups plugin system

- Plugins of Tinebase_User are not hardcoded added anymore
- Rules for creating plugins now are defined by plugins themselves
- Plugins for Tinebase_User can be added into init_plugins.php
  with Tinebase_User::addPlugin($pluginName)
- Plugin of Samba for Ldap was refactored for this new structure
- Interface of user and groups plugins has two new methods: getOptions()
  and isAvailable()

Change-Id: I15e6a77e09d3fa867bcda53ca930d694c887b706

4 years agoTask #8738 - Fix translation in Expressomail
Roberto Falanga [Wed, 5 Mar 2014 16:32:35 +0000 (13:32 -0300)]
Task #8738 - Fix translation in Expressomail

- Translate Zend_Mail_Storage_Exception messages in Imap.php.

Change-Id: I3a6204d09b14dd010d9359a31c543dd77e65fcac

4 years agoTask #9964 - Fix Expressomail/Json Unit Tests
Cassiano Dal Pizzol [Wed, 4 Jun 2014 13:58:32 +0000 (10:58 -0300)]
Task #9964 - Fix Expressomail/Json Unit Tests

- Corrected some tests for the Expressomail. Mostly changing the
  expected data
- Removed the test testForwardMessageWithAttachment. It will be
  reaplyed later
- Small tests on the Expressomail/Backend/Folder to ensure the correct
  data are been delivered
- Small testes on the Expressomail/Backend/Message to prevent some
  minor errors when the test provide data that is unexpected
- Added a test on the Controller/Folder to ensure the array position
  exists
- Added one more validation on the appedMessage method to ensure the
  correct importation of non compliant emails
- Ensured the test is made in a object on the Tinebase/User/Ldap

Change-Id: I98f7941d010d73be0cf66b70a807fb223df1bb5f

4 years agoTask #10311 - Created plugin system for filters
Guilherme Striquer Bisotto [Wed, 11 Jun 2014 20:40:07 +0000 (17:40 -0300)]
Task #10311 - Created plugin system for filters

 - The filter plugin system was implemented in class
   Tinebase_Frontend_Json_Abstract. Added the methods
   addFilterModelPlugin and _getFilterModelPlugin that provides the
   plugin for _decodeFilter method of this class

Change-Id: Ifc98800f86ba7e2967ef9b2e0d203005aa008717

4 years agoTask #8940 - Add zip download for encrypted messages
Marcio Levien [Fri, 6 Jun 2014 20:57:25 +0000 (17:57 -0300)]
Task #8940 - Add zip download for encrypted messages

- Embedded http server now stores attachments indexing by
  {message-eid, attachment-eid} -> attachment, and not just as
  {attachment-eid} -> attachment
- When opening a received message, the eid is generated as a hash of
  the root message header
- In the composition of new messages, the eid is generated randomly on
  the MessageEditDialog panel and passed down to the upload components
- The local service for file uploading was modified to receive the
  message's eid through post parameter
- Implemented local service for assembly and downloading of all the
  message attachments as a zip file, accessed by the url
  "http://localhost:<port>/downloadZip/<message-eid>"
- GridDetailsPanel has been changed with the inclusion of a link to
  the zip download service

Change-Id: I0fbd5f4dd41763944d21f672f62fc8529d07ee8d

4 years agoRevert "Task #7454 - Save unknown contacts before send message."
Cassiano Dal Pizzol [Wed, 18 Jun 2014 22:07:43 +0000 (19:07 -0300)]
Revert "Task #7454 - Save unknown contacts before send message."

This reverts commit 5231655321db04156433720c34be5ac2119cc7ed.

4 years agoTask #10330 - Destruction of session after active sync execution
Guilherme Striquer Bisotto [Tue, 17 Jun 2014 13:52:22 +0000 (10:52 -0300)]
Task #10330 - Destruction of session after active sync execution

- Add a destruction of session at the end of handle method of
  ActiveSync/Server/Http.php

Change-Id: I9440b582e974a94822830e195a75e2288c595a14

4 years agoTask #10267 - Implemented generation of unique jar
Mario Kolling [Fri, 6 Jun 2014 13:51:51 +0000 (10:51 -0300)]
Task #10267 - Implemented generation of unique jar

- Change make-jar.sh script to generate and sign a unique jar
- Added a new configuration file domains.config
- Files manifest_xxx.mf were removed

Change-Id: I2f17dccb7ff742fffe40f6dab5b0f8d8ee20f9aa

4 years agoTask #10327 - Fix translation of login messages
Rommel Cysne [Mon, 16 Jun 2014 12:37:59 +0000 (09:37 -0300)]
Task #10327 - Fix translation of login messages

- Translation of some messages in change password process
  on login

Change-Id: I661bc7723ac6fd2c0e0801778b23efe0cddd15fb

4 years agoTask #10319 - Create new password policy
Fernando Alberto Reuter Wendt [Fri, 13 Jun 2014 20:31:19 +0000 (17:31 -0300)]
Task #10319 - Create new password policy

- Created a new Password Policy to enforce the "Does not allow
  to use current password as new password"
- Added Translations to some untranslated Expiration phrases
- Included the Immediate option in the check expiration time on
  the Setup
- Propagated the policy exception to the Json and to user

Change-Id: I8502a3f0cce6cf106e0b392bea15174aaf664775

4 years agoTask #10320 - Fix translation in pwd change error
Cassiano Dal Pizzol [Sat, 14 Jun 2014 00:01:31 +0000 (21:01 -0300)]
Task #10320 - Fix translation in pwd change error

- Created tranlations on the policies enforced on the password change
- Treated the error message on pwd change failure so it appears a
  little more human readable
- Changed translations on the name of some policies on the Setup

Change-Id: I077547b78b1e5b7462720c9afd647578ba0d3884

4 years agoTask #9831 - Implement external events
Gabriel Malheiros [Thu, 5 Jun 2014 18:18:31 +0000 (15:18 -0300)]
Task #9831 - Implement external events

- Implements NEEDS-ACTION for external events.
- Implements CANCEL method from ics.
- Sincronize the seq proprety for external events.
- Sincronize the last_modify_time proprety for external events.
- Correct the buttons show for events.
- Bug of return events from death and duplication of external
  events on DB.
- Implemets a container to put all external events.
- Treatment Permissions for external events container.

Change-Id: I5ec38e8778106f6ed2e01a55cb5a217c35aa8849

4 years agoTask #10298 - Security update for Zend Framework
Cassiano Dal Pizzol [Thu, 12 Jun 2014 12:53:48 +0000 (09:53 -0300)]
Task #10298 - Security update for Zend Framework

- Added new Zend/Db/Select.php class outside of lib to correct security
  error found on tests

Change-Id: I2708e864b7b787e060ab0a8f84c14dbb24cfbee4

4 years agoTask #9040 - Change the way to determine client ip address
Marcelo Teixeira [Mon, 9 Jun 2014 13:38:34 +0000 (10:38 -0300)]
Task #9040 - Change the way to determine client ip address

- Now it can use both a header attribute or the REMOTE_ADDR to
  determine client ip address
- The header attribute or REMOTE_ADDR option is configurable in
  config.inc.php
- Plugins implemented for AccessLog and Session_Validator_IpAddress

Change-Id: I3d3d6dbb0501d36a2cd6fce254ce9271d7e36f7d

4 years agoRevert "Task #10298 - Security Fix on Zend Framework"
Cassiano Dal Pizzol [Thu, 12 Jun 2014 12:38:54 +0000 (09:38 -0300)]
Revert "Task #10298 - Security Fix on Zend Framework"

This reverts commit 619bd4e71f99e1ce96dde1ef5cdf2812f9157182.

Change-Id: Iafb43382d0b18ccc3f29fcf3098367caa60c2da6

4 years agoTask #10306 - Removing unused jars
Mario Kolling [Tue, 10 Jun 2014 19:52:29 +0000 (16:52 -0300)]
Task #10306 - Removing unused jars

Change-Id: I1a18b8d0694701539c1d4657600d26829cbed89c

4 years agoTask #10298 - Security Fix on Zend Framework
Cassiano Dal Pizzol [Wed, 11 Jun 2014 14:59:03 +0000 (11:59 -0300)]
Task #10298 - Security Fix on Zend Framework

- Added new Zend/Db/Select.php class outside of lib to correct security
  error found on tests

Change-Id: I1a196c85d19baca5c0c812a2525ed448af35ec15

4 years agoTask #9618 - fix cors embbed imgs in ie9
Mario Kolling [Wed, 4 Jun 2014 21:27:30 +0000 (18:27 -0300)]
Task #9618 - fix cors embbed imgs in ie9

    - Implemented postMessage cors upload when inserting embbeded
      images in ie9
    - Change eid property generation when storing image while openning
      encrypted messages with embbeded images, now using Cid value

Change-Id: I9cfca35207eb482ede405ce74ea79416481b6309

4 years agoTask #10286 - Prevent javascript execution from email HTML code
Bruno Vieira Costa [Mon, 9 Jun 2014 20:44:46 +0000 (17:44 -0300)]
Task #10286 - Prevent javascript execution from email HTML code

 - A regular expression removes all 'href="javascript:" code
   from email HTML code in emails.

Change-Id: Idbef172c126f4bc4753e4c9f2168593598dca424

4 years agoTask #8718 - Fix password generation for MD5 algorithm
Lucas Alberto [Fri, 25 Apr 2014 21:16:16 +0000 (18:16 -0300)]
Task #8718 - Fix password generation for MD5 algorithm

 - In library, changed the algorithm type 'MD5' to use a base64 envelop
  when gerenating a password hash.
 - This new patch solves problems at instalations that already use the
  broken MD5 algorithm, works without the need to acess setup and save
  the authentication form

Change-Id: Ic20f3fb340b55bf427b879d1843d525c9ca0c1ae

4 years agoTask #10229 - Fix LDAP account syncronization
Bruno Vieira Costa [Mon, 2 Jun 2014 21:08:18 +0000 (18:08 -0300)]
Task #10229 - Fix LDAP account syncronization

- Change the merge of the values from the attribute
  'ObjectClass' be case-insensitive to prevent error
  in some LDAP servers.

Change-Id: I4dd62589f8424c734f2c42d36306f96adf69f5b4

4 years agoRevert "Task #8718 - Fix password generation for MD5 algorithm, so it works now with...
Cassiano Dal Pizzol [Wed, 4 Jun 2014 22:03:03 +0000 (19:03 -0300)]
Revert "Task #8718 - Fix password generation for MD5 algorithm, so it works now with OpenLdap."

This reverts commit 0a9b6912ec854410525819390ac2b3c16aa3763b.

Change-Id: I8ccee2347d6d77e9313009d3935583d2e0b74652

4 years agoTask #9052 - Increase timeout and add loading message
Fernando Lages [Tue, 27 May 2014 12:53:06 +0000 (09:53 -0300)]
Task #9052 - Increase timeout and add loading message

- Increased timeout of applying changes to 5 minutes
- Added a 'Loading ...' message to be shown on loading of ACLs

Change-Id: Ice2e507f2cb607ae3127cb6ef4b00cad9819296c

4 years agoTask #9426 - Modify the array of system folders
Lucas Alberto [Mon, 19 May 2014 19:01:55 +0000 (16:01 -0300)]
Task #9426 - Modify the array of system folders

- add 'arquivo remoto' in the arrays of system folders

Change-Id: Ie1ce21e880496ecb7caf7d1f2f5184fcf4d82777

4 years agoTask #10136 - Fix duplicated emails on list
Rodrigo Dias [Wed, 14 May 2014 12:36:29 +0000 (09:36 -0300)]
Task #10136 - Fix duplicated emails on list

Change-Id: Ibdeeb569575c45d107273b91c24b2fccdc84da6a

4 years agoRevert "Task #9661 - Fix event notification mail sender"
Cassiano Dal Pizzol [Wed, 4 Jun 2014 17:39:36 +0000 (14:39 -0300)]
Revert "Task #9661 - Fix event notification mail sender"

This reverts commit 5f64ab46c4141696cf33ec33cf72db531280a080.

Change-Id: Ie86bf492707f0667a0ae9d8d7ef357e53f853e5b

4 years agoTask #10258 - Fix message editor window title
Fernando Lages [Mon, 2 Jun 2014 19:12:41 +0000 (16:12 -0300)]
Task #10258 - Fix message editor window title

- Changed title set after record is loaded to be dinamic,
  according to the message being edited, which could be a common
  message or an encrypted one.

Change-Id: I5fc10d10a5ab391de298f5b5e908182afc9c4fbe

4 years agoTask #9660 - Fix email printing
Fernando Lages [Thu, 29 May 2014 19:25:30 +0000 (16:25 -0300)]
Task #9660 - Fix email printing

- Added a regexp to insert a space after comma to each recipient of the
  recipients list, for each of 'TO', 'CC' and 'BCC', only if it
  already does not have a space

Change-Id: I0138975782ff12f2a57cd95eb0eaa3aaa8d5a129

4 years agoTask #10060 - Change position where signature applet is loaded
Fernando Lages [Thu, 15 May 2014 20:06:25 +0000 (17:06 -0300)]
Task #10060 - Change position where signature applet is loaded

- Fixed opening of message editor in IE and FF with 'digitally sign
  messages' preference set to YES.
- Does not cover the edition of an encrypted message. This will be
  addressed on another ticket.

Change-Id: I601f59e0c30bd0fcea2011099258ada52fd115ce

4 years agoTask #10220 - Decoupling ActiveSync from mail application
Flávio Gomes da Silva Lisboa [Fri, 23 May 2014 19:14:59 +0000 (16:14 -0300)]
Task #10220 - Decoupling ActiveSync from mail application

- Fix task #9605
- Fix assumptions of mail application
- Fix dynamic call of methods from mail application
- Fix absent parameter of filter

Change-Id: I8afa09ee99af93ef72f5c2ab7b4287f28dde672d

4 years agoTask #9616 - Fix cors form upload in ie9
Mario Kolling [Thu, 22 May 2014 20:28:16 +0000 (17:28 -0300)]
Task #9616 - Fix cors form upload in ie9

- Implemented postMessage cross-site response when using form uploads
  to local server
- Implemented listener for 'message' event on Upload component
- Fix bug of NanoHTTPD when parsing filename attribute of
  content-disposition header
- Prevent message size check when editing an encrypted message
- Force IE 10 to use form uploads

Change-Id: I41cb9c739c25890a0a4dd3044c304264b21b62f4

4 years agoTask #9663 - Word wrap added to email body message and printing
Jeferson José de Miranda [Tue, 27 May 2014 19:12:38 +0000 (16:12 -0300)]
Task #9663 - Word wrap added to email body message and printing

4 years agoTask #10149 - Invited from Expresso v2 can not be accepted in Expresso v3
Gabriel Malheiros [Thu, 22 May 2014 19:54:32 +0000 (16:54 -0300)]
Task #10149 - Invited from Expresso v2 can not be accepted in Expresso v3

4 years agoTask #9605 - Dependencies: Parametrize references to e-mail application in another...
Flávio Gomes da Silva Lisboa [Wed, 26 Mar 2014 20:22:52 +0000 (17:22 -0300)]
Task #9605 - Dependencies: Parametrize references to e-mail application in another applications

 - Created factory for instances of mail applications
 - Removed direct referencies of mail application from Calendar
 - ActiveSync uses factory for selecting mail application instead of constant
 - Syncroton now depends on Tinebase instead mail application
 - Specific code of Expressomail has been moved to that application

4 years agoTask #10209 - Passwords in plaintext in tine log
Lucas Alberto [Wed, 21 May 2014 19:39:43 +0000 (16:39 -0300)]
Task #10209 - Passwords in plaintext in tine log

- Fixed in Mantis Tine 0009400: Passwords in plaintext in tine log. https://forge.tine20.org/mantisbt/view.php?id=9400
- Merged from original commit: https://gitorious.org/expresso_livre/edgardeluccas-expressolivre3/commit/7f45eb408c9f6e8d5a6bcf0abe3e3444190e8fde

Change-Id: I099a3214c47ff961a8eb400b786f3d87dde30f1b

4 years agoTask #10204 - User at vacation check on login
Fernando Alberto Reuter Wendt [Wed, 21 May 2014 18:10:34 +0000 (15:10 -0300)]
Task #10204 - User at vacation check on login

Change-Id: I977e9948377dcb76930034a0a34ca7342ea13b63

4 years agoTask #9892 - Add redirection after login based on a ldap attribute
Marcelo Teixeira [Mon, 19 May 2014 17:46:25 +0000 (14:46 -0300)]
Task #9892 - Add redirection after login based on a ldap attribute

- Add redirection config to config.inc.php
- Based on a ldap attribute set a cookie for redirection on login
  process so that next requests are sent to one of the user frontends

4 years agoTask #8743 - Create the default folders to new users
Lucas Alberto [Tue, 15 Apr 2014 18:28:31 +0000 (15:28 -0300)]
Task #8743 - Create the default folders to new users

- Create the user's inbox and sub folders at the first login.
- Create missing default system folders on demand.

Change-Id: I6c8fc93ea37e0fc9e13bb1a94ae9c9a56d19f3ee

4 years agoRevert "Task #9663 - word wrapp added to message visualization and printing"
Cassiano Dal Pizzol [Mon, 19 May 2014 19:03:58 +0000 (16:03 -0300)]
Revert "Task #9663 - word wrapp added to message visualization and printing"

This reverts commit a54dafc120ba5df9ac4566399b663e02514be83a.

4 years agoTask #9921 - Validate date start and due data
Gabriel Malheiros [Wed, 7 May 2014 13:40:02 +0000 (10:40 -0300)]
Task #9921 - Validate date start and due data

Change-Id: Ie0567f04e697afcad324ea433d16c7666d7f11ae

4 years agoTask #9665 - Correct the eternal loading window at login
Guilherme Striquer Bisotto [Wed, 7 May 2014 19:59:55 +0000 (16:59 -0300)]
Task #9665 - Correct the eternal loading window at login

- Applyed corrections for Task9143
- At Task7637, in Tinebase/User.php some errors were found in
getDefaultInternalAddressbook and it was removed in Task9143
- Within Task9143, the method getDefaultInternalAddressbook was
put back, and the previosly found errors was corrected, but
one more error was found and corrected at Task9665

Change-Id: Ie3b6453be148b2d234764261a557f7050bc9df06

4 years agoTask #9947 - Fixed problem with webconference toolbar in chrome
Marcelo Teixeira [Thu, 24 Apr 2014 18:49:06 +0000 (15:49 -0300)]
Task #9947 - Fixed problem with webconference toolbar in chrome

4 years agoTask #9903 - Prevent deletion of shared folders
Bruno Vieira Costa [Wed, 7 May 2014 18:46:54 +0000 (15:46 -0300)]
Task #9903 - Prevent deletion of shared folders

- Set the system_folder attribute to shared folders (global_name =
  user/<user name>/) and in any subfolder that the local_name
  matches any system folder name.

Change-Id: I8e9f5d0594d31696f46f72ccf93634c4972f7f71

4 years agoTask #9550 - reduced ldap hit volume
Guilherme Striquer Bisotto [Tue, 6 May 2014 20:04:24 +0000 (17:04 -0300)]
Task #9550 - reduced ldap hit volume

4 years agoTask #10002 - Cannot create new message when 'digitally sign messages' preference...
Fernando Lages [Wed, 30 Apr 2014 16:49:50 +0000 (13:49 -0300)]
Task #10002 - Cannot create new message when 'digitally sign messages' preference is set to YES

Change-Id: Ia15faeab94be401e3e67dcba2fd04bc9fe1a8b52

4 years agoTask #9102 - Trimming available translation languages
Cassiano Dal Pizzol [Thu, 24 Apr 2014 13:36:25 +0000 (10:36 -0300)]
Task #9102 - Trimming available translation languages

- Removing all the translations but de, en, es and pt_br ones on All Modules
- Available languages in Tinebase/Translation.php trimmed also

Change-Id: I1c58c823318e044f85e9540a2d4eb66ff5d1e82e

4 years agoTask #9972 - Use the correct attribute from the IMAP STATUS command to count total...
Bruno Vieira Costa [Mon, 5 May 2014 16:20:24 +0000 (13:20 -0300)]
Task #9972 - Use the correct attribute from the IMAP STATUS command to count total emails in a folder.

Change-Id: I857ff028c0e1abff863cee8cfd613f101a62be0b

4 years agoRevert "Task #9665 - Corrected the eternal loading window at login"
Cassiano Dal Pizzol [Tue, 13 May 2014 17:34:01 +0000 (14:34 -0300)]
Revert "Task #9665 - Corrected the eternal loading window at login"

This reverts commit 7f4de878999e0e949d483386c5c3680e4b764538.