Commit Graph

569 Commits

Author SHA1 Message Date
Regis Houssin
0aa6694c95 Fix: broken event message 2012-07-29 15:47:24 +02:00
Laurent Destailleur
d6a5b224fb Revert bad practice: setEvent use SESSION. Such usage is limited to HTML
page context and can be used inside any pages.
However usage of _SESSION must never be used inside a library (except
for function dedicated to HTML page context), and never inside
object classes (we must use $this->errors, $this->mesgs or
$this->warnings instead).
2012-07-29 14:15:29 +02:00
Regis Houssin
eee5653c54 Fix: try to use the new message system 2012-07-29 12:54:19 +02:00
Regis Houssin
9cdba5bb61 Fix: try another method more clean and can be deployed on any type of
message
2012-07-29 08:26:33 +02:00
Regis Houssin
75588c2eb3 Merge pull request #272 from marcosgdf/backtolist-links
Created BackToList links
2012-07-28 13:15:42 -07:00
Regis Houssin
c7bacecf10 Fix: try to use another method for messages 2012-07-28 22:07:27 +02:00
Marcos García
32a3477ccb BackToList links in Interventions section 2012-07-28 21:05:00 +02:00
Marcos García
5fd7fcb6c4 Applied commits 1-8 2012-07-27 18:40:06 +02:00
Regis Houssin
d5ff308992 Fix: declare $mesg and $mesgs in main.inc.php
Fix: strict mode be back
2012-07-23 20:52:55 +02:00
Regis Houssin
6f1651309e Fix: global converting lines delimiter 2012-07-02 19:30:37 +02:00
Regis Houssin
bf379fc242 Fix: uniformize code 2012-06-11 21:45:59 +02:00
Raphaël Doursenaud
38740fb70f Fixed a bug in interventions' list navigation
The navigation arrows were referencing "index.php" file thus
preventing navigation between pages.
The actual name of the file is "list.php".
2012-06-01 11:21:56 +02:00
Laurent Destailleur
c2db3265ec Fix: Regression with quot management. Try a better fix. 2012-05-30 12:43:23 +02:00
Regis Houssin
a5b0de15ac Fix: can't delete a files with quote 2012-05-30 08:30:25 +02:00
Regis Houssin
516be43404 Fix: jquery fileupload broken feature 2012-05-25 20:56:05 +02:00
Regis Houssin
9cf2ea492c Fix: broken features with external module 2012-05-21 18:44:09 +02:00
juanjo
a6b0242f8a [ task #407 ] Manage PDF hidden items 2012-05-21 17:12:57 +02:00
defrance69
80e717af7e Update htdocs/fichinter/class/fichinter.class.php 2012-05-18 15:36:05 +03:00
Regis Houssin
0c6d7c56d3 Fix: bad parameters 2012-05-05 09:02:13 +02:00
Regis Houssin
73487a6aec Fix: replace mktime() by dol_now() 2012-04-30 15:01:25 +02:00
Laurent Destailleur
fbe6fe7ac4 Checkstyle 2012-04-01 20:26:25 +02:00
Laurent Destailleur
daf2a19396 New: Add signature at end of predefined email text 2012-03-28 00:56:12 +02:00
Laurent Destailleur
0fd372e5da Trans: Update language files
New: Prepare code to allow any module to change/add content of
predefined mail and signature.
2012-03-22 23:52:02 +01:00
Laurent Destailleur
e4a5b6e24e Merge branch 'develop' of ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-03-18 23:45:58 +01:00
Laurent Destailleur
fe9b244a38 Fix: Removed HTML5 warnings 2012-03-18 23:42:53 +01:00
Regis Houssin
4ecc64504d Fix: use the original json functions 2012-03-18 19:59:38 +01:00
Laurent Destailleur
59bef9caa1 Qual: Uniformize code to use new note system. 2012-03-18 02:01:23 +01:00
Laurent Destailleur
9ed46d9892 Fix: Navigation arrows were missing 2012-03-18 01:25:08 +01:00
Laurent Destailleur
a7a55645d8 Fix: Some fix when using fckeditor with notes.
Qual: Uniformize code to use new system for notes.
Qual: Removed duplicate updatenote method into commandefournisseur
class.
2012-03-18 00:59:24 +01:00
Regis Houssin
bd4b24f1eb Fix: add <br> for default note tab 2012-03-17 18:27:31 +01:00
Regis Houssin
815ee68f8f Fix: use div instead table 2012-03-17 18:10:59 +01:00
Regis Houssin
281c6b7f2a New: sharing code of contact and note tabs 2012-03-17 16:05:58 +01:00
Regis Houssin
09e6867029 New: add view/edit notes in "deplacement" and "fichinter" cards 2012-03-16 16:01:45 +01:00
Laurent Destailleur
245edb8596 Fix: Maxi debug on sending document by email. Works now with odt too. 2012-03-16 00:34:41 +01:00
Laurent Destailleur
3a8885eea6 Fix: If a project must be linked to any companies (suppliers or not),
project must be not be set as limited to customer but must be not linked
to any particular thirdparty
2012-03-15 09:36:39 +01:00
defrance69
7b20e15b23 Update htdocs/fichinter/fiche.php 2012-03-15 15:23:06 +08:00
simnandez
743489ae1d Fix: Security 2012-03-05 11:16:30 +01:00
Laurent Destailleur
1645ddbe47 Sec: Sanitize all input for ids. 2012-02-27 22:26:22 +01:00
Regis Houssin
e2cea80f69 Fix: problem with this pdf 2012-02-24 17:25:53 +01:00
Laurent Destailleur
58d1a042a5 Fix: print select_societe was wrong as it contains already print
instructions. Use select_company instead.
2012-02-20 12:41:12 +01:00
Laurent Destailleur
c4b845d60a Qual: Removed deprecated function name. 2012-02-19 18:34:22 +01:00
Laurent Destailleur
842fb07d08 Merge branch 'develop' of ssh://git@github.com/Dolibarr/dolibarr.git into develop 2012-02-08 00:22:58 +01:00
Regis Houssin
6a43a517f1 Fix: add deleteObjectLinked function 2012-02-07 16:47:46 +01:00
Laurent Destailleur
55f6cdd495 Qual: Removed warnings 2012-02-07 10:25:58 +01:00
Laurent Destailleur
f3a966a313 Fix: Missing name 2012-01-29 23:24:47 +01:00
Laurent Destailleur
851abe00a9 New: Can attach files on social contributions 2012-01-11 20:31:40 +01:00
Laurent Destailleur
2d67802938 Doxygen 2012-01-08 00:52:07 +01:00
Laurent Destailleur
4523f1789d Qual: Removed dead code
Doxygen
2012-01-04 23:56:10 +01:00
Laurent Destailleur
43964552bf Add a TODO 2011-12-22 09:07:02 +01:00
simnandez
58761d343b Qual: Uniformize code 2011-12-19 17:29:09 +01:00
Laurent Destailleur
b52fc32853 Fix: fix not initialized variables 2011-12-05 19:41:38 +01:00
Regis Houssin
cbec43e098 Fix: change 'editfieldkey' and 'editfieldval' for compatibility with
external module and hook system.
Fix: uniform code
2011-11-09 06:14:42 +08:00
Regis Houssin
f0c327c070 Fix: uniform code
replace all $html by $form with exceptions "$htmlname, $htmltooltip"
2011-11-08 17:22:31 +08:00
Laurent Destailleur
40da2e23d2 Qual: Reduce sub-options of module fckeditor. This make code cleaner
and all this duplicated options were useless.
2011-11-05 23:18:49 +01:00
Laurent Destailleur
06c5f3427c New: There is now two "inline edit" solution: Solution 1 use jquery
and is enabled if MAIN_USE_JQUERY_JEDITABLE is on. Solution 2 use a link
"edit field" on resubmit page for eache field (this is by default). And
we are ready to add more.
New: Add also option MAIN_EDIT_ALSO_INLINE. Goal of this option is to
say: Even if this field can be edited by a global edit form, we allow
field to be edited with the "inline edit" feature (whatever is the
inline edit solution active). This option is to keep the standard
behaviour "We must click a "modify" button to allow to edit globally all
fields at once working and have only this way. If option is on, we can
also use the inlinde edit. If off, inline edit is available only for
fields not included into a global "modify" form.
line
2011-11-05 21:24:55 +01:00
Laurent Destailleur
2b9285384c Merge editfield and editInPlace 2011-11-05 18:25:04 +01:00
Laurent Destailleur
3f30cebce3 Qual: Prepare to merge editfield and editInPlace 2011-11-05 15:12:37 +01:00
Laurent Destailleur
c60a2ff76f Fix: new lines not correctly outputed 2011-11-05 13:22:00 +01:00
Laurent Destailleur
c16c09a451 Qual: Mutualize code to delete previews 2011-11-04 00:27:30 +01:00
Juanjo Menent
5c9ba8a548 [task 189] Move Error* key from other.lang into errors.lang files 2011-10-29 23:52:05 +02:00
Regis Houssin
4ebbc0de6f Fix: rename "area" to "textarea"
New: add js files for default datepicker options
New: add edit_datepicker for edit in place (not stable)
2011-10-28 16:28:55 +02:00
Regis Houssin
bc6fa60287 Fix: move jnotify options in separate file
Fix: move nl2br treatment
New: add error message for edit in place
2011-10-28 12:02:36 +02:00
Laurent Destailleur
035730acdc Add a FIXME note 2011-10-28 01:06:41 +02:00
Regis Houssin
1137b69a03 Fix: use loadurl just for textarea and numeric 2011-10-27 18:17:27 +02:00
Regis Houssin
df19c5e606 Fix: move ajax tpl to js for uniform code 2011-10-27 18:06:05 +02:00
Regis Houssin
e4599a05cd add edit in place for description 2011-10-27 16:48:57 +02:00
Regis Houssin
d906552815 New: add edit in place
Fix: change element name with condition for enlarge possibility
2011-10-27 16:38:49 +02:00
Regis Houssin
5899fa6eb7 Fix: add note public and private during create 2011-10-27 16:04:50 +02:00
Regis Houssin
892de8a3d2 Fix: uniform code 2011-10-27 15:33:18 +02:00
Laurent Destailleur
3c7acb16b4 Add transaction for interventions 2011-10-24 14:28:50 +02:00
Regis Houssin
3338649316 [task #217] Move core files in core directory 2011-10-24 14:11:49 +02:00
Regis Houssin
56d6cbe56f [task #216] Move lib in core directory 2011-10-24 12:59:44 +02:00
Regis Houssin
63d60a33fc [task #216] Move lib in core directory 2011-10-24 11:25:54 +02:00
Regis Houssin
c65238b773 [task #216] Move lib in core directory 2011-10-24 10:45:06 +02:00
Regis Houssin
30c5f4b214 Move all core class in htdocs/core/class 2011-10-24 09:29:17 +02:00
Laurent Destailleur
ddad6700f8 Fix: Better error management 2011-10-20 16:38:09 +02:00
Laurent Destailleur
be6286c4b8 Qual: More POO.
Qual: Doxygen
2011-09-20 17:19:46 +00:00
Regis Houssin
6c4acefd93 Fix: Space before opening parenthesis of function call prohibited 2011-09-20 12:56:06 +00:00
Regis Houssin
b6a2f13673 Fix: avoid jenkins warning
Fix: SpaceAfterOpenBracket, SpaceAfterCloseBracket, SpaceBeforeCloseBracket, SpaceBeforeOpenBracket
2011-09-20 09:40:27 +00:00
Regis Houssin
2c1b3722f2 Fix: replace sizeof() by count() 2011-09-17 19:49:50 +00:00
Laurent Destailleur
7d5792f1a7 Look: Uniformize view 2011-09-12 19:34:59 +00:00
Laurent Destailleur
9b553db508 Fix: Syntax error 2011-09-12 18:43:01 +00:00
Laurent Destailleur
4892813ed0 Fix: Missing translation 2011-09-12 19:31:32 +00:00
Laurent Destailleur
4d8244f56e Doxygen 2011-09-12 18:15:11 +00:00
Laurent Destailleur
a9d61ae84c Fix: Specimen 2011-09-12 19:21:57 +00:00
Laurent Destailleur
b75d19c264 Qual: Uniformize constructors 2011-09-11 18:35:38 +00:00
Laurent Destailleur
605355c89c Fix: When creating invoice from other object, discount are created
automatically
2011-09-10 17:52:21 +00:00
Laurent Destailleur
9bdb1057e1 Fix: W3C 2011-08-31 15:30:56 +00:00
Laurent Destailleur
2bb5e4ba69 Fix: W3C 2011-08-31 15:12:09 +00:00
Regis Houssin
03711cf6f2 Fix: remove obsolete tags 2011-08-27 19:15:14 +00:00
Laurent Destailleur
ab953d6501 Qual: Call static methods as static with no need to create instance 2011-08-27 15:40:08 +00:00
Regis Houssin
2ecc03104c Fix: remove obsolete tags (in progress) 2011-08-27 15:14:31 +00:00
Regis Houssin
726d9581dd Fix: remove obsolete tags (in progress) 2011-08-27 14:24:16 +00:00
Laurent Destailleur
078eb8fafd Fix: Bad redirect 2011-08-23 20:52:39 +00:00
Regis Houssin
5085638f5e Fix: uniformize code 2011-08-23 18:40:45 +00:00
Laurent Destailleur
cfe34139cf Qual: Clean and uniformize code.
Remove properties, that are not related to business, from parent business class commonobject.
2011-08-22 22:04:21 +00:00
Laurent Destailleur
bd82d80fab Qual: Uniformize page name 2011-08-21 13:01:34 +00:00
Laurent Destailleur
e9b113ade8 Qual: Mutualize some code
Fix: Missing begin
Fix: Removed functions returning database cursor
2011-08-14 03:13:50 +00:00
Laurent Destailleur
3f2e6bbf82 Qual: Removed dead code 2011-08-14 02:11:15 +00:00
Laurent Destailleur
be771c9d44 Fix: Avoid errors into rpm packages 2011-07-31 23:45:11 +00:00
Laurent Destailleur
a4feead496 Fix: Bad links after navigation 2011-07-18 03:04:48 +00:00
Laurent Destailleur
f40efea008 Fix: file add and delte in email forms was broken with firefox 5 2011-07-10 20:03:38 +00:00
Laurent Destailleur
9ae8b88380 Fix: Param of constructor must be only database handler 2011-07-10 13:48:25 +00:00
Juanjo Menent
4e8c0a676b Doxygen 2011-07-08 09:18:54 +00:00
Laurent Destailleur
9af44a9897 Fix: Missing title 2011-07-07 22:02:48 +00:00
Laurent Destailleur
b76f055d2b Fix: Select of recipient on email form 2011-07-07 21:32:18 +00:00
Juanjo Menent
d292083b69 Interventions: Add predefined mail content 2011-07-07 15:54:01 +00:00
Juanjo Menent
2b0b91eb29 Interventions: Add actions info 2011-07-07 09:18:27 +00:00
Laurent Destailleur
e2b18d565a Fix: Bad order on documents pages 2011-07-06 20:56:48 +00:00
Juanjo Menent
3c5b0b21c6 Fix: No validate unlined interventions 2011-07-06 09:39:04 +00:00
Laurent Destailleur
b3e36430fc Fix: Load language files 2011-07-02 17:33:24 +00:00
Laurent Destailleur
a9021c1859 Uniformize code 2011-07-02 17:14:58 +00:00
Laurent Destailleur
d7f02f1916 Can create invoice from an intervention 2011-07-02 17:02:00 +00:00
Laurent Destailleur
3b3f937e47 Fix: EMail sent message 2011-07-02 16:48:31 +00:00
Juanjo Menent
0c3201ff1a task #11004: Create invoice from intervention 2011-07-01 16:24:44 +00:00
Laurent Destailleur
337f41c8e1 Uniformize code 2011-06-17 22:24:52 +00:00
Laurent Destailleur
747c6ddc3d Fix: Removed useless duplicate properties. 2011-06-06 11:37:59 +00:00
Regis Houssin
5f6ac1374c New: best method for linked object with actioncomm
New: add action "shipping send by mail"
2011-06-04 13:12:44 +00:00
Juanjo Menent
ed5c09a6ed Fix: Uniformize code 2011-05-17 19:08:52 +00:00
Juanjo Menent
aea3a6ab5b Fix: Uniformize code 2011-05-17 18:58:59 +00:00
Laurent Destailleur
04babd9297 New: Send by mail permissions are not really protected permission because user can still view file and send it manually by email or from pdf reader menu. So i moved it as an ADVANCE permission. 2011-05-05 07:25:31 +00:00
Regis Houssin
827eed5d39 Fix: delete deprecated code
Fix: change select_contact for view exclude contcat in grey mode
2011-04-26 13:49:41 +00:00
Laurent Destailleur
e9f4879245 Qual: Prepare move of function dol_delete_file into file.lib.php 2011-03-09 15:34:57 +00:00
Regis Houssin
da785fad43 Fix: view multi page 2011-03-04 19:57:08 +00:00
Regis Houssin
0bbde401ef Fix: view multi page 2011-03-04 18:50:54 +00:00
Regis Houssin
11a3b7f6eb Fix: reencoding preview tabs, Imagick is a class today
Fix: uniformize code
2011-03-04 16:52:29 +00:00
Regis Houssin
20ea744d8a Fix: reencoding preview tabs, Imagick is a class today 2011-03-04 12:27:40 +00:00
Laurent Destailleur
aaaf9bdfc4 Fix: Bad link 2011-02-26 14:22:49 +00:00
Regis Houssin
aba9bb9acd Fix: compatibility with pgsql, replace all addslashes by $db->escape in other files 2011-02-24 18:22:24 +00:00
Regis Houssin
3b4ea76538 Fix: compatibility with pgsql, replace all addslashes by $this->db->escape in class 2011-02-24 18:11:12 +00:00
Laurent Destailleur
638cb105df Fix: HTML tags must be escaped 2011-02-18 10:45:38 +00:00
Laurent Destailleur
7e1e28f0d8 Fix: Wrong order of name/firstname 2011-02-09 18:27:56 +00:00
Regis Houssin
09f6fab2cc New: add width parameter in editor 2011-02-02 16:56:55 +00:00
Regis Houssin
e752ef828a Fix: uniformize code 2010-12-15 08:48:53 +00:00
Regis Houssin
502bb75d2c Fix: uniformize code 2010-12-15 07:12:28 +00:00
Laurent Destailleur
2498426867 Fix: Restore stable version for 3.0 2010-12-14 23:27:17 +00:00
Regis Houssin
9d46536909 Fix: uniformize code 2010-12-14 15:04:56 +00:00
Laurent Destailleur
cc93d642e0 Fix: Date was not always visible 2010-12-01 23:42:39 +00:00
Laurent Destailleur
adfb9ea341 Sec: Removed security holes 2010-11-20 13:08:44 +00:00
Laurent Destailleur
3fcbfcc17d Qual: Uniformize code (ligne -> line) 2010-10-27 14:47:32 +00:00
Regis Houssin
4d4c4a8bed Fix: search company with jQuery - ok 2010-10-10 17:44:34 +00:00
Laurent Destailleur
46ad8917ad Perf: A little speed enhancement on document tabs. 2010-10-03 15:50:34 +00:00
Regis Houssin
156a1e6b29 Qual: uniformize code 2010-09-10 14:35:07 +00:00
Regis Houssin
07f3edeb88 Fix: bad link 2010-09-09 21:42:27 +00:00
Laurent Destailleur
7917c17844 Work on task #10579 : Simplify code using editor 2010-09-02 19:10:34 +00:00
Laurent Destailleur
02206c3fa4 Work on FPDF replacement by TCPDF 2010-09-01 14:13:51 +00:00
Laurent Destailleur
f038ba869b Trad 2010-08-26 13:17:42 +00:00
Philippe Grand
fb06c15330 task #6689, strlen problem
replace  strlen with dol_strlen
2010-08-24 14:42:18 +00:00
Laurent Destailleur
8fa175f3e9 Fix: Restore feature broken with renaming 2010-08-19 20:29:55 +00:00
Regis Houssin
2c4a56771f Fix: $optiontype not used
Fix: select_array is deprecated
2010-08-19 15:20:25 +00:00