Compare commits

...
955 Commits
Author SHA1 Message Date
Francis Lachapelle 4f90fbf4b6 chore(release): 5.1.0 2021-03-30 16:47:30 -04:00
Francis Lachapelle 90fb5426c7 chore(conf): enable XSRF validation by default 2021-03-30 16:42:57 -04:00
Francis Lachapelle 749013db6d chore(js/css): update generated files 2021-03-30 16:01:11 -04:00
Francis Lachapelle c6fab04df6 i18n(pt_BR): update Brazilian Portuguese translation 2021-03-30 15:33:44 -04:00
Francis Lachapelle 3875eddda3 i18n(hu): update Hungarian translation 2021-03-30 15:33:17 -04:00
Francis Lachapelle 883f45c7b0 chore(debian): remove packaging/debian-multiarch
Was required for Debian 6 (Squeeze) and Ubuntu 12.04 LTS (Precise
Pangolin) which we no longer support.
2021-03-26 12:23:00 -04:00
Francis Lachapelle 46948f514a chore: configuration file and script for versioning
See https://github.com/conventional-changelog/standard-version
2021-03-26 09:49:12 -04:00
Francis Lachapelle a95964b51f i18n(sl_SI): update Slovenian translation 2021-03-24 11:02:49 -04:00
Francis Lachapelle 937aad47fc chore(npm): update sass 2021-03-16 12:06:28 -04:00
Francis Lachapelle a94688ab12 chore(npm): update grunt-contrib-cssmin 2021-03-16 12:05:58 -04:00
Francis Lachapelle 074e0d4734 chore(npm): update lodash 2021-03-16 12:05:28 -04:00
Francis Lachapelle cb6de75845 fix(mail): unsubscribe from all subfolders when deleting parent
Fixes #5218
2021-03-16 11:50:05 -04:00
Francis Lachapelle 1914a3516a i18n(hu): update Hungarian translation 2021-03-15 14:09:50 -04:00
Francis Lachapelle a4d9549f6f docs: add SOGoMailComposeWindow parameter
Fixes #5275
2021-03-15 12:17:00 -04:00
Francis Lachapelle 386429e46e fix(core): fix compilation warning in NSData+Crypto 2021-03-12 17:30:17 -05:00
Francis Lachapelle dd90a0977a docs: update README regarding the SOGo Connector TB plugin 2021-03-12 17:27:20 -05:00
Francis Lachapelle 22b6b4bb9f chore(Apache): Don't send the Referer header for cross-origin requests
Fixes #5252
2021-03-12 17:21:13 -05:00
Francis Lachapelle 4740042bf9 chore(tool): fix usage of restore 2021-03-12 17:00:28 -05:00
Francis Lachapelle f6f43c42fc chore(npm): update CKEditor to version 4.16.0
Fixes #5272
Fixes #5273
2021-03-08 13:57:51 -05:00
Francis Lachapelle 3722169522 fix(acls): remove debugging output when searching in groups 2021-03-03 10:57:03 -05:00
Francis Lachapelle 3c7a6a0d4a chore(timezones): update to version 2021a 2021-03-03 09:02:39 -05:00
InverseBot b8a0c84f12 chore(js/css): update generated files 2021-03-03 00:35:05 -05:00
Francis Lachapelle 6ea4cbc7f3 chore(npm): update CKEditor to version 4.16.0 2021-03-02 17:46:10 -05:00
Francis Lachapelle fa3e5e0b75 fix(mail(js)): improve quoted message when replying
Fixes #5223
2021-03-02 17:16:06 -05:00
Francis Lachapelle 6f90977196 fix(common(js)): improve parsing of year
There's no perfect solution when only two digits are used for the year.
It's always better to show four digits for the year to avoid unexpected
results.

Fixes #5268
2021-03-02 14:59:59 -05:00
Francis Lachapelle 088764a3f7 fix(mail(css)): improve visibility of buttons in invitations
Fixes #5263
2021-03-02 14:01:15 -05:00
Extra Fu 080f87c584 Merge pull request #295 from tfux/5266
fix(eas): improve EAS parameters parsing (fixes #5266)
2021-03-01 08:09:40 -05:00
root b2008cd309 fix(eas): improve EAS parameters parsing (fixes #5266) 2021-02-28 14:49:57 +01:00
Francis Lachapelle dd326f9ddf fix(core): use "is null" instead of "= null" when building SQL
Keep NSNull instances for values in GCSFolder and let [EOQualifier(GCS)
_gcsAppendToString:] properly format the key/value qualifier that
involves a NULL.

This fixes various issues, including missing unique recurrent events in
attendees calendars.
2021-02-26 14:30:55 -05:00
InverseBot 822c304d10 chore(js/css): update generated files 2021-02-26 00:35:00 -05:00
Francis Lachapelle f9a8d8491e fix(mail(js)): don't modify filters for automatic refresh
Fixes #5226
2021-02-25 13:39:21 -05:00
InverseBot d2bbaf7c39 chore(js/css): update generated files 2021-02-21 00:35:12 -05:00
InverseBot 7f5386db45 chore(js/css): update generated files 2021-02-16 00:34:40 -05:00
Francis Lachapelle 3662332229 i18n(pl): update Polish translation 2021-02-11 15:01:04 -05:00
Francis Lachapelle cbcf6cbfdf i18n(de): update German translation 2021-02-11 15:00:32 -05:00
Francis Lachapelle 9bafb57a79 i18n(cs): update Czech translation 2021-02-11 15:00:05 -05:00
Francis Lachapelle b486938e40 i18n(sk): update Slovak translation 2021-02-11 14:59:32 -05:00
Francis Lachapelle 8915749f75 i18n(sr): update Serbian and Serbian Latin translations 2021-02-11 14:58:47 -05:00
Francis Lachapelle d030d1c4b3 i18n(ru): update Russian translation 2021-02-11 14:57:29 -05:00
InverseBot 14ef484bea chore(js/css): update generated files 2021-02-11 00:34:47 -05:00
jkanefendt 59e876d8f7 fix(preferences(js)): always apply forward constraints to sieve filters (#294) 2021-02-10 14:41:51 -05:00
InverseBot 83f1516ca8 chore(js/css): update generated files 2021-02-09 00:34:19 -05:00
Francis Lachapelle e774c4c474 fix(mail(css)): limit some text formatting to attachment cards 2021-02-08 12:02:34 -05:00
Francis Lachapelle 9fe2de753b fix(calendar): try to repair VCALENDAR when parsing versit string
It seems that Exchange 2010 and 2016 sometimes produce calendar
invitation emails with text/calendar multipart parts in the email that
have "END:VCALENDAR" at the end of the calendar data missing.
2021-02-08 11:28:39 -05:00
Francis Lachapelle 9dcdaedb40 fix(mail(css)): limit some text formatting to attachment cards 2021-02-08 11:25:05 -05:00
InverseBot 0088b9f7f5 chore(js/css): update generated files 2021-01-26 00:34:39 -05:00
Francis Lachapelle e78eb44dd7 fix(calendar(js)): ignore attendees when saving task 2021-01-25 09:59:02 -05:00
InverseBot 6a5f3e4e4f chore(js/css): update generated files 2021-01-15 00:34:28 -05:00
Francis Lachapelle fc4f5d2161 feat(mail): new option to force default identity
Users can now force the default identity to always be used when replying
or forwarding a message.
2021-01-14 15:23:43 -05:00
Extra Fu 2826c83fc5 Merge pull request #291 from tfux/5239
fix(eas): handle fileAs element (fixes #5239)
2021-01-09 09:54:56 -05:00
root dd8ebd1922 fix(eas): handle fileAs element (fixes #5239) 2021-01-06 19:57:49 +01:00
InverseBot d470ebcda2 chore(js/css): update generated files 2020-12-24 00:34:21 -05:00
Francis Lachapelle 86ab7312a4 fix(mail(css)): restore scrolling of msg source when animation is off 2020-12-23 10:12:22 -05:00
InverseBot 099ef0ef7e chore(js/css): update generated files 2020-12-22 10:06:25 -05:00
Francis Lachapelle b3932cc3de chore(npm): update angular-ui-router 2020-12-22 09:39:31 -05:00
Francis Lachapelle 822c50ff56 i18n(sr_SR): update Serbian (Latin) translation 2020-12-21 15:00:58 -05:00
Francis Lachapelle 5c872647ee chore(npm): update sass 2020-12-21 14:02:51 -05:00
Francis Lachapelle bf23f70104 chore(npm): update ng-sortable 2020-12-21 14:02:16 -05:00
Francis Lachapelle dfeb0467d7 chore(npm): update md to v1.2.2 2020-12-21 14:00:49 -05:00
Francis Lachapelle 8386bb2c08 i18n(sr_SR): add Serbian (Latin) translation 2020-12-18 19:41:37 -05:00
Francis Lachapelle c27be0fbe5 fix(calendar): avoid exception when FoldersOrder have invalid entries 2020-12-18 11:22:42 -05:00
Francis Lachapelle 7da4bc465f fix(core): remove overstruck diacritics from sanitized strings 2020-12-15 14:47:51 -05:00
tfux fab8061766 feat(eas): Allow EAS Search operation in all parts of a message 2020-12-09 13:34:19 -05:00
Francis Lachapelle b9e19c2cc4 fix(addressbook(dav)): add support for macOS 11 (Big Sur)
Fixes #5203
2020-12-01 15:36:51 -05:00
Francis Lachapelle a3277eb65a fix(login): fix localizabled strings when changing language 2020-11-30 16:59:33 -05:00
Francis Lachapelle c38524ab07 fix(calendar): accept HTML in repeat frequencies descriptions 2020-11-30 12:46:03 -05:00
Francis Lachapelle e2e5e6fed9 i18n(mail): improve generic error message for signed/encrypted messages
Fixes #5204
2020-11-26 16:37:13 -05:00
Francis Lachapelle 0d81195ab3 chore(tool): fix disabling of auto-reply
Disabling of auto-reply was occuring one day too early.

Fixes #5219
2020-11-26 16:18:44 -05:00
Francis Lachapelle 7149634bd7 chore(oc): remove unused code of OpenChange 2020-11-24 09:56:00 -05:00
InverseBot c72565d54f chore(js/css): update generated files 2020-11-20 00:35:04 -05:00
InverseBot 0c6862811d chore(js/css): update generated files 2020-11-17 10:22:27 -05:00
Francis Lachapelle f64b4e1a85 fix(css): adjust colors of center lists of views 2020-11-16 13:43:52 -05:00
Francis Lachapelle f5635e7e20 chore(npm): update CKEditor to version 4.15.1 2020-11-16 13:35:03 -05:00
Francis Lachapelle 0eae8296a3 fx(css): reduce list height of mailboxes
Fixes #5145
2020-11-16 12:15:08 -05:00
Francis Lachapelle defd3c97a9 chore(npm): cleanup dependencies, move to Dart Sass 2020-11-16 10:21:56 -05:00
Francis Lachapelle 12047d112f fix(preferences(css)): improve display of some select input fields 2020-11-13 17:19:53 -05:00
Francis Lachapelle 2ecfa70e72 i18n(pl): update Polish translation 2020-11-13 17:02:36 -05:00
Francis Lachapelle c7166de428 i18n(de): update German translation 2020-11-13 17:02:21 -05:00
Francis Lachapelle 1827a4548a i18n(cs): update Czech translation 2020-11-13 17:01:46 -05:00
Francis Lachapelle 0509d7f162 feat(calendar(js)): allow HTML links in location field 2020-11-11 12:08:00 -05:00
Francis Lachapelle 64f0519f7b chore(sogo-ealarms-notify): improve arguments parsing
Fixes #5197
2020-11-11 11:58:30 -05:00
InverseBot c600aa261c chore(js/css): update generated files 2020-11-10 00:34:51 -05:00
Francis Lachapelle bc77536b5d fix(print): don't print toasts
Fixes #5207
2020-11-06 21:28:22 -05:00
Francis Lachapelle f5b925d90e i18n(fr): update French translation 2020-11-06 21:15:18 -05:00
Francis Lachapelle e6088c9026 i18n(mail): fix status for message validity
Fixes #5204
2020-11-06 20:41:38 -05:00
InverseBot 55e5c191f4 chore(js/css): update generated files 2020-11-06 00:35:11 -05:00
Francis Lachapelle 0e0fc72b44 fix(calendar(js)): fix exception when changing an event calendar 2020-11-05 10:30:28 -05:00
InverseBot bf27328b9a chore(js/css): update generated files 2020-11-05 09:17:12 -05:00
Francis Lachapelle 6cac6f2383 chore(npm): update md to v1.2.1 2020-11-04 16:47:12 -05:00
Francis Lachapelle 4a83733039 feat(calendar(web)): allow to change the classification of an event 2020-11-04 16:15:13 -05:00
Ludovic Marcotte 3796009eca fix(eas): handle SENT-BY in delegated calendars 2020-11-03 07:47:53 -05:00
InverseBot 2da3cad939 chore(js/css): update generated files 2020-10-31 00:34:31 -04:00
Francis Lachapelle 00030ba2fa fix(mail(js)): add collapse button to toolbar of HTML editor
It is useful on small screens to be able to collapse the toolbar.
2020-10-30 15:36:30 -04:00
InverseBot 823f94b09f chore(js/css): update generated files 2020-10-22 00:34:13 -04:00
InverseBot 926c405057 chore(js/css): update generated files 2020-10-16 01:26:59 -04:00
Francis Lachapelle 74acab0738 fix(calendar(js)): add attendee from search field when saving
Fixes #5185
2020-10-15 17:43:17 -04:00
Francis Lachapelle 5d1ac9db5d fix(calendar): fix all-day events in lists
All-day events start date was wrong when the period was covering a DST
change.
2020-10-15 14:10:25 -04:00
Francis Lachapelle 1c4ff40d33 fix(preferences(mail)): make sure auto-reply (vacation) text is set 2020-10-15 14:07:04 -04:00
Ludovic Marcotte 41bbbfacd9 fix(core): release alarm folder's channel immediately after being used 2020-10-13 10:53:46 -04:00
Francis Lachapelle 5c65c10faa chore(release): 5.0.1 2020-10-07 10:40:29 -04:00
Ludovic Marcotte 78c9277b99 fix(core): handle bogus CardDAV clients 2020-10-07 08:01:00 -04:00
Francis Lachapelle 0fe73ec8a7 i18n(de): update German translation 2020-10-06 16:29:08 -04:00
InverseBot 8b4b55927e chore(js/css): update generated files 2020-10-06 00:36:53 -04:00
Francis Lachapelle a594bf84a3 i18n(hu): update Hungarian translation 2020-10-01 15:59:00 -04:00
Francis Lachapelle 7af092f849 i18n(cs): update Czech translation 2020-10-01 15:58:03 -04:00
Francis Lachapelle 0fdeee8490 fix(mail): add missing elements to Czech reply template
Fixes #5179
2020-10-01 15:42:00 -04:00
InverseBot f1d02df7a8 chore(js/css): update generated files 2020-10-01 00:33:51 -04:00
Francis Lachapelle 712d0f4ef1 fix(preferences(js)): sanitize content of toast
Sanitize subject and sender of message when using $mdToast to alert user
of new messages.

Fixes #5178
2020-09-30 14:14:24 -04:00
Francis Lachapelle ec1a01e316 fix(mail): remove duplicate recipients in draft 2020-09-30 09:38:22 -04:00
Francis Lachapelle 9150bdd768 fix(calendar(dav)): check if group member is empty 2020-09-24 14:19:04 -04:00
Francis Lachapelle 1bec216ce6 fix(calendar): restore UIxOccurenceDialog
Renamed as action class UIxOccurenceEditor.

Fixes #5141
Fixes #5160
2020-09-16 17:18:18 -04:00
Francis Lachapelle 728a006e6e fix(mail): add SMTP error to Exception returned by SOGOMailer 2020-09-14 14:43:05 -04:00
InverseBot 24b0408c38 chore(js/css): update generated files 2020-09-11 00:32:58 -04:00
Francis Lachapelle aa706796c2 fix(preferences(js)): sanitize mail identities when saving 2020-09-10 12:23:54 -04:00
Francis Lachapelle 64a8ce4048 fix(mail): fallback to the default identity when replying/forwarding 2020-09-10 12:23:54 -04:00
InverseBot f4f15f1c91 chore(js/css): update generated files 2020-09-10 01:23:08 -04:00
Francis Lachapelle 9af697ae83 fix(calendar): restore UIxOccurenceDialog
Renamed as action class UIxOccurenceEditor.

Fixes #5141
2020-09-09 16:27:54 -04:00
Francis Lachapelle ac8a7ecc6e chore(npm): update grunt 2020-09-09 08:45:33 -04:00
Francis Lachapelle 5f550ae448 chore(npm): update lodash 2020-09-09 08:45:03 -04:00
Francis Lachapelle d9fe3a67e1 chore(npm): update angular-file-upload 2020-09-09 08:44:43 -04:00
Francis Lachapelle 3ee702e637 chore(npm): update md to v1.1.26
Fixes #5082
Fixes #5152
2020-09-08 12:26:14 -04:00
InverseBot 7e0a753242 chore(js/css): update generated files 2020-08-21 00:36:31 -04:00
Nicolas Höft 8507204e0d fix(core): fix GCC 10 compatibility
With GCC 10, SOGoAptFormatter.m FTBS with the following error:

    SOGoAptFormatter.m: In function ‘-[SOGoAptFormatter setPrivateTitleOnly]’:
    SOGoAptFormatter.m:104:56: error: expected ‘)’ before ‘::’ token
      104 |   self->formatAction = @selector(titleOnlyForPrivateApt::);

Simply name the second argument, so gcc is happy.

Also add the `external` keyword to a header declared variable.

Fixes #5029
2020-08-19 12:28:30 -04:00
InverseBot 72053a5801 chore(js/css): update generated files 2020-08-19 00:36:53 -04:00
Francis Lachapelle 7163900d24 fix(mail(js)): keep CKEditor toolbar visible 2020-08-18 16:04:21 -04:00
Francis Lachapelle 6aca61d8ae fix(core): decompose LDAP nested groups 2020-08-17 16:03:29 -04:00
InverseBot 21cb0cb985 chore(js/css): update generated files 2020-08-14 00:37:03 -04:00
Francis Lachapelle af452eb1a7 fix(mail(js)): handle subfolders of Sent mailbox
Fixes #4980
2020-08-13 12:20:36 -04:00
Francis Lachapelle 7b9e750806 fix(web(js)): avoid throwing an error when disconnected 2020-08-13 10:06:47 -04:00
Francis Lachapelle 9ece688bd1 docs: update list of supported operating systems 2020-08-12 16:13:29 -04:00
InverseBot 066e20c5d2 chore(js/css): update generated files 2020-08-11 00:36:40 -04:00
Francis Lachapelle 9a24f2ace3 chore(release): 5.0.0 2020-08-10 10:57:32 -04:00
Francis Lachapelle ec02147281 chore(js/css): update generated files 2020-08-10 10:57:11 -04:00
Francis Lachapelle d72ab79496 chore(npm): update angular-ui-router 2020-08-10 10:56:08 -04:00
Francis Lachapelle 4fc99ab7bc docs: improve syntax, add upgrading instruction 2020-08-07 10:28:54 -04:00
Francis Lachapelle ad7ce55d80 chore(release): 5.0.0 2020-08-07 09:11:16 -04:00
Francis Lachapelle 497594dfc8 i18n(ca): update Catalan translation 2020-08-05 18:34:19 -04:00
Francis Lachapelle 559afb0b71 chore(npm): update autoprefixer 2020-08-05 15:01:36 -04:00
Francis Lachapelle 5faf279fec chore(npm): update grunt and grunt-contrib-uglify 2020-08-05 15:01:04 -04:00
Francis Lachapelle 8bf83acabf chore(npm): update angular-ui-router 2020-08-05 14:59:49 -04:00
Francis Lachapelle d1caed9c25 chore(npm): update lodash 2020-08-05 14:59:22 -04:00
Francis Lachapelle 6e0e678627 fix(core): improve error log when parsing PKCS12 certificate 2020-08-05 14:54:55 -04:00
Nicolas Höft 1f9888254a feat(core): Allow disabling tls validation for localhost (#286) 2020-08-05 13:52:18 -04:00
InverseBot 223b27b89b chore(js/css): update generated files 2020-08-05 00:37:56 -04:00
Francis Lachapelle 37d3cb7782 fix(web(css)): improve mailbox expand button in sidenav 2020-08-04 16:36:15 -04:00
Francis Lachapelle 7eac9c3893 fix(calendar(css)): decrease height of calendars entries in lists
md-switch instances are now taking less vertical space.
2020-08-04 16:17:10 -04:00
Francis Lachapelle 1cb9a83f6f fix(web(js)): remove calls to deprecated functions in ng-material 2020-08-04 16:16:09 -04:00
Francis Lachapelle cd95649f08 fix(web(js)): remove calls to deprecated functions in ng-material 2020-08-04 16:12:52 -04:00
Dmitriy Alekseev 8642ff9d00 fix(mail): change default search scope to "subject or from" (#287) 2020-08-04 08:37:17 -04:00
Francis Lachapelle d930821d6b feat(mail): handle multiple mail identities
Fixes #5117
2020-08-03 22:48:45 -04:00
Francis Lachapelle d26bc181fd i18n(de): update German translation 2020-08-03 22:45:15 -04:00
Francis Lachapelle b5f9861e16 i18n(pl): update Polish translation 2020-08-03 22:44:43 -04:00
Francis Lachapelle 743cca255f fix(calendar(js)): show categories colors in task editor
Fixes #5116
2020-08-03 10:24:00 -04:00
InverseBot 60f9d1035f chore(js/css): update generated files 2020-07-31 01:34:14 -04:00
Francis Lachapelle a8bbaf01d7 feat(mail): handle multiple mail identities
Fixes #5087
2020-07-30 15:16:28 -04:00
Francis Lachapelle 87cf5b473f feat(web): support desktop notifications, add global inbox polling
Fixes #1234, fixes #3382, fixes #4295
2020-07-30 15:13:15 -04:00
Francis Lachapelle f6ce265e7b fix(mail(css)): respect white spaces in plaintext messages
Fixes #5069
2020-07-30 13:28:14 -04:00
InverseBot 728b4eeed4 chore(js/css): update generated files 2020-07-30 00:37:08 -04:00
Francis Lachapelle 8205acc5d5 feat(web): support desktop notifications, add global inbox polling
Fixes #1234, fixes #3382, fixes #4295
2020-07-29 16:31:19 -04:00
InverseBot 7efcb58b6e chore(js/css): update generated files 2020-07-28 00:36:58 -04:00
Francis Lachapelle 0e7ce3129c fix(preferences(js)): show error when passwords don't match 2020-07-27 10:20:38 -04:00
Nicolas 2300fe8aab fix(core): Require current password on password change (#285)
Increase security by requiring the current password when changing the
password. This increases the security for cases such as XSS, or just a
forgotten browser window left open.

Fixes #4140
2020-07-27 10:12:22 -04:00
InverseBot 03d8ed5e92 chore(js/css): update generated files 2020-07-25 00:37:30 -04:00
Francis Lachapelle 1c99c2ca42 fix(web): consistency in icon of expandable list items
See https://material.io/components/lists#types
2020-07-24 15:47:17 -04:00
Francis Lachapelle 5e1a59243c fix(calendar): uncondtionally adjust all-day events dates
Fixes #5045
2020-07-24 15:24:40 -04:00
Francis Lachapelle c73b40f62c chore(js/css): add QRCode library
Fixes #5090
2020-07-24 12:38:02 -04:00
Francis Lachapelle 528b7581a3 fix(preferences): accept an "id" key for mail accounts
Fixes #5091
2020-07-24 12:08:49 -04:00
Francis Lachapelle 73797761c3 fix(calendar(js)): show real selected list in print preview 2020-07-24 10:57:24 -04:00
Francis Lachapelle 72b5db4e35 fix(addressbook(js)): show copy option when source is remote 2020-07-24 10:42:22 -04:00
Francis Lachapelle 94efa4d7d4 fix(mail(css)): yellow flags for more visibility 2020-07-24 09:48:41 -04:00
InverseBot 09f63b2e3b chore(js/css): update generated files 2020-07-24 00:35:42 -04:00
Francis Lachapelle 9c391b8d8d fix(mail): use unique names for attachments
Fixes #5086
2020-07-23 12:56:35 -04:00
Francis Lachapelle d549c296ae Revert "(fix) avoid changing RRULE's UNTIL date for no reason"
This reverts commit 9ed1cc4b8f.
2020-07-22 16:39:10 -04:00
Francis Lachapelle 1579ebd233 chore: remove deprecated files and templates 2020-07-22 15:04:12 -04:00
InverseBot 0d297f21cf chore(js/css): update generated files 2020-07-22 00:35:50 -04:00
Francis Lachapelle 8940651586 feat(mail): handle multiple mail identities
Fixes #5083
2020-07-21 17:01:33 -04:00
InverseBot 6f5ffed5e8 chore(js/css): update generated files 2020-07-21 00:35:43 -04:00
InverseBot 355099ab04 chore(js/css): update generated files 2020-07-19 00:35:36 -04:00
Francis Lachapelle 85a6d8e477 fix(preferences(js)): honor SOGoForwardConstraints in Sieve filters 2020-07-18 09:54:24 -04:00
InverseBot e1800da26a chore(js/css): update generated files 2020-07-18 00:35:34 -04:00
Francis Lachapelle 65b3dc2a3b chore(tool): add "-r" option to truncate-calendar
"-r" also deletes recurrent events (including all occurrences). The
start date of the master event is used when this option is enabled.
2020-07-17 14:15:27 -04:00
Francis Lachapelle ff3e83fd43 fix(calendar(js)): don't handle attendees for tasks 2020-07-17 13:58:32 -04:00
InverseBot ed300409b7 chore(js/css): update generated files 2020-07-17 00:35:24 -04:00
Francis Lachapelle 566fe55d71 fix(preferences(js)): set account id before importing certificate
Fixes #5084
2020-07-16 17:30:10 -04:00
Francis Lachapelle b78e66a10b fix(preferences(js)): conditionally sanitize forward addresses
Fixes #5085
2020-07-16 15:05:42 -04:00
Francis Lachapelle e6e994ba80 fix(core): don't synchronize defaults if no mail identity is created
Fixes #5070
2020-07-16 13:52:35 -04:00
InverseBot cc19970066 chore(js/css): update generated files 2020-07-16 00:35:47 -04:00
Francis Lachapelle 825fb85903 fix(acl(js)): toggle rights from the ACL editor 2020-07-15 09:57:31 -04:00
InverseBot 704e7885ce chore(js/css): update generated files 2020-07-15 00:35:45 -04:00
Francis Lachapelle a5ba99cf60 fix(calendar(js)): show freebusy timeline with external-only attendees 2020-07-14 15:29:45 -04:00
Francis Lachapelle 6e2d652e38 fix(web): restore menu separators in sidenav of Calendars & Mailer 2020-07-14 14:32:13 -04:00
Francis Lachapelle 5bb8161494 fix(preferences(js)): honor SOGoForwardConstraints in Sieve filters 2020-07-14 12:11:01 -04:00
InverseBot 772efb3e99 chore(js/css): update generated files 2020-07-14 00:38:02 -04:00
Francis Lachapelle b7f0ee7228 fix(mail): use double-quotes for attributes when re-encoding HTML 2020-07-13 16:40:11 -04:00
Francis Lachapelle 8f3738bfef fix(mail(js)): pick proper "from" address when replying/forwarding
Fixes #5072
2020-07-13 12:29:35 -04:00
InverseBot 063d6f8c33 chore(js/css): update generated files 2020-07-11 00:38:40 -04:00
Francis Lachapelle 0e5e88aaf9 fix(web): add icon to expandable list items 2020-07-10 17:27:03 -04:00
Francis Lachapelle b4f76a7932 feat(mail): handle multiple mail identities
Fixes #768, fixes #4602
2020-07-10 17:07:01 -04:00
Francis Lachapelle 3d25b8b571 fix(addressbook): handle vCard with multiple title values 2020-07-10 17:04:24 -04:00
Francis Lachapelle 208ee08960 feat(mail): handle multiple mail identities
Create read-only identities for email addresses for which no identity has been defined. This way, when visiting the message editor, the user will have access to all of her known email addresses.

Fixes #768, fixes #4602
2020-07-10 17:01:26 -04:00
Ludovic Marcotte cecf157dca fix(core): avoid pooling channels with tools (fixes #4684) 2020-07-10 10:22:48 -04:00
Francis Lachapelle a91a00e33c docs: fix syntax, specify fqdn requirement for SSL/TLS 2020-07-10 09:59:59 -04:00
Francis Lachapelle ddbed84dbf chore(packaging): don't force a start after installation
Fixes #5073
2020-07-09 15:58:40 -04:00
InverseBot 76936a7d8f chore(js/css): update generated files 2020-07-09 01:25:19 -04:00
Ludovic Marcotte 39255b193d fix(eas): handle noselect special folders in Dovecot 2020-07-08 13:19:12 -04:00
Ludovic Marcotte 53665222b5 fix(packaging): More control file fixes 2020-07-08 10:37:23 -04:00
Ludovic Marcotte 1a7fa0b164 fix(packaging): Xenial control files fixes 2020-07-08 08:29:24 -04:00
InverseBot 82d9cf5462 chore(js/css): update generated files 2020-07-08 00:38:45 -04:00
Francis Lachapelle d29c2b2c7b fix(mail): add all unknown recipients to an address book
When SOGoMailAddOutgoingAddresses is enabled, all unknown recipients are
now added to the destination address book.
2020-07-07 15:46:38 -04:00
Francis Lachapelle f7e7612e05 fix(mail(js)): pick proper "from" address when replying/forwarding
Fixes #5072
2020-07-07 14:53:11 -04:00
Francis Lachapelle 96c22b6b96 fix(addressbook): handle vCard with multiple title values 2020-07-07 14:14:08 -04:00
InverseBot 747ba75503 chore(js/css): update generated files 2020-07-07 00:38:53 -04:00
Francis Lachapelle c2d937746f fix(calendar): ensure valid identity when sending invitations 2020-07-06 12:43:56 -04:00
Francis Lachapelle c99170b9bc fix(mail): pick proper "from" address when replying/forwarding
Fixes #5056
2020-07-06 12:43:55 -04:00
Francis Lachapelle 089935297c fix(mail(js)): respect signature placement when switching identity 2020-07-06 12:43:55 -04:00
InverseBot 5db000aa26 chore(js/css): update generated files 2020-07-04 01:34:29 -04:00
Extra Fu 2f75c389f7 Merge pull request #275 from the-nic/feat/4895-argon2
feat(core): Support ARGON2I/ARGON2ID password hashes
2020-07-03 14:44:20 -04:00
Francis Lachapelle f1ff8bfe1c fix(preferences(js)): automatically expand newly created mail account 2020-07-03 12:32:47 -04:00
Francis Lachapelle 443a41b770 i18n(preferences): rename "Current Time Zone" to "Time Zone" 2020-07-03 12:32:47 -04:00
Francis Lachapelle 76cbe7854c feat(preferences): button to reset contacts categories to defaults 2020-07-03 12:32:46 -04:00
Ludovic Marcotte 9c49fae7f4 feat(core): add groups support to sogo-tool manage-acl 2020-07-03 12:02:52 -04:00
InverseBot 9a94e00cf3 chore(js/css): update generated files 2020-07-03 01:40:50 -04:00
Francis Lachapelle 2545caf2e5 fix(mail(css)): add explicit expanded/collapsed mailbox status 2020-07-02 17:24:51 -04:00
InverseBot 6ab3633a61 chore(js/css): update generated files 2020-07-02 00:41:16 -04:00
Francis Lachapelle b8595d7ae6 fix(calendar): return SOGoUser instances when expanding LDAP groups
Fixes #5043
2020-07-01 16:58:16 -04:00
Francis Lachapelle 62fc80de20 chore(npm): update autoprefixer 2020-07-01 15:47:22 -04:00
Francis Lachapelle 4ff0791faf fix(calendar(js)): avoid exception when adding invalid email as attendee 2020-07-01 15:45:02 -04:00
Francis Lachapelle 5087582b75 fix(calendar(js)): remove unused injected module in PrintController 2020-07-01 15:22:33 -04:00
Francis Lachapelle 0c314a33e6 chore(npm): update md to v1.1.24 2020-07-01 15:20:12 -04:00
InverseBot d33ea134dc chore(js/css): update generated files 2020-07-01 08:12:44 -04:00
Francis Lachapelle 7d36702034 Revert "chore(npm): update md to v1.1.23" 2020-07-01 08:10:58 -04:00
Nicolas Höft 4c27826fb5 feat(core): Support ARGON2I/ARGON2ID password hashes
Requires libsodium ≥ 1.0.9 to be present at compile time.

Thus, the following distributions will have support for at least
ARGON2i:

* rhel ≥ 7 (with EPEL enabled)
* Debian ≥ 9 (stretch)
* Ubuntu ≥ Bionic (18.04)

Fixes #4895
2020-07-01 11:20:31 +02:00
Ludovic Marcotte 2be7bab3ed fix(core): avoid fetching quick records for non-existant users 2020-06-30 13:22:17 -04:00
Francis Lachapelle 98d12ba17a Revert "chore(npm): update md to v1.1.23"
This reverts commit ed6a5a20ce.

Rolling back to v1.1.22 until v1.1.24 is out (related to #5055 and #5061).
2020-06-29 14:20:41 -04:00
Francis Lachapelle f60a30c520 fix(preferences(js)): initialize Forward defaults
Make sure 'Forward' is defined prior to visit the Preferences module.
2020-06-27 11:31:08 -04:00
Francis Lachapelle 11bbdee143 feat(mail): handle multiple mail identities
If no custom identity exists, initialize the mail identities of the user
with all the user's email addresses (extracted from MailFieldNames).

For this code path to be executed, the user must not have any of the
following defaults keys:

  SOGoMailIdentities
  SOGoMailCustomFullName
  SOGoMailCustomEmail
  SOGoMailReplyTo
  SOGoMailSignature

Fixes #768, fixes #4602
2020-06-26 15:28:33 -04:00
InverseBot 03545151bb chore(js/css): update generated files 2020-06-26 00:38:54 -04:00
Francis Lachapelle 8933fae461 fix(calendar(js)): improve debugging in Component factory 2020-06-25 15:58:40 -04:00
Francis Lachapelle 7972257692 feat(mail): handle multiple mail identities
Fixes #768, fixes #4602, fixes #5062
2020-06-25 12:12:33 -04:00
InverseBot 901df24363 chore(js/css): update generated files 2020-06-24 01:34:15 -04:00
Ludovic Marcotte e469f52dd1 fix(eas): gcc v10 compat fixes (fixes #5029) 2020-06-23 13:02:49 -04:00
Extra Fu b3dd794515 Merge pull request #282 from jkanefendt/libzip-compat
Use zip_error_strerror and zip_discard if available
2020-06-23 12:24:12 -04:00
Johannes Kanefendt 5da8f1872b Use zip_error_strerror and zip_discard if available 2020-06-23 18:06:10 +02:00
Francis Lachapelle 3d3b17adb8 fix(calendar(js)): improve attendees editor when adding new attendees
Fixes #5049
2020-06-23 12:02:31 -04:00
InverseBot 4d517e992f chore(js/css): update generated files 2020-06-23 00:39:02 -04:00
Francis Lachapelle ee904ac616 fix(preferences(js)): handle cancellation of IMAP account edition 2020-06-22 17:31:54 -04:00
Francis Lachapelle 7494bb3ae6 fix(preferences): improve handling of forward addresses
Fixes #5053
2020-06-22 17:12:05 -04:00
Francis Lachapelle 2730a91b54 fix(preferences(html)): improve placeholders 2020-06-22 15:06:40 -04:00
Francis Lachapelle 1712a7e7e5 fix(preferences(html)): add placeholders to forward addresses field
Fixes #5053
2020-06-22 09:58:11 -04:00
Extra Fu bf4c083de8 fix(packaging): Ubuntu Focal changes 2020-06-21 15:33:20 -04:00
Extra Fu 7a6681826c fix(packaging): Ubuntu Focal changes 2020-06-21 15:32:56 -04:00
Extra Fu b4b9e62d09 fix(packaging): fixed typo 2020-06-20 06:12:40 -04:00
Francis Lachapelle 1b603262e9 chore(npm): update CKEditor to version 4.14.1 2020-06-19 14:47:22 -04:00
Ludovic Marcotte 3b46281dde fix(packaging): control files adjustments for old distro wrt libzip 2020-06-19 13:48:46 -04:00
Ludovic Marcotte f6a4dfcd04 fix(core): never use zip_error_init_with_code 2020-06-19 12:28:50 -04:00
InverseBot b4181ef894 chore(js/css): update generated files 2020-06-19 12:02:48 -04:00
Francis Lachapelle ed6a5a20ce chore(npm): update md to v1.1.23 2020-06-19 11:58:21 -04:00
Francis Lachapelle 523340c1b6 chore(npm): update AngularJS to version 1.8.0 2020-06-19 11:56:30 -04:00
Francis Lachapelle 3f308e0689 chore(npm): update CKEditor to version 4.14.1
Move from the minimalist skin to NT1 because the minimalist skin was
buggy.
2020-06-19 11:53:33 -04:00
Ludovic Marcotte 1389dcfe6b fix(core): no need to call zip_discard, it's handled in zip_close 2020-06-19 11:37:36 -04:00
Ludovic Marcotte 67f5e5e490 fix(core): second pass at libzip compat 2020-06-19 11:30:42 -04:00
Ludovic Marcotte 3c4b1af3ba fix(core): initial compat work on libzip 2020-06-19 11:07:07 -04:00
Extra Fu f246d88a5c Merge pull request #279 from inverse-inc/feature/mail-identities
feat(mail): handle multiple mail identities
2020-06-19 10:42:22 -04:00
Francis Lachapelle f8aa338e64 feat(mail): handle multiple mail identities
Fixes #768, fixes #4602
2020-06-18 16:53:42 -04:00
Francis Lachapelle 2651b5aa9d chore(tool): check for invalid start/end dates in events 2020-06-18 10:56:10 -04:00
InverseBot ee4ec09897 chore(js/css): update generated files 2020-06-18 00:40:47 -04:00
Francis Lachapelle 7e21c6c6a7 refactor(preferences): replace comma-separated list of addresses by
md-chips

Fixes #5048
2020-06-17 17:46:46 -04:00
Francis Lachapelle 1432600fae fix(common(js)): initialize search field with pre-selected option
This is required because of regression in AngularJS Material.

Fixes #5044
2020-06-17 17:46:33 -04:00
InverseBot 97add602df chore(js/css): update generated files 2020-06-17 01:39:40 -04:00
Francis Lachapelle 35ebb7aaeb fix(mail(js)): fix message(s) deletion when overquota 2020-06-16 12:57:17 -04:00
Francis Lachapelle 200c353645 fix(mail(js)): use initial number of rows of textarea with sgAutogrow 2020-06-16 11:58:48 -04:00
Francis Lachapelle d39208efa0 fix(core): fix compilation of pkcs5_pbkdf2.c 2020-06-16 11:54:19 -04:00
InverseBot 348a40837a chore(js/css): update generated files 2020-06-16 00:24:58 -04:00
Extra Fu 0094d65bb9 Merge pull request #276 from the-nic/feat/pbkdf2
feat(core): Add PBKDF2 support
2020-06-12 14:13:23 -04:00
Ludovic Marcotte 0e95de31cf fix(core): fixed linked and packaging for zip->libzip work 2020-06-12 14:09:33 -04:00
Extra Fu 04673e4673 Merge pull request #281 from jkanefendt/use-libzip
Use libzip API instead of zip command line tool for creating zip archives
2020-06-12 14:00:20 -04:00
Ludovic Marcotte 6ec002f023 fix(core): always set the charset when sending IMIP replies 2020-06-12 08:42:00 -04:00
InverseBot 40d8e72c74 chore(js/css): update generated files 2020-06-11 00:39:29 -04:00
Francis Lachapelle 8692e647bd fix(web(js)): handle SAML assertion expiration 2020-06-10 14:56:46 -04:00
InverseBot e9dff9cdbf chore(js/css): update generated files 2020-06-10 00:39:05 -04:00
Francis Lachapelle cddfac82dd Revert "Revert "Revert "fix(core): added back instance caching for LDAP members"""
This reverts commit 056004bca1.
2020-06-09 15:15:06 -04:00
Francis Lachapelle cb08abfa67 Revert "fix(core): avoid caching group members per instance"
This reverts commit 0ff0d43e1e.
2020-06-09 15:14:47 -04:00
Ludovic Marcotte 1146038c76 fix(core): allow non top-level special folders and improved the doc around this 2020-06-09 14:38:01 -04:00
Francis Lachapelle 3ef94da9d6 fix(web(js)): handle SAML assertion expiration 2020-06-09 13:24:49 -04:00
NicolasandSkrupellos 27840093f5 feat(core): add lookupFields attribute in LDAP source
This field allows for looking up attributes not returned with the
default query, such as operational attributes.

Fixes #568

Co-authored-by: Skrupellos <skruppy@onmars.eu>
2020-06-09 11:52:07 -04:00
Johannes Kanefendt 9534816a21 Fixed some header comments 2020-06-09 13:55:08 +02:00
Johannes Kanefendt b951c72451 Use libzip API for creating ZIP archives instead of zip command line tool 2020-06-09 13:50:29 +02:00
InverseBot 0e6e802243 chore(js/css): update generated files 2020-06-09 00:39:20 -04:00
Francis Lachapelle 4292a45e62 refactor(preferences): replace comma-separated list of addresses by md-chips 2020-06-08 17:52:45 -04:00
Ludovic Marcotte 0ff0d43e1e fix(core): avoid caching group members per instance 2020-06-08 10:26:33 -04:00
Ludovic Marcotte 056004bca1 Revert "Revert "fix(core): added back instance caching for LDAP members""
This reverts commit ca5df1a153.
2020-06-08 09:53:44 -04:00
InverseBot dbf5179e69 chore(js/css): update generated files 2020-06-06 00:38:29 -04:00
Francis Lachapelle 433da56b23 fix(web(js)): handle SAML assertion expiration 2020-06-05 11:20:23 -04:00
InverseBot cf91b2dcbb chore(js/css): update generated files 2020-06-05 00:39:00 -04:00
Francis Lachapelle ca5df1a153 Revert "fix(core): added back instance caching for LDAP members"
This reverts commit b94175cc0c.
2020-06-04 16:13:45 -04:00
InverseBot ad9947e627 chore(js/css): update generated files 2020-06-04 00:39:00 -04:00
Ludovic Marcotte b94175cc0c fix(core): added back instance caching for LDAP members 2020-06-03 14:53:26 -04:00
Francis Lachapelle 4d42e3f176 chore(npm): update md to v1.1.22 2020-06-03 10:28:26 -04:00
Ludovic Marcotte 9f55cdc725 fix(core): added even better debugging for bogus groups 2020-06-03 07:46:57 -04:00
Nicolas Höft fc863bf63f fix: Fix for failing test in NSString+Utilities
The test in TestNSString+Utilities would otherwise fail:

======================================================================
FAIL: test_countOccurrencesOfString (TestNSString+Utilities.m:46)
----------------------------------------------------------------------
assertion failure

Simply leave the loop early if the substring length is zero to
avoid this issue
2020-06-03 08:17:08 +02:00
Nicolas Höft 2e0fc3ca09 feat(core): Add PBKDF2 support
Extend NSData+Crypto to support PBKDF2 with SHA1 HMAC as dovecot
is using it since v2.3.0.

The format hashed passwords is {PBKDF2}$1$<salt>$<rounds>$<hashed value in hex>

The implementation of pkcs#5 PBKDF2 is taken from openbsd (with minor
adjustments) as OpenSSL and GnuTLS would require quite new versions to
support this hash.
2020-06-03 08:17:08 +02:00
InverseBot 8f7df73a29 chore(js/css): update generated files 2020-06-03 01:43:03 -04:00
Francis Lachapelle 8b1b938899 refactor(preferences): replace comma-separated list of addresses by md-chips 2020-06-02 15:10:00 -04:00
Ludovic Marcotte 42587f7422 fix(core): improved debugging on bogus groups 2020-06-02 15:05:54 -04:00
InverseBot d3a4136516 chore(js/css): update generated files 2020-05-29 00:38:51 -04:00
Francis Lachapelle 6af55414fb fix(web(js)): handle SAML assertion expiration 2020-05-28 14:53:31 -04:00
Ludovic Marcotte 105ca88aef fix(core): improve debugging on invalid group sources 2020-05-28 14:02:09 -04:00
Francis Lachapelle 008b8e51cc chore(npm): update autoprefixer 2020-05-28 08:44:21 -04:00
Francis Lachapelle cd37e989db feat(core(js)): improve Google Authenticator on login page, add QR code
Fixes #5038
2020-05-28 08:41:10 -04:00
Francis Lachapelle c1acce0725 feat(core(js)): improve Google Authenticator on login page, add QR code
Fixes #5038
2020-05-27 18:01:17 -04:00
Francis Lachapelle a0320400d2 Merge pull request #277 from fpiecka/master
chore: Allow settings override in sogo-backup.sh
2020-05-27 10:59:38 -04:00
Ludovic Marcotte 05dc51ec30 feat(core): handle groups when setting ACLs (fixes #4171) 2020-05-26 10:03:16 -04:00
Ludovic Marcotte 5b6096e32c fix(core): improve debbuging when dealing with groups 2020-05-26 09:25:25 -04:00
Ludovic Marcotte e37ae5fec5 fix(core): disable ASM version of blowfish on i386 2020-05-21 08:51:56 -04:00
Fedor Piecka 789113bb44 Allow settings override in sogo-backup.sh
Allow a sysadmin to override BACKUP_DIR and DAYS_TO_KEEP by setting an environment variable.
2020-05-19 11:11:55 +02:00
InverseBot 513c17bc2f chore(js/css): update generated files 2020-05-16 00:40:13 -04:00
Extra Fu 30c0d8a425 Merge pull request #272 from the-nic/feat/blowfish
Add BLF-CRYPT password scheme support
2020-05-15 19:12:44 -04:00
Nicolas Höft 789b55c274 NSData+Crypto: add password verification function
This will allow for using specific verification, depending on the
scheme.
2020-05-15 22:53:15 +02:00
Ludovic Marcotte 798ad1502c fix(core): adjust syntax for Python > 2 2020-05-15 12:45:20 -04:00
Francis Lachapelle 07c06db69d refactor(mail(js)): replace ckEditor directive by sgCkeditor component
This refactoring

 1. simplifies updating the CKEditor source code;
 2. allows many instances of the CKEditor on the same page;
 3. fixes the cursor positioning on focus.
2020-05-15 11:37:56 -04:00
Ludovic Marcotte 9f861bd629 docs: Adjusted Thunderbird's v68 manifest info 2020-05-15 09:31:04 -04:00
Nicolas Höft c3a4f4aeb4 fix(core): NSData+String: Simplify generateSalt function
Instead of converting binary data to base64 in order to get printable
data, use a white list of characters allowed and select from those.

This also makes sure we will get the right amount of characters as
requested, not potentially longer strings.
2020-05-15 07:43:38 +02:00
Nicolas Höft 8c612fc0a2 feat(core): Add BLF-CRYPT scheme.
Dovecot promotes the use of BLF-CRYPT as a hashing scheme [1].
However, as not all libc-crypt() implementations support this scheme,
use the implementation added in a previous commit.

Also, update the references to the dovecot implementation and a small
test case for testing the blowfish implementation.

[1] https://doc.dovecot.org/configuration_manual/authentication/password_schemes/

Fixes #4958
2020-05-15 07:43:38 +02:00
Nicolas Höft 562f81f21f fix(core): NSData+String: Dont mix tabs and spaces 2020-05-15 07:43:38 +02:00
Nicolas Höft 3040c275d8 feat(core): Add blowfish implementation from openwall
Using version 1.3, see https://www.openwall.com/crypt/
2020-05-15 07:43:38 +02:00
Ludovic Marcotte 96986280ee fix(eas): avoid doing bogus truncation 2020-05-14 15:46:55 -04:00
Extra Fu b53d1254d9 Merge pull request #274 from the-nic/feature/smtp-ssl-tls
feat(core): support smtps
2020-05-14 12:15:51 -04:00
Nicolas Höft 589cfaa2f4 feat(core): Support smtps and STARTTLS for SMTP
Support uri schemes for SMTP, enabling STARTTLS and SMTPS for SMTP
connections.

The new format for configuration value SMTPServer supports passing a
URI scheme (either smtp:// or smtps://). To support old configurations,
if no scheme is given, smtp:// is assumed.

Fixes #31
2020-05-14 08:47:05 +02:00
Ludovic Marcotte 7ef507bdb4 fix(packaging): fixes for centos/rhel v8 support 2020-05-13 11:14:40 -04:00
InverseBot fb117f48c8 chore(js/css): update generated files 2020-05-13 01:03:39 -04:00
Ludovic Marcotte a102a94ac5 fix(packaging): enable mfa on focal 2020-05-12 13:44:10 -04:00
Francis Lachapelle f31a07fd74 Revert "fix(packaging): don't enable mfa on squeeze"
This reverts commit e9cc088153.
2020-05-12 11:20:42 -04:00
Francis Lachapelle 964e6f0cb1 fix(mail(js)): encode HTML entities when computing height of textarea
Fixes #5020
2020-05-12 11:16:32 -04:00
Ludovic Marcotte d7979871bc fix(packaging): fixed condition syntax 2020-05-12 07:59:00 -04:00
Ludovic Marcotte e9cc088153 fix(packaging): don't enable mfa on squeeze 2020-05-12 07:46:59 -04:00
InverseBot a0e5699e60 chore(js/css): update generated files 2020-05-08 10:40:46 -04:00
Francis Lachapelle 272fa8f898 fix(calendar(js)): fix event blocks width in day view
Fixes #5017
2020-05-08 09:51:55 -04:00
Francis Lachapelle 312817b7ae chore(debian): fix rules for MFA 2020-05-08 09:15:43 -04:00
Francis Lachapelle e8f0471bcf feat(core(js)): improve Google Authenticator on login page, add QR code
Closes #2722
2020-05-07 16:45:37 -04:00
Ludovic Marcotte f78300a12e feat(core): initial Google Authenticator support for 2FA 2020-05-07 07:22:24 -04:00
Francis Lachapelle 33d3154d15 chore(release): 4.3.2 2020-05-06 17:07:38 -04:00
Francis Lachapelle 7b5c787718 fix(core): LDAP group expansion must use all user sources 2020-05-05 12:18:37 -04:00
Francis Lachapelle 5da7903ce1 chore(tool): fallback to NGImap4ConnectionStringSeparator
When using a master user to update the Sieve scripts through sogo-tool,
we may not be able to detect the IMAP delimiter. Therefore, we must
fallback to the default NGImap4ConnectionStringSeparator.

Fixes #4919
2020-05-05 10:53:02 -04:00
InverseBot 1fa4b8871d chore(js/css): update generated files 2020-05-05 01:18:29 -04:00
Francis Lachapelle e7da4c19b8 fix(web(js)): improve encoding of folder paths in XHR calls
Fixes #4989
2020-05-04 18:44:20 -04:00
Ludovic Marcotte cbf3d89f3e Merge branch 'master' of https://github.com/inverse-inc/sogo 2020-05-04 12:57:40 -04:00
Ludovic Marcotte 7929fd394f fix(core): skip folder check during ACL subscribe 2020-05-04 12:57:11 -04:00
Francis Lachapelle 8f7b2bfbed fix(core): LDAP group expansion must use all user sources 2020-05-04 12:25:16 -04:00
root 8a4e79963f fix(core): skip folder check during ACL subscribe 2020-05-04 09:57:49 -04:00
InverseBot d29c00827c chore(js/css): update generated files 2020-05-03 01:18:12 -04:00
Francis Lachapelle f1b52a7486 chore(release): 4.3.1 2020-05-01 14:51:36 -04:00
Francis Lachapelle c7d3546be8 chore(js/css): update generated files 2020-05-01 14:51:36 -04:00
Francis Lachapelle 4742f2fd31 chore(npm): update development dependencies 2020-05-01 14:51:36 -04:00
Francis Lachapelle 9feefba545 chore(npm): update angular-ui-router 2020-05-01 14:51:35 -04:00
Francis Lachapelle c12b1395e7 chore(npm): update CKEditor to version 4.14.0 2020-05-01 14:51:35 -04:00
InverseBot 605c026425 chore(js/css): update generated files 2020-05-01 01:20:09 -04:00
Francis Lachapelle 807cefaa39 fix(mail(css)): minor improvements to the mail editor 2020-04-30 11:46:33 -04:00
Francis Lachapelle 2c050d847e fix(mail(js)): wrong argument to Mailbox.$_deleteMessages
Fixes #4986
2020-04-30 11:02:48 -04:00
Francis Lachapelle 158c5e45c4 fix(mail(js)): restore unseen count after deleting a mailbox 2020-04-30 10:52:28 -04:00
Francis Lachapelle 174b44ed50 fix(web(css)): truncate text of toolbar in multi-selection mode
Fixes #4623
2020-04-30 09:01:28 -04:00
InverseBot 260aa1971b chore(js/css): update generated files 2020-04-29 17:05:48 -04:00
Francis Lachapelle d99bbbb37e fix(core): escape quotes before sending SQL queries
Fixes #5010
2020-04-29 12:52:09 -04:00
Francis Lachapelle 09c76b3649 fix(core): escape quotes before sending SQL queries
Fixes #5010
2020-04-27 17:13:28 -04:00
Francis Lachapelle 04a6217512 fix(core): escape quotes before sending SQL queries
Fixes #5010
2020-04-23 13:49:15 -04:00
InverseBot 1801d0d60f chore(js/css): update generated files 2020-04-17 16:00:36 -04:00
Francis Lachapelle fd063fd5b3 fix(web(js)): handle SAML assertion expiration 2020-04-17 15:59:44 -04:00
Francis Lachapelle a4c51a90bb Remove reference to SOGoGroup.h 2020-04-17 15:16:23 -04:00
InverseBot 2fdb924aff chore(js/css): update generated files 2020-04-17 13:54:31 -04:00
Francis Lachapelle 824b38332c fix(preferences): avoid exception when parsing PreventInvitationsWhitelist
Fixes #5006
2020-04-17 12:11:01 -04:00
Francis Lachapelle 64461764c8 fix(web(js)): handle SAML assertion expiration 2020-04-17 09:50:43 -04:00
InverseBot 0683dafc22 chore(js/css): update generated files 2020-04-17 01:09:04 -04:00
Francis Lachapelle 058df21ada fix(calendar(js)): find a free slot for a maximum of 30 days 2020-04-16 17:11:50 -04:00
Francis Lachapelle 84f3fd5e1c i18n(sk): update Slovak translation 2020-04-16 09:37:41 -04:00
Francis Lachapelle 7b4e4f7345 i18n(pl): update Polish translation 2020-04-16 09:37:17 -04:00
Francis Lachapelle 543abb39d5 i18n(hu): update Hungarian translation 2020-04-16 09:36:49 -04:00
Francis Lachapelle f75af12db8 i18n(fr): update French translation 2020-04-16 09:36:29 -04:00
Francis Lachapelle 91d193fa0f i18n(nl): update Dutch translation 2020-04-16 09:36:00 -04:00
Francis Lachapelle 0e5e9ddb74 i18n(ca): update Catalan translation 2020-04-16 09:35:39 -04:00
Francis Lachapelle a41fb9e1a9 i18n(de): update German translation 2020-04-16 09:35:11 -04:00
Francis Lachapelle c61fe4a188 i18n(pt_BR): update Brazilian (Portuguese) translation 2020-04-16 09:33:47 -04:00
InverseBot 0b43f11d61 chore(js/css): update generated files 2020-04-14 01:09:06 -04:00
Francis Lachapelle 52bb3baa8b fix(mail(js)): url-encode folder path to handle special characters (%)
Fixes #4989
2020-04-13 17:28:11 -04:00
Francis Lachapelle 979e1342c7 docs: fix wrong default values for MailComposeMessageType and LoginModule
Fixes #4992
2020-04-06 15:38:45 -04:00
Francis Lachapelle 4019cb7556 chore(npm): update angular-ui-router 2020-04-03 15:42:30 -04:00
Francis Lachapelle 6af0058657 fix(calendar): use the calendar owner when generating freebusy information 2020-04-03 12:18:16 -04:00
Extra Fu a78f06e909 Merge pull request #234 from iredmail/master
Create directories with 077X
2020-04-02 09:53:04 -04:00
Extra Fu 62823815a7 Merge pull request #263 from jkanefendt/revise-group-expansion
Revision of the group member expansion interface
2020-04-02 09:52:21 -04:00
Ludovic Marcotte 78e50b7a2a docs: fix indent (fixes #4999) 2020-04-02 07:23:07 -04:00
Extra Fu 841d6896fc Merge pull request #271 from tfux/4988
fix(eas): properly encode DisplayTo (fixes #4995)
2020-03-30 06:35:22 -04:00
root 18ffd1a744 fix(eas): properly encode DisplayTo (fixes #4995) 2020-03-29 09:15:00 +02:00
Extra Fu 45eeb5fa24 Merge pull request #270 from tfux/4988
fix(eas): fix invalid DisplayTo (fixes #4988)
2020-03-22 14:04:59 -04:00
root b8f31069ed fix(eas): fix invalid DisplayTo (fixes #4988) 2020-03-22 17:15:18 +01:00
Francis Lachapelle e8e41f15e3 i18n(lv): update Latvian translation 2020-03-09 11:13:20 -04:00
Francis Lachapelle e3559d5ca3 i18n(cs): update Czech translation 2020-03-09 11:13:19 -04:00
Francis Lachapelle de5da7bd0d i18n(ro_RO): update Romanian translation 2020-03-09 11:13:19 -04:00
InverseBot bc09aeb830 chore(js/css): update generated files 2020-03-07 01:26:12 -05:00
Francis Lachapelle d1dbceb407 fix(mail): remove onpointerrawupdate event handler from HTML messages
Fixes #4979
2020-03-06 12:14:46 -05:00
Francis Lachapelle 2601ad4563 chore(tool): fix usage example of manage-acl
Fixes #4963
2020-03-06 10:55:31 -05:00
Francis Lachapelle da51482ce1 fix(mail): validate IMAP ACL compliance on main mail account 2020-03-02 14:04:47 -05:00
Ludovic Marcotte 62e25f6c13 fix(calendar(core)): avoid generating empty parameters list 2020-02-27 15:26:39 -05:00
Ludovic Marcotte 78292495bb fix(calendar(core)): check for array size before looking into 2020-02-27 14:46:21 -05:00
InverseBot 72efaa7432 chore(js/css): update generated files 2020-02-22 01:23:26 -05:00
Francis Lachapelle daaad938cb fix(mail(js)): disable autogrow of textarea in popup window
Fixes #4962
2020-02-21 11:54:27 -05:00
Francis Lachapelle 5e1f487e49 fix(calendar): fix first range of "busy off hours" in vFreeBusy response 2020-02-21 10:37:58 -05:00
InverseBot 989021d561 chore(js/css): update generated files 2020-02-20 01:27:48 -05:00
Francis Lachapelle 656410eb6b fix(preferences(html)): reject action of mail filter is now a textarea 2020-02-19 15:56:51 -05:00
Francis Lachapelle 4e2d5098c7 fix(mail(js)): limit number of messages to batch delete per API call 2020-02-19 11:10:38 -05:00
InverseBot 3433a2e765 chore(js/css): update generated files 2020-02-19 01:27:46 -05:00
Francis Lachapelle eabb40a0bf fix(css): improve contrast of toolbars w/input field 2020-02-18 16:24:36 -05:00
Francis Lachapelle 860d635c9c fix(web(css)): space issue with folders subscription dialog on Firefox
Fixes #4954
2020-02-13 09:15:26 -05:00
InverseBot 501edfc319 chore(js/css): update generated files 2020-02-13 01:26:06 -05:00
Francis Lachapelle 2b5e7a68d7 chore(tool): check for missing start/end dates in events 2020-02-12 11:35:56 -05:00
Francis Lachapelle 95b3e9d4fa fix(mail(js)): skrink autogrow md-input when content is removed 2020-02-12 10:59:06 -05:00
Extra Fu dda13e602b Merge pull request #269 from tfux/ics_import
fix(calendar): fallback to tz found in ics (fixes #4943)
2020-02-05 11:34:58 -05:00
InverseBot c49137e620 chore(js/css): update generated files 2020-02-05 02:13:22 -05:00
root 24fc9a950b fix(calendar): handle tz with until in rrule (fixes #4943) 2020-02-02 12:14:48 +01:00
InverseBot ad3a9c87f8 chore(js/css): update generated files 2020-02-01 01:20:57 -05:00
Francis Lachapelle 3e6cd3c53c perf(web): don't wait on Sieve server to render UIxPageFrame.wox 2020-01-31 16:51:33 -05:00
Francis Lachapelle bc963d53c6 fix(mail): wrap HTML part before re-encoding content
Avoid improper encoding when the HTML part is using an unsupported
encoding by libxml2.
2020-01-30 15:36:16 -05:00
root 57bbb255cc fix(calendar): fallback to tz found in ics 2020-01-29 22:18:29 +01:00
Francis Lachapelle 127a3c487d chore(release): 4.3.0 2020-01-21 09:53:16 -05:00
InverseBot d92cd9c3f3 chore(js/css): update generated files 2020-01-21 01:21:02 -05:00
Extra Fu c69382cb5d Merge pull request #268 from tfux/4911
fix(eas): sync reminder for invitation (fixes #4911)
2020-01-20 17:55:17 -05:00
Francis Lachapelle 88a675596c i18n(pt_BR): update Brazilian (Portuguese) translation 2020-01-20 16:34:17 -05:00
Francis Lachapelle b71df14b14 fix(mail(js)): bypass autogrow feature of md-input to fix scroll jumping 2020-01-20 14:19:11 -05:00
Francis Lachapelle 73dc86a6ed fix(mail(js)): bypass autogrow feature of md-input to fix scroll jumping
See https://github.com/angular/material/issues/3070
2020-01-20 14:10:57 -05:00
root 9221811fdc fix(eas): sync reminder for invitation (fixes #4911) 2020-01-20 18:50:49 +01:00
Francis Lachapelle 560c1dcd82 fix(calendar): adjust recurrent rule when importing a vEvent 2020-01-20 12:03:34 -05:00
Extra Fu 0e5514e425 Merge pull request #267 from tfux/4929
fix(eas): additional name fields (fixes #4929)
2020-01-20 11:04:06 -05:00
Francis Lachapelle 94af9bb780 chore(npm): update CKEditor to version 4.13.1 2020-01-17 12:27:45 -05:00
Francis Lachapelle 43e5662950 fix(calendar(css)): fix padding of sort handle of calendars 2020-01-17 11:48:02 -05:00
Francis Lachapelle 96f2c64320 chore(npm): update md to v1.1.21 2020-01-17 11:42:40 -05:00
Francis Lachapelle 001d76fd05 fix(calendar(js)): allow event invitations to be moved
Fixes #4926
2020-01-17 11:34:37 -05:00
Francis Lachapelle 62f64314c0 fix(mail): fix SMTP authentication when reporting spam/ham
Fixes #4941
2020-01-17 09:53:16 -05:00
root 3f94516e31 fix(eas): additional name fields (fixes #4929) 2020-01-16 22:17:57 +01:00
Francis Lachapelle d8fab6bb21 fix(calendar): restore [SOGoAppointmentObject resourceHasAutoAccepted]
Fixes #4923
2020-01-16 10:43:42 -05:00
Ludovic Marcotte 047a98b870 fix(eas): avoid generating broken XML ouput (fixes #4927) 2020-01-08 13:04:42 -05:00
Ludovic Marcotte f0980a9cbd feat(core): Added AES-128-CBC password scheme for SQL authentication.
This allows SOGo to use Plesk's database as an authentication source.
2020-01-06 15:47:47 -05:00
Francis Lachapelle 4216f9e726 chore: use TABLE variable in 9-table migration scripts
Fixes #4889
2020-01-06 15:10:43 -05:00
Francis Lachapelle ba1757fd05 chore: fix MySQL migration script to 9-table schema
Fix datatype of sogo_folder_info.c_location.

Fixes #4377
Fixes #4888
2020-01-06 13:43:40 -05:00
Francis Lachapelle 91ca8b8bec fix(calendar): restore [SOGoAppointmentObject resourceHasAutoAccepted]
This method is used for ActiveSync support.

Fixes #4923
2020-01-06 09:41:49 -05:00
InverseBot 5b089bbe14 chore(js/css): update generated files 2019-12-31 01:15:45 -05:00
InverseBot 9437ba8b9a chore(js/css): update generated files 2019-12-25 01:18:27 -05:00
Francis Lachapelle 94b171675f perf(css): remove unused selectors for layout 2019-12-24 16:18:32 -05:00
Francis Lachapelle aaaa16ed40 fix(calendar): fix monthly computation with month day mask
Fixes #4915
2019-12-24 14:56:49 -05:00
Francis Lachapelle d6d33f9f0b fix(tool): fix error handling when updating Sieve script 2019-12-19 15:22:24 -05:00
Ludovic Marcotte 4ed2c727a2 fix(eas): make sure there is always an attendee name (fixes #4910) 2019-12-19 09:03:17 -05:00
InverseBot ee1ffef5b5 chore(js/css): update generated files 2019-12-19 01:17:15 -05:00
Francis Lachapelle 6b17d5298c chore(js/css): update generated files 2019-12-17 15:00:49 -05:00
Francis Lachapelle e36d5dfb7c chore(release): 4.2.0 2019-12-17 14:43:59 -05:00
Francis Lachapelle 56e1583ccc chore(npm): update autoprefixer 2019-12-17 14:21:04 -05:00
Francis Lachapelle c1ccbae316 style(obj-c): replace tabs by spaces 2019-12-17 11:15:50 -05:00
Francis Lachapelle 91cefbdff1 docs: update asciidoc guides 2019-12-17 11:13:42 -05:00
Francis Lachapelle e65e0f191f i18n(sk): update Slovak translation 2019-12-17 11:11:58 -05:00
Francis Lachapelle bc172c5895 i18n(fr): update French translation 2019-12-17 11:11:43 -05:00
Francis Lachapelle ae42fd869a i18n(nl): update Dutch translation 2019-12-17 11:11:11 -05:00
Francis Lachapelle cd8f957774 i18n(cs): update Czech translation 2019-12-17 11:10:40 -05:00
Francis Lachapelle 7180b5988d fix(preferences): improve error handling with Sieve server 2019-12-16 14:54:03 -05:00
Francis Lachapelle 9aeecead6c fix(calendar(html)): don't cache list of week days
Fixes #4907
2019-12-16 11:10:07 -05:00
Francis Lachapelle 15d7c69d94 fix(calendar): adjust invalid dates when importing a vEvent
Fixes #4845
2019-12-16 10:48:26 -05:00
Francis Lachapelle a25e5acba4 chore(tool): conditionally activate the Sieve script 2019-12-13 15:19:59 -05:00
Ludovic Marcotte 0ceccdd612 fix(addressbook(core)): safety check from broken URLs 2019-12-13 13:54:34 -05:00
Francis Lachapelle 86643b4339 docs: convert NEWS to CHANGELOG.md 2019-12-11 12:41:13 -05:00
Francis Lachapelle edc01e9532 fix(calendar): allow fetching group members from contacts-only sources
If a group is invited to an event, search members within the known source
of the contact instead of relying on a global search among "canAuthenticate" sources.
2019-12-10 12:29:40 -05:00
InverseBot 9d1d12af54 chore(js/css): update generated files 2019-12-10 01:17:03 -05:00
Francis Lachapelle a303011237 fix(mail(js)): avoid exception when adding duplicated recipient 2019-12-09 12:34:48 -05:00
Francis Lachapelle 5ccc12639b fix(mail(html): expose UIxMailViewRecipientMenu in popup view 2019-12-09 12:29:58 -05:00
Francis Lachapelle 2048fb19cf fix(calendar(js)): avoid exception when adding duplicated attendee 2019-12-09 12:24:55 -05:00
Francis Lachapelle 46ade7640a feat(mail(js)): new button to expand recipients that are LDAP groups
Copy all object attributes when cloning the Message object in the popup
view.

Fixes #4902
2019-12-09 11:41:14 -05:00
Francis Lachapelle 2e46e89d58 refactor: replace calls to create GMT NSTimeZone instance 2019-12-09 08:50:50 -05:00
InverseBot eb13aa14b2 chore(js/css): update generated files 2019-12-05 01:17:54 -05:00
Francis Lachapelle 47075b40a2 fix(mail): wrap HTML part with HTML tags to render all content 2019-12-04 15:45:26 -05:00
Francis Lachapelle e71afc982e fix(web): improve contrast of toolbars w/input field 2019-12-04 12:36:48 -05:00
Johannes Kanefendt 948c89f5bb - Respect the user domain when dealing with groups
- Renamed protocol MembershipAwareSource to SOGoMembershipSource
2019-12-04 10:37:08 +01:00
InverseBot 7aaadd724d chore(js/css): update generated files 2019-12-04 01:20:08 -05:00
Francis Lachapelle 5923639154 fix(calendar): raise warning when MuiltipleBookings is set to -1 2019-12-03 16:42:36 -05:00
Francis Lachapelle fbdabc9615 fix(calendar(js)): fix refresh of attendees freebusy information
* refresh template with freebusy information of organizer
* fix event coverage in freebusy timeline when event spans a day

Related to bug #4899
2019-12-03 10:34:47 -05:00
Francis Lachapelle 3bb40e4024 fix(calendar): adjust invalid dates when importing a vEvent
Fixes #4845
2019-11-27 17:00:28 -05:00
Johannes Kanefendt 278d4ab4cb Return NSDictionary contact entries from [MembershipAwareSource membersForGroupWithUID] instead of SOGoUser objects.
Optimization for user sources that are capable of fetching lists of group members at once, might save a lot of expensive SOGoUser lookups.
2019-11-26 22:20:28 +01:00
Francis Lachapelle f872dc52c6 i18n(de): remove duplicated short date formats 2019-11-26 15:13:07 -05:00
Johannes Kanefendt 2e98929900 Removed tight coupling of group membership expansion and LDAPSource.
Any implementation of SOGoSource may now support group expansion by implementing the protocol MembershipAwareSource.
2019-11-26 15:29:02 +01:00
InverseBot 856b0654ab chore(js/css): update generated files 2019-11-22 01:17:37 -05:00
Francis Lachapelle 456a66b66b feat(mail(js)): new button to expand recipients that are LDAP groups 2019-11-21 21:51:27 -05:00
InverseBot f140bba03a chore(js/css): update generated files 2019-11-21 01:18:01 -05:00
Francis Lachapelle 123ccef770 (web) Improve contrast of toolbars w/input field 2019-11-20 12:18:42 -05:00
Francis Lachapelle 4628292fb3 chore(debian): don't call chown if pid file doesn't exist 2019-11-20 09:17:07 -05:00
InverseBot 06814c2dee chore(js/css): update generated files 2019-11-20 01:16:27 -05:00
InverseBot fa2fbd3177 chore(js/css): update generated files 2019-11-19 01:17:36 -05:00
Francis Lachapelle 729802222f fix(mail(js)): add missing library to save msg from popup window
Fixes #4879
2019-11-18 11:57:53 -05:00
Francis Lachapelle e458a78a10 i18n(ca): update Catalan translation
Fixes #4878
2019-11-18 11:34:22 -05:00
Francis Lachapelle 14b60cd756 fix(calendar(js)): avoid call to /members when expansion is disabled
Expose SOGoLDAPGroupExpansionEnabled in /jsonDefaults to avoid a call to
/members when the parameter is disabled.
2019-11-18 11:06:15 -05:00
InverseBot 9c299cf0de chore(js/css): update generated files 2019-11-16 01:18:07 -05:00
Francis Lachapelle 5b3d84ee24 refactor(preferences): conditionally activate the Sieve script
All the user defaults are now editable through the Preferences module,
even if an external Sieve script is enabled. However, the user can
disable the external Sieve script and force the activation of the
"sogo" Sieve script.
2019-11-15 14:37:35 -05:00
Francis Lachapelle 350677bbce chore(debian): don't call chown if pid file doesn't exist 2019-11-08 13:34:39 -05:00
InverseBot c6f532dea8 chore(js/css): update generated files 2019-11-08 01:57:42 -05:00
Ludovic Marcotte 2bc24eca82 fix(core): don't disable the current script if we aren't doing anything 2019-11-07 15:27:43 -05:00
Ludovic Marcotte ac91a303c9 feat(core): Allow the detection of external Sieve scripts
This allows SOGo users to keep existing Sieve scripts instead of
overwriting the SOGo ones by default.
2019-11-07 15:18:28 -05:00
Francis Lachapelle 70984def1f fix(preferences(js)): Lower constraints on auto-reply dates range
Fixes #4874
2019-11-07 11:37:57 -05:00
Francis Lachapelle 699849caec fix(calendar(js)): don't escape HTML characters in repeat select menu
Fixes #4875
2019-11-07 09:47:11 -05:00
Ludovic Marcotte 113f076981 chore(preferences): removed years' old commented code 2019-11-07 08:32:15 -05:00
Ludovic Marcotte 3a8336484c chore(core): removed NSLog calls 2019-11-07 08:17:35 -05:00
Ludovic Marcotte 4475ac651d feat(core): allow pre/appended Sieve scripts
Allow domain admins to now set Sieve scripts that can be prepended
and appended to all users' scripts. This can now be controller
using the SOGoSieveScriptHeaderTemplateFile and
SOGoSieveScriptFooterTemplateFile domain defaults.
2019-11-06 14:53:30 -05:00
Ludovic Marcotte c2e7f6a866 feat(preferences): allow hiding of vacation the vacation period
This is controllable using the new SOGoVacationPeriodEnabled
domain defaults variable.
2019-11-05 15:33:16 -05:00
Francis Lachapelle 32968092e2 Merge pull request #262 from Neustradamus/master
chore(apache): Space removal in configuration files
2019-11-03 21:03:07 -05:00
Neustradamus 1fd4d54d59 Empty line removal
Empty line removal
2019-11-02 19:18:19 +01:00
Neustradamus d9f059a9e3 Space removal
Space removal
2019-11-02 19:08:23 +01:00
InverseBot 83d52a16f4 chore(js/css): update generated files 2019-11-01 01:14:41 -04:00
Francis Lachapelle 55aaeaf9a6 Update ChangeLog 2019-10-31 13:26:11 -04:00
Francis Lachapelle 69cbe5d619 Preparation for release 4.1.1 2019-10-31 13:25:48 -04:00
Francis Lachapelle 82735fa8a7 chore(js/css): update generated files 2019-10-31 13:09:54 -04:00
Francis Lachapelle 33dce130ce chore(js): fix path of lodash library 2019-10-31 13:08:28 -04:00
Francis Lachapelle 372bd676aa chore: update commit message for generated files 2019-10-31 11:59:55 -04:00
Francis Lachapelle fc34befe47 docs: update CONTRIBUTING file 2019-10-31 11:59:38 -04:00
Francis Lachapelle eb4ad5e086 i18n(de): update German translation 2019-10-31 11:52:43 -04:00
Ludovic Marcotte a2a6bfab59 fix(core): avoid warning by including missing file 2019-10-31 09:04:10 -04:00
InverseBot 22bd650b72 (js/css) Update generated files 2019-10-31 02:07:08 -04:00
Francis Lachapelle d4f0ccd3f7 docs: update CONTRIBUTING file 2019-10-30 13:55:03 -04:00
Francis Lachapelle 8b45f2c731 fix(calendar(js)): swap start-end dates when delta is negative
When creating an event by drag'n'dropping from bottom to top, the
original coordinate become the start date.
2019-10-30 13:55:03 -04:00
Francis Lachapelle 060dea3818 style(mail(js)): add missing semi-colon 2019-10-30 13:55:03 -04:00
Francis Lachapelle 487bbf74c0 fix(calendar(js)): don't modify time when computing dates interval
Fixes #4861
2019-10-30 13:55:03 -04:00
Ludovic Marcotte d1e2418d65 (fix) fixed EAS provisioning support for Outlook/iOS (fixes #4853) 2019-10-30 13:44:13 -04:00
Francis Lachapelle 13ad6ff875 Initial CONTRIBUTING file 2019-10-30 11:13:40 -04:00
Francis Lachapelle f6ca946058 fix(calendar): don't allow RDATE unless already defined
Since RDATE are not properly supported in EAS, hide the possibility to
specify recurring dates unless the component being edited already
contains RDATE(s).
2019-10-30 11:04:59 -04:00
Francis Lachapelle 42bb3b288b (i18n) Update Polish translation
Fixes #4851
2019-10-29 11:03:27 -04:00
Ludovic Marcotte 61945734c7 (doc) quote default values (fixes #4827) 2019-10-28 15:14:35 -04:00
Ludovic Marcotte e866fd5fda (fix) fixed Apple Calendar creation (fixes #4813) 2019-10-28 14:39:39 -04:00
Ludovic Marcotte 7ff9921709 (fix) removed unused method 2019-10-25 13:34:41 -04:00
Ludovic Marcotte 34fcfe024b (fix) use the supplied Sieve creds to fetch the IMAP4 separator (fixes #4846) 2019-10-25 13:32:52 -04:00
InverseBot 2d5d1b4297 (js/css) Update generated files 2019-10-25 01:27:37 -04:00
Francis Lachapelle df15fed8fd Update ChangeLog 2019-10-24 10:43:20 -04:00
Francis Lachapelle 1c179f805d Preparation for release 4.1.0 2019-10-24 10:42:30 -04:00
Francis Lachapelle c69a7391a4 (js/css) Update generated files 2019-10-24 10:35:41 -04:00
Francis Lachapelle 63bcb2649b (css) New .sg-hint class 2019-10-24 10:33:35 -04:00
Francis Lachapelle c2c5a4d23d (css) Fix contextual menu position in Mail 2019-10-24 10:15:18 -04:00
Francis Lachapelle 3b869d44d6 (js) Hide mail recipient when not defined 2019-10-24 10:12:30 -04:00
Francis Lachapelle ae99dda215 (js) Filter out hidden days in date picker 2019-10-24 10:09:56 -04:00
Francis Lachapelle aa9af35ae9 (js) Rollback optimization in appointment editor
There's an issue with the sgToggleGrid directive when the associated
grid list is rendered later.

Fixes #4858
2019-10-24 09:32:11 -04:00
Francis Lachapelle 9f24f64dcc Update time zones to version 2019c 2019-10-23 14:49:16 -04:00
Francis Lachapelle 11d8d8a2c2 (js) Update CKEditor to version 4.13.0 2019-10-23 14:06:15 -04:00
Francis Lachapelle 8366878932 (i18n) Update translations 2019-10-23 12:54:32 -04:00
InverseBot 9e048a2ac1 (js/css) Update generated files 2019-10-23 01:19:01 -04:00
Francis Lachapelle 5219fd9d84 (css) Fix contextual menu position in Calendar 2019-10-22 10:16:03 -04:00
Francis Lachapelle 157480df39 Update NEWS file 2019-10-21 15:34:37 -04:00
Francis Lachapelle 85e61ecc1b Add missing contact fields for sorting
Fixes #4799
2019-10-21 15:32:13 -04:00
Francis Lachapelle 23690cb223 (js) Escape saved username in cookie
Fixes #4810
2019-10-21 14:07:03 -04:00
Francis Lachapelle 81ca398a35 (fix) Reload Web calendars on CAS login 2019-10-16 16:22:13 -04:00
InverseBot 04f939f107 (js/css) Update generated files 2019-10-14 01:10:59 -04:00
Francis Lachapelle 422d6b4929 Merge pull request #260 from auzeonfung/patch-1
(css) Fix .sg-date-group misplaced in CJK locales
2019-10-13 21:32:24 -04:00
NGAU Zeonfung 361f94e87a fixed .sg-date-group misplaced
In CJK locales, .sg-day may be misplace.
In this case, word breaks should not be used for Chinese/Japanese/Korean (CJK) text. Non-CJK text behavior is the same as for normal.
2019-10-14 07:44:37 +09:00
InverseBot 960276c3c7 (js/css) Update generated files 2019-10-11 01:11:57 -04:00
Francis Lachapelle b07c5906f3 Merge pull request #259 from rmounce/patch-1
(doc) Fix typo of SOGoSAML2CertificateLocation
2019-10-10 23:15:12 -04:00
Ryan Mounce 14549859d4 (doc) Fix typo of SOGoSAML2CertificateLocation 2019-10-11 13:16:24 +10:30
Francis Lachapelle d5b4cb5164 Update NEWS file 2019-10-10 15:46:00 -04:00
Francis Lachapelle 66645384bc (js) Improve handling of vacation dates
Fixes #4844
2019-10-10 15:37:50 -04:00
Francis Lachapelle 7bc73b6f68 (js) Fix handling of times in task/event editors
Fixes #4497
Fixes #4845
2019-10-10 14:22:56 -04:00
Francis Lachapelle 4fb483df7b (js) Update sg-timepicker following md changes
Added support for "required".
2019-10-10 14:17:02 -04:00
InverseBot 3ee7e58387 (js/css) Update generated files 2019-10-08 01:11:40 -04:00
Francis Lachapelle d20587dab0 (js) Handle DST change in Date.daysUpTo 2019-10-07 15:58:09 -04:00
Francis Lachapelle 2fb81310e3 (js) Fix possible exception in sgFreebusy 2019-10-07 11:10:17 -04:00
Francis Lachapelle 99bfcaec37 (js) Improve syntax of MessageEditorController.js 2019-10-07 11:09:12 -04:00
Francis Lachapelle 17d3d44787 (js) Fix references to mail accounts in popup
Fixes #4838
2019-10-07 11:07:26 -04:00
InverseBot 1413685cbe (js/css) Update generated files 2019-10-05 01:12:02 -04:00
Francis Lachapelle 10b5eb736f (js) Handle DST change in Date.daysUpTo 2019-10-04 09:54:29 -04:00
Francis Lachapelle 349be8b4db (fix) chown pid file before stopping 2019-10-03 14:11:24 -04:00
InverseBot d8b6feafc5 (js/css) Update generated files 2019-10-03 01:13:07 -04:00
Francis Lachapelle 4a93ce344f Improve labels of auto-reply date settings
Fixes #4791
2019-10-02 11:56:08 -04:00
Francis Lachapelle 94fe64161f (doc) Update versions in installation guide 2019-10-02 10:46:08 -04:00
Francis Lachapelle 9cda34a65f Fix handling of SENT-BY addresses
Fixes #4583
2019-10-02 10:45:37 -04:00
Francis Lachapelle 01bda0783c (js) Optimize display of event editor 2019-10-02 09:20:35 -04:00
Francis Lachapelle 6d2094bf83 (js) Fix closing tag in sgMessageListItemMain 2019-10-02 09:18:30 -04:00
Francis Lachapelle f7e60348ca (js) Improve syntax of CalendarsController.js 2019-10-02 09:16:59 -04:00
Francis Lachapelle 2b27745a00 Allow import to writable calendar subscriptions 2019-10-02 09:15:25 -04:00
InverseBot ea18473746 (js/css) Update generated files 2019-10-02 01:14:50 -04:00
Francis Lachapelle 93269539d7 (js) Allow single-day vacation autoreply
Fixes #4698
2019-10-01 15:49:54 -04:00
InverseBot 6b96f2f8de (js/css) Update generated files 2019-10-01 09:57:21 -04:00
Francis Lachapelle 496c5d3101 (js) Improve CAS handling 2019-10-01 09:54:54 -04:00
InverseBot 2b4699bcc4 (js/css) Update generated files 2019-10-01 01:09:54 -04:00
Francis Lachapelle 4c7665d341 (sql) Update mysql-utf8mb4.sql for v4.x
Fixes #4833
2019-09-30 16:27:51 -04:00
Francis Lachapelle fe92b4d03c (js) Restore cards selection after refresh
Fixes #4809
2019-09-30 16:21:58 -04:00
Francis Lachapelle bd9dfe6387 (js) Improve CAS handling 2019-09-30 16:10:26 -04:00
Francis Lachapelle 5b818e8ea9 Fix behaviour of SOGoMailKeepDraftsAfterSend
Fixes #4830
2019-09-27 09:48:58 -04:00
InverseBot 482728c942 (js/css) Update generated files 2019-09-27 01:08:07 -04:00
Francis Lachapelle 249277ec3d (js) Restore cards selection after refresh
Fixes #4809
2019-09-26 12:10:51 -04:00
Francis Lachapelle ac9fa92d4f (js) Improve CAS handling 2019-09-26 11:08:14 -04:00
Francis Lachapelle 0de722d8f4 Set default Sieve port to 4190
Fixes #4826
2019-09-25 10:54:35 -04:00
Francis Lachapelle 3100ac1e9c (Calendar) Limit event block size to a day 2019-09-24 14:47:27 -04:00
InverseBot 2077a8707f (js/css) Update generated files 2019-09-24 09:50:37 -04:00
Francis Lachapelle b454f71c7c (js) Improve CAS handling 2019-09-24 09:48:43 -04:00
InverseBot ee92748b97 (js/css) Update generated files 2019-09-21 01:09:53 -04:00
Francis Lachapelle 2eec7658f3 (js) Fix mailboxes refresh
Fixes #4787
2019-09-20 16:37:51 -04:00
Francis Lachapelle 3cddb54e4e (js) Apply SOGoSearchMinimumWordLength everywhere
Fixes #4811
2019-09-18 14:02:21 -04:00
Francis Lachapelle d194e07413 (doc) Change recommendation for free S/MIME cert
Fixes #4817
2019-09-18 10:18:26 -04:00
Francis Lachapelle ab474c5329 (doc) Fix RPM repository URL
Fixes #4815
2019-09-18 09:59:06 -04:00
Ludovic Marcotte 662ee865b7 (fix) avoid incorrect truncation leading to exception (fixes #4806) 2019-09-13 09:52:04 -04:00
Ludovic Marcotte 1e43a695cd (fix) improve FolderSync operation (fixes #4672) 2019-09-13 09:45:48 -04:00
Ludovic Marcotte 6323cbe2c6 (fix) avoid changing summary during unit test 2019-09-13 09:16:10 -04:00
Ludovic Marcotte 5f9444f273 (fix) one more fix for test 2019-09-13 08:49:22 -04:00
Ludovic Marcotte 3f13ab9f19 (fix) update unit date with the summary being a major property 2019-09-13 08:32:35 -04:00
Ludovic Marcotte 9ed1cc4b8f (fix) avoid changing RRULE's UNTIL date for no reason 2019-09-12 14:12:03 -04:00
Ludovic Marcotte 1ee23a6bec (fix) make sure we handle events occurring after RRULE's UNTIL date 2019-09-12 10:23:51 -04:00
Ludovic Marcotte 1e0bea5988 (fix) also include the summary in major changes 2019-09-09 13:38:41 -04:00
InverseBot 98d49b3ac1 (js/css) Update generated files 2019-09-06 01:17:13 -04:00
Francis Lachapelle 25021c192c New paramter SOGoLDAPGroupExpansionEnabled
Fixes #2506
2019-09-05 12:42:25 -04:00
Francis Lachapelle 1641235163 (i18n) Add missing localizable strings 2019-09-05 10:20:41 -04:00
InverseBot aad51c4b04 (js/css) Update generated files 2019-09-05 02:07:13 -04:00
Ludovic Marcotte 3187bca0ef (fix) now dynamically detect and use the IMAP separator (fixes #1490) 2019-09-04 13:45:53 -04:00
Francis Lachapelle 936f7dde09 (js) Update grunt-sass to 3.1.0 2019-09-04 09:49:40 -04:00
Francis Lachapelle d2a851700c (css,js) Update md to v1.1.20 2019-09-03 16:02:21 -04:00
Ludovic Marcotte e4ad088f0d (fix) avoid exceptions for RRULE with no DTSTART 2019-09-03 13:34:35 -04:00
InverseBot 3065783c2c (js/css) Update generated files 2019-08-30 01:14:43 -04:00
Francis Lachapelle 83f5664cf5 (js) Encode URL of card 2019-08-29 22:08:35 -04:00
Francis Lachapelle 2adf435347 Expose new /members action for LDIF groups 2019-08-29 12:53:50 -04:00
Ludovic Marcotte 1aa0d012cd (fix) honor "any authenticated user" when setting IMAP ACLs 2019-08-29 11:06:13 -04:00
Ludovic Marcotte 0cbb8ea9eb (fix) honor groups when setting IMAP ACLs 2019-08-29 10:46:13 -04:00
InverseBot a47fba3546 (js/css) Update generated files 2019-08-28 01:16:31 -04:00
Francis Lachapelle 8822c8cd07 (Calendar) Button to expand invited LDAP groups
Fixes #2506
2019-08-27 16:34:15 -04:00
InverseBot 9db406a18b (js/css) Update generated files 2019-08-27 01:14:52 -04:00
Francis Lachapelle 991f1d25a4 (js) Improve attendees editor performance 2019-08-26 16:38:00 -04:00
Ludovic Marcotte 4df69587a2 (fix) honor IMAPLoginFieldName also when setting IMAP ACLs 2019-08-23 13:45:44 -04:00
Ludovic Marcotte b68c9bd302 (fix) silence log call 2019-08-23 08:46:27 -04:00
Ludovic Marcotte ff33356742 (fix) proper initialization 2019-08-20 07:54:45 -04:00
InverseBot c4198488d7 (js/css) Update generated files 2019-08-20 01:14:22 -04:00
Francis Lachapelle d8d3c88e98 Fix events search when targeting recurrent events 2019-08-19 16:47:37 -04:00
Ludovic Marcotte 676d2e6790 (feat) added support for S/MIME opaque signing (fixes #4582) 2019-08-19 10:37:15 -04:00
Francis Lachapelle b52abfcbea (js) Increase inputs max length of card/list 2019-08-19 10:06:49 -04:00
InverseBot cc48a486c7 (js/css) Update generated files 2019-08-16 01:14:37 -04:00
Francis Lachapelle adf2378d7a (web) Improve contrast of toolbars w/input field 2019-08-15 17:47:17 -04:00
Ludovic Marcotte 8c77145b9f (fix) avoid warning 2019-08-15 15:54:48 -04:00
Ludovic Marcotte 3e2af3a16e (fix) defined correct method signature 2019-08-15 15:53:40 -04:00
Ludovic Marcotte 04f91b8948 (feat) now possible to specify which domains you can forward your mails to 2019-08-15 12:48:53 -04:00
InverseBot f7f9cb29e0 (js/css) Update generated files 2019-08-09 01:10:01 -04:00
Ludovic Marcotte 2f03a74fe0 (feat) Debian 10 (Buster) support for x86_64 (fixes #4775) 2019-08-08 13:57:05 -04:00
Ludovic Marcotte ed1039a7f8 (fix) force removal of pid file 2019-08-08 13:48:36 -04:00
Ludovic Marcotte ee83e645db (fix) also chown after restart 2019-08-08 13:30:46 -04:00
Ludovic Marcotte 59f035efe7 (fix) change pid file ownership to root as required by dpkg v1.19 2019-08-08 13:17:14 -04:00
Francis Lachapelle 7486c011d2 Fix saving of receipt action for main IMAP account 2019-08-08 11:35:48 -04:00
Ludovic Marcotte 9d72c79a83 (fix) define user once more 2019-08-08 11:23:31 -04:00
Ludovic Marcotte aa768cf951 (fix) specify user 2019-08-08 11:16:59 -04:00
Francis Lachapelle c257453788 (i18n) Add missing localized strings 2019-08-08 10:39:21 -04:00
Ludovic Marcotte a4b1fe9cea Avoid using prefix 2019-08-08 10:22:46 -04:00
Francis Lachapelle 5d218e1113 (js) Prohibit duplicate contact categories 2019-08-08 10:11:42 -04:00
Ludovic Marcotte ab7af8828c Avoid using prefix 2019-08-08 09:48:07 -04:00
InverseBot 955820b17d (js/css) Update generated files 2019-08-08 01:09:47 -04:00
Francis Lachapelle 361a84e7b5 (js) Avoid saving an empty calendar name 2019-08-07 16:33:51 -04:00
Ludovic Marcotte a7b85c3360 Revert "(fix) replace deprecated env var"
This reverts commit 7e84bb4a1a.
2019-08-07 15:44:45 -04:00
Ludovic Marcotte 1d169428fe Revert "(fix) replace depracated env var"
This reverts commit d5ff25232e.
2019-08-07 15:44:33 -04:00
Ludovic Marcotte 7e84bb4a1a (fix) replace deprecated env var 2019-08-07 15:37:04 -04:00
Ludovic Marcotte d5ff25232e (fix) replace depracated env var 2019-08-07 15:35:25 -04:00
Francis Lachapelle 93fb3593cf (i18n) Update German and Polish translations 2019-08-07 08:58:01 -04:00
Francis Lachapelle b6cd87e9c0 (i18n) Update French translation 2019-08-06 10:05:44 -04:00
Ludovic Marcotte 849c34306a (fix) properly handle Windows-1256 charaset (fixes #4781) 2019-08-01 11:15:17 -04:00
Extra Fu f55f62926c Merge pull request #258 from the-nic/bugfix/segfault-crypt
(fix) Fix SIGSEGV and compilation due to missing include crypt.h
2019-07-21 07:10:49 -04:00
Nicolas Höft f7f0af67d8 (fix) Fix SIGSEGV and compilation due to missing include crypt.h
When building on debian buster, the following warning occurs during
compiling:

    NSData+Crypto.m: In function ‘-[NSData(SOGoCryptoExtension) _asCryptedUsingSalt:magic:]’:
    NSData+Crypto.m:610:9: warning: implicit declaration of function ‘crypt’; did you mean ‘creat’? [-Wimplicit-function-declaration]
       buf = crypt([cryptString UTF8String], [saltString UTF8String]);
             ^~~~~
             creat
    NSData+Crypto.m:610:7: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
       buf = crypt([cryptString UTF8String], [saltString UTF8String]);
           ^
    NSData+Crypto.m: In function ‘-[NSData(SOGoCryptoExtension) asCryptUsingSalt:]’:
    NSData+Crypto.m:674:7: warning: assignment to ‘char *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion]
       buf = crypt([cryptString UTF8String], [saltString UTF8String]);
           ^
     Creating derived_src/NSFramework_SOGo.m..

This warning is apparently more severe as it may also cause segfaults
(at least on Debian Buster) when logging in, rendering sogo unusable:

    2019-07-21 11:27:55.623 sogod[16074:16074] MySQL4 connection established 0x0x55e6b9e56f40
    2019-07-21 11:27:55.624 sogod[16074:16074] MySQL4 channel 0x0x55e6b9aa41f0 opened (connection=0x0x55e6b9e56f40,sogo)
    2019-07-21 11:27:55.624 sogod[16074:16074] <MySQL4Channel[0x0x55e6b9aa41f0] connection=0x0x55e6b9e56f40> SQL: SELECT c_password FROM sogo_userview WHERE c_uid = 'xxxx';
    2019-07-21 11:27:55.625 sogod[16074:16074] <MySQL4Channel[0x0x55e6b9aa41f0] connection=0x0x55e6b9e56f40>   query has results, entering fetch-mode.
    Jul 21 11:27:56 sogod [16057]: <0x0x55e6b9a56020[WOWatchDogChild]> child 16074 exited
    Jul 21 11:27:56 sogod [16057]: <0x0x55e6b9a56020[WOWatchDogChild]>  (terminated due to signal 11)
    Jul 21 11:27:56 sogod [16057]: <0x0x55e6b992b360[WOWatchDog]> child spawned with pid 16268

The reason for this segfault is likely the implicit conversion to int,
leading to uninitialized higher bits of the pointer passed to NSData.
2019-07-21 12:00:21 +02:00
InverseBot 9c21f68c12 (js/css) Update generated files 2019-07-20 01:17:56 -04:00
Francis Lachapelle 20c34c47e9 (doc) Add reference to the Connector Config Guide 2019-07-19 14:14:55 -04:00
Francis Lachapelle 8bd8af947d Update ChangeLog 2019-07-19 13:32:40 -04:00
Francis Lachapelle 4cb43552a6 Preparation for release 4.0.8 2019-07-19 13:22:16 -04:00
Francis Lachapelle 94eeca2917 (js/css) Update generated files 2019-07-19 13:19:43 -04:00
Francis Lachapelle 1351e0953b (doc) Remove references to OpenChange 2019-07-19 13:15:39 -04:00
Francis Lachapelle 8b6b9d80af (i18n) Update translations 2019-07-19 12:50:18 -04:00
Francis Lachapelle 60247e83e7 (i18n) Update German translation 2019-07-09 16:15:37 -04:00
InverseBot 789b4f9c36 (js/css) Update generated files 2019-07-09 01:51:56 -04:00
Francis Lachapelle f2069a6129 Reduce usage of calendar color in dialogs 2019-07-08 13:04:15 -04:00
Francis Lachapelle a0cf84fd0b (wox) Remove unused block 2019-07-05 16:36:56 -04:00
Francis Lachapelle 6e040e418b (js/css) Fix rendering of material icons 2019-07-05 16:35:20 -04:00
Francis Lachapelle d835a8165c (css) Update grunt-sass to v3.0
This release requires Node.js 8 or later.
2019-07-05 09:40:46 -04:00
InverseBot 73a3bf143a (js/css) Update generated files 2019-07-05 01:09:56 -04:00
Francis Lachapelle 06319e3d48 (js) Use matching address of attendee
Fixes #4473
2019-07-04 15:49:38 -04:00
Francis Lachapelle e24082183f Reflect attendee type with generic icon 2019-07-04 15:10:41 -04:00
Francis Lachapelle 5f08b25d9c (font) Update Material Design icons 2019-07-04 14:53:39 -04:00
Francis Lachapelle 374e53bfe6 (js) Review md theme example (theme.js) 2019-07-04 11:34:33 -04:00
InverseBot bc4d189b55 (js/css) Update generated files 2019-07-04 01:09:01 -04:00
Francis Lachapelle 613e59397a (js) Fix missing curly brace 2019-07-03 13:33:04 -04:00
Francis Lachapelle 679b538368 (js) Test threadsCollapsed settings before read 2019-07-03 13:07:48 -04:00
InverseBot 6fb26ee2aa (js/css) Update generated files 2019-06-30 00:49:36 -04:00
Francis Lachapelle 0fba247bd6 (css) Improve messages list 2019-06-27 17:51:48 -04:00
Francis Lachapelle b5949752b4 (web) Restore mail threads
Fixes #3478
Fixes #4616
Fixes #4735
2019-06-27 17:43:11 -04:00
Francis Lachapelle cc6fcc5fbd (js) Fix access to sub mailbox on page reload 2019-06-27 12:02:22 -04:00
Francis Lachapelle fd38816a8c (mail) Fix JSON representation of mail threads 2019-06-26 15:46:59 -04:00
Francis Lachapelle d3ce8a8d2e Merge pull request #252 from PeterDaveHello/optimize-png-image
Optimize UI png images losslessly via Google zopflipng
2019-06-26 14:18:56 -04:00
Peter Dave Hello b4544a54db Optimize UI png images losslessly via Google zopflipng
UI/WebServerResources/img/cardboard-transp.png                                         | Bin 267247 -> 210429 bytes
UI/WebServerResources/img/felt-transp.png                                              | Bin 173179 -> 140451 bytes
UI/WebServerResources/img/inverse.png                                                  | Bin 3101 -> 2426 bytes
UI/WebServerResources/img/sogo-logo.png                                                | Bin 5523 -> 2272 bytes
2019-06-26 13:34:34 +08:00
InverseBot dc76b9c622 (js/css) Update generated files 2019-06-19 16:07:30 -04:00
Francis Lachapelle c7ffaf6adb (i18n) Add Indonesian (id) translation 2019-06-19 14:26:10 -04:00
Francis Lachapelle bd76715dcb Update NEWS file 2019-06-18 14:59:39 -04:00
Francis Lachapelle 0febc1ef18 (js) Replace bower packages by npm packages 2019-06-18 14:47:01 -04:00
InverseBot 211385ff4d (js/css) Update generated files 2019-06-18 01:13:43 -04:00
Francis Lachapelle 16210fb579 (css,js) Update md to v1.1.19 2019-06-17 12:41:22 -04:00
Francis Lachapelle 63d902620c Merge pull request #255 from dcsilvagit/patch-1
Set tooltip for markOrUnMarkMessagesAsJunk button
2019-06-17 11:55:07 -04:00
Francis Lachapelle a746a6b23d (i18n) Update Catalan translation
Fixees #4726
2019-06-17 11:43:43 -04:00
Francis Lachapelle f0c8aa884c (i18n) Add Indonesian (id) translation 2019-06-14 10:58:29 -04:00
Ludovic Marcotte 4fc515b229 (fix) handle more broken mails (fixes #4513) 2019-06-13 13:54:16 -04:00
InverseBot 991fac0b94 (js/css) Update generated files 2019-06-13 01:55:36 -04:00
Francis Lachapelle 868057698c (js) Allow 2-letter short month names
Fixes #4766
2019-06-12 16:37:43 -04:00
Francis Lachapelle 56b736cc44 Merge pull request #256 from dasJ/patch-1
configure: Harmonize help and implementation
2019-06-11 20:42:23 -04:00
InverseBot ace0427da7 (js/css) Update generated files 2019-06-11 01:53:09 -04:00
Francis Lachapelle 0e918a446a Add rel="noopener" to external links
Fixes #4764
2019-06-10 13:20:44 -04:00
Janne Heß 13b8e53235 configure: Harmonize help and implementation 2019-06-10 01:01:05 +02:00
Daniel Carlos Silva d9de12a940 Set tooltip for markOrUnMarkMessagesAsJunk button 2019-05-28 11:47:21 -03:00
Francis Lachapelle 3129e149df Merge pull request #254 from dcsilvagit/fix-set-notjunk-mail_subject
Fix typo in SOGoMailFolder.m
2019-05-23 18:29:01 -04:00
Daniel Carlos Silva 193b73fa26 Update SOGoMailFolder.m 2019-05-23 18:20:10 -03:00
Ludovic Marcotte 6898d11f58 (doc) improved doc regarding placeholders 2019-05-23 15:04:24 -04:00
Ludovic Marcotte f57ff86951 (fix) fixed domain placeholder issue when using sogo-tool (fixes #4723) 2019-05-23 15:02:10 -04:00
Ludovic Marcotte 29f5357a2c (fix) added safety checks in S/MIME (fixes #4745) 2019-05-23 09:21:44 -04:00
InverseBot 0bb24430e0 (js/css) Update generated files 2019-05-17 01:06:34 -04:00
Francis Lachapelle 6e6a82d974 (js) Show mail compose btn if msgs list is visible 2019-05-16 14:30:32 -04:00
Francis Lachapelle 05ca00296d (js) Fix scrolling when deleting a message 2019-05-16 13:53:43 -04:00
Francis Lachapelle a4e44e1e65 (css) Constrain absolute elements in HTML parts 2019-05-16 11:26:22 -04:00
InverseBot b671c9cc80 (js/css) Update generated files 2019-05-15 01:07:31 -04:00
Ludovic Marcotte 0e038a62fd (fix) improve handling of signer certificate (fixes #4742) 2019-05-08 08:09:14 -04:00
Francis Lachapelle b2974d7753 Merge pull request #251 from H4ndl3/patch-1
Adjust word order in German reply template
2019-04-11 21:38:35 -04:00
Florian Beier bad69a0f1a Adjust word order
"schrieb" was in the wrong place, it has to go in front of the contact's name
2019-04-12 01:39:48 +02:00
Francis Lachapelle ab87e72b4e (EAS) Fix handling of missing date
Fixes #4720
2019-04-05 08:39:20 -04:00
InverseBot 37efcea5e5 (js/css) Update generated files 2019-03-28 01:13:36 -04:00
Francis Lachapelle 42dd956b9f (js) Show calendar names in events blocks
Fixes #4713
2019-03-27 09:49:14 -04:00
InverseBot f972684869 (js/css) Update generated files 2019-03-23 01:18:20 -04:00
Francis Lachapelle 42d3c86a99 (i18n) Add missing localizable strings 2019-03-22 13:37:32 -04:00
Francis Lachapelle 769863b0b9 (web) Show hints for mail vacation options
Fixes #4462
2019-03-22 11:59:21 -04:00
Francis Lachapelle efde4b5a5c (js) Allow to fetch unseen count of all mailboxes
Fixes #522, #2776, #4276
2019-03-22 11:57:57 -04:00
Francis Lachapelle c50f22962a (js) Fix page reload with external IMAP account
Fixes #4709
2019-03-22 10:36:39 -04:00
Ludovic Marcotte 96bcbbdc14 (fix) consider DAVx5 like Apple Calendar (fixes #4304) 2019-03-21 14:08:44 -04:00
Francis Lachapelle fcdc4c92c0 Improve URLs/emails detection in text mail parts 2019-03-21 11:01:17 -04:00
Ludovic Marcotte 7acfd8a2cd Update NEWS file regarding previous commit 2019-03-20 13:50:34 -04:00
InverseBot 400212a01d (js/css) Update generated files 2019-03-20 01:21:20 -04:00
Francis Lachapelle 597f6366ff Fix saving address book properties 2019-03-19 14:41:02 -04:00
Francis Lachapelle da76344983 (js) Keep center list visible on xs screen
For Calendar module.
2019-03-19 11:30:28 -04:00
Francis Lachapelle 254147b9ac (css) Fixed scrolling of calendars list on Android 2019-03-19 11:08:01 -04:00
Ludovic Marcotte d75fe573b2 (fix) potential fix for #4289 2019-03-18 15:46:39 -04:00
Ludovic Marcotte 933cd581dd (fix) avoid exception on recent GNUstep when attached file has no filename (fixes #4702) 2019-03-18 10:28:33 -04:00
InverseBot 6fa7d43e7a (js/css) Update generated files 2019-03-16 01:18:35 -04:00
Francis Lachapelle 90de396646 (js) Show calendar names in events blocks
Only for subscriptions
2019-03-15 16:57:16 -04:00
Francis Lachapelle 33adb88d5c (css) lowered size of headings on small screens 2019-03-15 15:04:00 -04:00
Francis Lachapelle 9a245f18fa (core) Handle multidays events in freebusy data 2019-03-15 14:00:43 -04:00
Ludovic Marcotte 0d78d3814c (fix) correctly handle the full cert chain in S/MIME 2019-03-15 13:55:41 -04:00
Ludovic Marcotte 93f344bdbe added missing commit 2019-03-15 13:44:49 -04:00
Ludovic Marcotte 008e901ad6 (fix) we update the baseDN placeholders of all LDAP sources upon login 2019-03-15 13:35:12 -04:00
Francis Lachapelle 47456c9ebd Allow super users to modify any event
Fixes #4216
2019-03-13 09:08:31 -04:00
InverseBot 826c10de25 (js/css) Update generated files 2019-03-12 01:18:08 -04:00
Francis Lachapelle 169b23353b Update NEWS file 2019-03-07 11:27:06 -05:00
Francis Lachapelle 97dd4fddf7 (web) Fix default calendar categories (reset btn) 2019-03-07 11:22:00 -05:00
Francis Lachapelle 3e0910d175 (web) Keep unlocalized/custom calendar categories 2019-03-07 10:52:04 -05:00
InverseBot f30f107e4e (js/css) Update generated files 2019-02-28 01:13:41 -05:00
Francis Lachapelle d93b8ee857 Update ChangeLog 2019-02-27 10:51:05 -05:00
Francis Lachapelle ebd9ef4d49 Preparation for release 4.0.7 2019-02-27 10:48:45 -05:00
Francis Lachapelle fcd57eaffb (js/css) Update generated files 2019-02-27 10:46:44 -05:00
Francis Lachapelle deb10f1f7e (i18n) Add missing localized strings
Fixes #4658
2019-02-27 09:52:18 -05:00
Francis Lachapelle e456e47147 (i18n) Add missing subject of appointment reminder
Fixes #4656
2019-02-27 09:52:18 -05:00
InverseBot 8cb3442e91 (js/css) Update generated files 2019-02-27 01:16:31 -05:00
Francis Lachapelle 9ebd728215 (css) Fix CSS when printing msg in popup window
Fixes #4674
2019-02-26 16:02:19 -05:00
Francis Lachapelle 42e9d23397 (rpm) Mark theme-default.css as a config file 2019-02-26 15:42:06 -05:00
Francis Lachapelle 66e1b348e0 (js) Show the reply-all btn in more situations 2019-02-26 14:46:03 -05:00
InverseBot aa6c0e553e (js/css) Update generated files 2019-02-26 10:02:52 -05:00
Francis Lachapelle 108f4c7eb8 (js) Handle non-latin characters in date validator 2019-02-26 09:58:09 -05:00
InverseBot e993de4f8f (js/css) Update generated files 2019-02-22 01:21:14 -05:00
Francis Lachapelle f2a6e85744 Update ChangeLog 2019-02-21 09:45:40 -05:00
Francis Lachapelle 36cd54209a (i18n) Update French translation 2019-02-21 09:44:33 -05:00
Francis Lachapelle e5330a4efb (js/css) Update generated files 2019-02-21 09:44:20 -05:00
Francis Lachapelle fb75ec5fb2 (css,js) Update md to v1.1.13 2019-02-21 09:18:06 -05:00
Francis Lachapelle 173a22650f (i18n) Update translations 2019-02-21 09:18:06 -05:00
Francis Lachapelle 91b384c697 Preparation for release 4.0.6 2019-02-21 09:18:06 -05:00
Francis Lachapelle 4adf2f80e9 Add tooltips to next/previous slot buttons 2019-02-21 09:18:06 -05:00
InverseBot 3df3c7c037 (js/css) Update generated files 2019-02-21 01:13:48 -05:00
Francis Lachapelle f7dbf90a08 (js) Update CKEditor to version 4.11.2 2019-02-20 15:12:51 -05:00
Francis Lachapelle 5edffce691 (js) Previous/next slot: Ignore non-participants 2019-02-20 14:58:40 -05:00
Francis Lachapelle d16d4593ba (i18n) Update translations 2019-02-20 14:55:00 -05:00
Francis Lachapelle 5d26260d86 (css) Fix freebusy table scrolling in Firefox 2019-02-20 14:41:58 -05:00
Francis Lachapelle 72b607219d (js) Fix autofocus when composing new mail 2019-02-20 12:15:29 -05:00
Francis Lachapelle e44dce2558 (js) Fix exception with event editor 2019-02-20 10:21:27 -05:00
Francis Lachapelle 9d58dd10f5 Improve display of autocompletion of contacts 2019-02-20 10:15:56 -05:00
Francis Lachapelle d05039602f (i18n) Update translations 2019-02-20 09:39:49 -05:00
InverseBot ef73dc43f6 (js/css) Update generated files 2019-02-20 01:16:15 -05:00
Ludovic Marcotte 98463f2ff2 (fix) sent messages cannot be replied to their BCC email addresses (fixes #4460) 2019-02-19 14:50:49 -05:00
Ludovic Marcotte dad0be1815 (fix) make sure we keep a pristine version of the baseDN 2019-02-19 13:40:58 -05:00
Ludovic Marcotte bc456dcef8 (fix) fixed bad password login interval (fixes #4664) 2019-02-19 11:59:49 -05:00
Francis Lachapelle 5371838159 (web) Allow to change participants roles 2019-02-19 11:52:13 -05:00
InverseBot 76e8633423 (js/css) Update generated files 2019-02-19 01:12:36 -05:00
Ludovic Marcotte 7c3df9f650 (fix) changes to contacts are now propagated to lists (fixes #850, #4301, #4617) 2019-02-18 15:27:34 -05:00
Francis Lachapelle aac0ec9a6a Adopting new material guidelines for chips
See https://material.io/design/components/chips.html
2019-02-18 15:03:25 -05:00
Francis Lachapelle 5dc2ad3dec (css) Fix until ng 1.1.13 is out 2019-02-18 14:54:55 -05:00
Francis Lachapelle 499c42aa77 Improve display of autocompletion of contacts 2019-02-18 14:51:43 -05:00
Francis Lachapelle 601981c040 Avoid potential corruption of FoldersOrder setting 2019-02-18 11:38:45 -05:00
Ludovic Marcotte 15c6074907 (fix) correctly handle event ownership when accepting invitations 2019-02-14 11:19:58 -05:00
Ludovic Marcotte d908468442 (fix) dynamic basdDN support for the top-level SOGoUserSources 2019-02-14 09:48:03 -05:00
InverseBot ee62ead75d (js/css) Update generated files 2019-02-14 01:13:38 -05:00
Francis Lachapelle ce7087fd6c Fix saving of email address for notifications
Fixes #4630
2019-02-13 17:32:05 -05:00
Francis Lachapelle ee40ee6687 (js) Fix initialization of Attendees on DnD
Fixes #4677
2019-02-08 09:37:13 -05:00
InverseBot 160b44b6ff (js/css) Update generated files 2019-02-09 01:12:42 -05:00
Francis Lachapelle 540e81b670 Restore next/previous slot suggestion for events 2019-02-08 08:17:23 -05:00
Ludovic Marcotte aaf4166c44 (fix) handle role change during event updates 2019-02-07 14:10:39 -05:00
InverseBot c5d31a95af (js/css) Update generated files 2019-02-05 01:11:40 -05:00
Ludovic Marcotte 249671543e (feat) we now handle optional and non-required attendee states 2019-02-04 11:52:26 -05:00
Ludovic Marcotte 2901560df9 (fix) Removed +x bit 2019-02-04 09:09:24 -05:00
Ludovic Marcotte d9943e559f (feat) baseDN now accept dynamic domain values (fixes #3685) 2019-02-04 07:37:56 -05:00
InverseBot ceaa122a7d (js/css) Update generated files 2019-02-01 01:11:15 -05:00
Francis Lachapelle f25e6cf1c2 (js) Improve CAS handling 2019-01-31 15:52:32 -05:00
Francis Lachapelle 8cce025b65 (js) Improve CAS handling 2019-01-31 14:59:10 -05:00
Francis Lachapelle ef77942ace (js) Improve CAS handling 2019-01-31 13:13:29 -05:00
Francis Lachapelle 368c13d6b0 (js) Improve CAS handling
Fixes #4468
2019-01-31 11:12:03 -05:00
Francis Lachapelle b30d2e0e00 (css) Allow scroll of login page on small screen
Fixes #4035
2019-01-30 16:36:46 -05:00
InverseBot 1de1de90f4 (js/css) Update generated files 2019-01-31 01:12:41 -05:00
Francis Lachapelle c13c01ff75 (js) Improve CAS handling
Fixes #4468
2019-01-30 15:55:00 -05:00
InverseBot 7b4192ccc0 (js/css) Update generated files 2019-01-29 01:13:27 -05:00
Francis Lachapelle e79494c43c Reflect active locale in HTML lang attribute
Fixes #4660
2019-01-28 10:04:55 -05:00
Francis Lachapelle 35650227cf (js) Improve CAS handling 2019-01-24 14:44:40 -05:00
InverseBot 1a56549ea5 (js/css) Update generated files 2019-01-25 01:12:07 -05:00
Francis Lachapelle c944f9f203 (i18n) Update BrazilianPortuguese translation
Fixes #4654
2019-01-24 14:58:16 -05:00
Francis Lachapelle 3c60e2a784 (js) Improve CAS handling
Fixes #4468
2019-01-24 13:12:04 -05:00
Francis Lachapelle 5cac669604 (js) Improve CAS handling
Fixes #4468
2019-01-22 18:27:45 -05:00
Francis Lachapelle 6a3a619f09 (i18n) Update Portuguese translation 2019-01-22 16:22:24 -05:00
Francis Lachapelle 9596ac2a20 (js) Improve CAS handling
Fixes #4468
2019-01-22 15:36:01 -05:00
InverseBot fcbec9a33b (js/css) Update generated files 2019-01-22 01:10:10 -05:00
Francis Lachapelle 9a8415c095 Fix refresh of drafts folder when saving a draft 2019-01-21 16:24:07 -05:00
Francis Lachapelle ca9f83ec1f Fix wrong optimization in yearly recurrence calc 2019-01-18 15:16:23 -05:00
Francis Lachapelle 0186e6404f (i18n) Add missing localized string
Fixes #4651
2019-01-18 09:35:04 -05:00
InverseBot 8d9917c9ec (js/css) Update generated files 2019-01-18 01:12:39 -05:00
Francis Lachapelle 24a30b688f Ignore transparent events in conflict validation
Fixes #4539
2019-01-15 17:12:14 -05:00
Francis Lachapelle dd89c0f72e Merge pull request #248 from Trumf-dk/patch-1
Updated and translated several danish words and settings
2019-01-14 16:41:16 -05:00
Francis Lachapelle e10ebff34f Fix display of Bcc header
Fixes #4642
2019-01-14 15:40:45 -05:00
Francis Lachapelle ba32125ee5 Fix all-day event dates with different timezone 2019-01-14 13:09:13 -05:00
Trumf-dk 45cff62985 Updated and translated several danish words and settings 2019-01-13 23:06:26 +01:00
InverseBot e883959aa0 (js/css) Update generated files 2019-01-12 01:06:59 -05:00
Francis Lachapelle 51467e6e8a Expose /Contacts/addressbooksList
Fixes #4640
2019-01-11 16:33:32 -05:00
Francis Lachapelle f925be6137 (web) Show time for messages from past week
Fixes #4599
2019-01-11 16:20:35 -05:00
Francis Lachapelle ca886aa662 (js) Create card from sender/recipient address
Fixes #3002
Fixes #4610
2019-01-10 22:00:19 -05:00
Francis Lachapelle 22762b3bd4 Update ChangeLog 2019-01-09 09:28:46 -05:00
Francis Lachapelle f048fd530c Preparation for release 4.0.5 2019-01-09 09:27:55 -05:00
InverseBot 58d75f3059 (js/css) Update generated files 2019-01-09 00:56:24 -05:00
Francis Lachapelle 956eb9eb60 (js) Update CKEditor to version 4.11.1 2019-01-08 16:18:09 -05:00
Francis Lachapelle f65108b46b (i18n) Update French translation 2019-01-08 15:55:43 -05:00
Francis Lachapelle ce285ac8fd (i18n) Update BrazilianPortuguese translation 2019-01-08 15:49:46 -05:00
Francis Lachapelle 03fafd0b25 (css,js) Update md to v1.1.12 2019-01-08 15:44:52 -05:00
Francis Lachapelle 03716f3c3e (css) Fix printing of long mails
Fixes #3731
2019-01-08 15:25:25 -05:00
Francis Lachapelle 4a8e3ed310 (js) Catch exception when registering mailto 2019-01-08 10:57:38 -05:00
Francis Lachapelle cc9df8e24f (i18n) Update translations 2018-12-21 21:34:27 -05:00
Ludovic Marcotte e418fcb6ca (fix) better handle timezone changes (fixes #4624) 2018-12-20 13:37:59 -05:00
Ludovic Marcotte af70306d9a (feat) support for basic UserInformation queries (fixes #4614) 2018-12-20 13:34:24 -05:00
Ludovic Marcotte 95680b33a1 (fix) better handle bogus DTStart values over EAS 2018-12-20 09:12:44 -05:00
Francis Lachapelle 93b66c0f69 Update NEWS file 2018-12-18 09:03:06 -05:00
InverseBot 58504e5835 (js/css) Update generated files 2018-12-18 02:06:38 -05:00
Francis Lachapelle 62a8414090 (css,js) Dynamic CSS for printing calendars
Initial commit. Fixes #3768
2018-12-17 22:15:26 -05:00
InverseBot 4027923470 (js/css) Update generated files 2018-12-13 02:03:11 -05:00
Francis Lachapelle 98dc691793 Fit month view to window size
Fixes #4554
2018-12-12 15:24:00 -05:00
Francis Lachapelle c96a99ae69 Fix download of HTML body parts 2018-12-10 16:05:12 -05:00
Ludovic Marcotte 1ba1be9e31 (fix) improve search operations and results fetching 2018-11-29 14:11:55 -05:00
Ludovic Marcotte 596e3326a2 (fix) fix search on for Outlook application (#4605 and #4607) 2018-11-29 14:08:10 -05:00
Ludovic Marcotte adf2d395e3 (fix) strip '<>' from bodyId and when forwarding mails 2018-11-29 14:05:12 -05:00
Ludovic Marcotte be4ace2af7 (fix) don't always fetch the sorting columns 2018-11-29 11:13:55 -05:00
InverseBot f8ed698182 (js/css) Update generated files 2018-11-24 01:11:06 -05:00
Francis Lachapelle 237ac4a330 Fix folder export when XSRF validation is enabled
Fixes #4502
2018-11-23 14:20:33 -05:00
InverseBot bcdbc01dc0 (js/css) Update generated files 2018-11-23 01:11:27 -05:00
Francis Lachapelle 3cd9d82e16 (i18n) Update BrazilianPortuguese translation
Fixes #4590
2018-11-22 10:52:55 -05:00
Francis Lachapelle 6737aa3d0e (web) Show time for messages of yesterday
Fixes #4599
2018-11-22 10:38:40 -05:00
Francis Lachapelle 4069158178 (js) Fix handling of duplicate recipients
Fixes #4597
2018-11-22 10:17:09 -05:00
InverseBot 0b053a39e4 (js/css) Update generated files 2018-11-14 01:13:27 -05:00
Francis Lachapelle 6e4313b059 (i18n) Update Romanian translation
Fixes #4595
2018-11-13 21:26:45 -05:00
Francis Lachapelle c1ed49d4ba (js) Fix handling of collapsed/expanded accounts
Fixed #4541
2018-11-13 14:59:09 -05:00
Francis Lachapelle 707220bed3 (tool) Fix "manage-acl unsubscribe"
Fixes #4591
2018-11-13 10:59:08 -05:00
Ludovic Marcotte 8734ee7486 (fix) be a bit more verbose when session is expired 2018-11-09 13:50:13 -05:00
InverseBot ec299dcf43 (js/css) Update generated files 2018-11-07 01:13:01 -05:00
Francis Lachapelle 506daaf473 (css) Improve styling of autocomplete.scss 2018-11-06 10:34:15 -05:00
Francis Lachapelle c52a45e072 (js,css) Improve display of keyboard shortcuts 2018-11-06 10:23:37 -05:00
Francis Lachapelle 8822f1ae53 (js,css) Show source addressbook of matching cards
Fixes #4579
2018-11-06 09:30:10 -05:00
Francis Lachapelle 98eabddec8 Improve packaging 2018-11-02 12:00:22 -04:00
InverseBot 7d7c3ca06a (js/css) Update generated files 2018-11-02 01:04:29 -04:00
Francis Lachapelle fb375d423b (i18n) Localized mailboxes names in filter editor
Delayed mailboxes initialization to make sure the MailerUI labels are
loaded.

Fixes #4584
2018-11-01 15:56:33 -04:00
Francis Lachapelle b743c9953c Improve Debian packages 2018-11-01 14:45:28 -04:00
Francis Lachapelle 7d596b08a9 Revert "Remove packaging/debian-multiarch"
This reverts commit 5ede401738.
2018-11-01 14:01:58 -04:00
Francis Lachapelle af445c3fb7 Improve Debian packages 2018-10-31 13:57:32 -04:00
Ludovic Marcotte 8bf1d1e6cb (fix) disable the assert check for now 2018-10-30 10:54:12 -04:00
Francis Lachapelle 5ede401738 Remove packaging/debian-multiarch 2018-10-29 10:55:07 -04:00
Francis Lachapelle a7f5d759bf Improve Debian packages wrt Apache2 configuration 2018-10-29 10:48:25 -04:00
InverseBot 956d8d5596 (js/css) Update generated files 2018-10-24 00:30:49 -04:00
Francis Lachapelle 17ddc5a996 Update ChangeLog 2018-10-23 15:07:39 -04:00
Francis Lachapelle 67017a26e9 Preparation for release 4.0.4 2018-10-23 15:07:09 -04:00
Francis Lachapelle 6f1d2330d8 (js/css) Update generated files 2018-10-23 15:06:55 -04:00
Francis Lachapelle 36cb0e65d9 (i18n) Update Portuguese translation 2018-10-23 15:03:35 -04:00
Francis Lachapelle ee001243b2 (js) Globally load custom stylesheets
This is required to generate the static theme (theme-default.css)
2018-10-23 14:31:34 -04:00
Francis Lachapelle 35ea86557c Fix time conflict validation when not owner 2018-10-22 12:11:08 -04:00
Francis Lachapelle 59c3bdc242 Fix time conflict validation 2018-10-22 11:20:06 -04:00
Francis Lachapelle 98bbe2ddfa Merge pull request #244 from jmallach/master
Fix typo #elseif introduced in c8f7df4.
2018-10-19 12:05:13 -04:00
Francis Lachapelle 04555b1e14 Fix translations
Add missing keys, remove duplicate keys, avoid exception on missing
calendar categories.
2018-10-18 15:32:08 -04:00
Francis Lachapelle 48f2677aad Remove duplicate short date formats in German 2018-10-18 14:40:48 -04:00
InverseBot bf946cb108 (js/css) Update generated files 2018-10-18 00:36:30 -04:00
Jordi Mallach c4c7cf1742 Fix typo #elseif introduced in c8f7df402c. 2018-10-18 02:28:56 +02:00
Francis Lachapelle 5de5e9e068 Update ChangeLog 2018-10-17 11:18:38 -04:00
Francis Lachapelle 0e731452ee Preparation for release 4.0.3 2018-10-17 11:18:04 -04:00
Francis Lachapelle 181aedd611 (css) Update default theme 2018-10-17 11:15:09 -04:00
Francis Lachapelle abd7d2614f (js/css) Update generated files 2018-10-17 11:07:17 -04:00
Francis Lachapelle 8525e6fd2b Update NEWS file 2018-10-17 11:04:06 -04:00
Francis Lachapelle 1ab1735481 (js) Update CKEditor to version 4.10.1 2018-10-17 10:58:39 -04:00
Francis Lachapelle 0643071d5b Fix ternary ops in UIxMailPartSignedViewer.m 2018-10-17 10:19:52 -04:00
Extra Fu 7cae529ee4 Merge pull request #243 from djlucas/master
Don't use SSL_load_error_strings() and friends for OpenSSL-1.1.0.
2018-10-16 08:26:19 -04:00
DJ Lucas c8f7df402c Don't use SSL_load_error_strings() and friends for OpenSSL-1.1.0. 2018-10-13 23:55:34 -05:00
InverseBot 659df2d10e (js/css) Update generated files 2018-10-12 00:33:48 -04:00
Francis Lachapelle af68a647b8 Additional short date formats 2018-10-10 11:21:39 -04:00
Francis Lachapelle 6613c44765 (i18n) Update Russian translation 2018-10-09 15:21:28 -04:00
Ludovic Marcotte 995ccb2b73 (fix) avoid saving non-parsable events/tasks 2018-10-09 14:47:22 -04:00
Francis Lachapelle 8120a48b95 (css) Fix styling of cancelled events 2018-10-09 14:36:56 -04:00
Francis Lachapelle fbdd0b82bb (js) Hide compose btn when reading msg on mobile 2018-10-09 14:12:49 -04:00
Francis Lachapelle e4f6be243e (js) Export calendar subscriptions
Fixes #4560
2018-10-09 14:00:19 -04:00
Francis Lachapelle 93bb95d256 Fix scrolling of Admin module in Firefox
Fixes #4561
2018-10-05 11:55:27 -04:00
InverseBot be7f07a7ba (js/css) Update generated files 2018-10-05 00:32:17 -04:00
InverseBot 03b45899c1 (js/css) Update generated files 2018-09-25 00:30:14 -04:00
Francis Lachapelle 74df75e5d5 (js) Prefix title with unseen messages count
Fixes #4553
2018-09-24 11:28:52 -04:00
Francis Lachapelle 78c1244975 Fix message editor in Address Book and Calendar 2018-09-24 11:25:55 -04:00
Ludovic Marcotte 12cbebec07 (fix) Removed trailing ; 2018-09-21 14:03:44 -04:00
Ludovic Marcotte f49ad93b3b (fix) removed trailing ; 2018-09-21 14:03:03 -04:00
Ludovic Marcotte fc3224b802 (fix) sql script fix (strip traling ;) 2018-09-21 13:06:39 -04:00
Ludovic Marcotte 3d9fe30373 (fix) many OCS (non-standard) fixes 2018-09-21 13:06:15 -04:00
Francis Lachapelle ba9960b97a Fix calendar categories for Slovak translation
Fixes #4550
2018-09-20 13:29:24 -04:00
Francis Lachapelle 7eac7db618 Fix calendar categories for Latvian translation
Fixes #4548
2018-09-20 09:29:05 -04:00
Francis Lachapelle b90d312f43 (web) Fix freebusy information with all-day events 2018-09-18 11:34:40 -04:00
Francis Lachapelle d05e1fed5d Fix SQL inserts in single-store mode 2018-09-14 13:28:45 -04:00
Francis Lachapelle 398ef4dcde Fix time conflict validation
Fixes #4539
2018-09-13 15:56:31 -04:00
Francis Lachapelle a7c88597c6 Fix email reminders support for tasks 2018-09-13 14:56:44 -04:00
Francis Lachapelle 563a2cd9df Fix behaviour of return receipt actions 2018-09-13 10:05:17 -04:00
Ludovic Marcotte 194b7f208a (fix) also set the folder ID for content row 2018-09-13 07:41:21 -04:00
InverseBot 3906e19176 (js/css) Update generated files 2018-09-13 00:29:12 -04:00
Francis Lachapelle ec4d93a845 Fix popup window detection in message viewer
Fixes #4518
2018-09-12 21:44:33 -04:00
Ludovic Marcotte ff7e8cb2a3 (fix) typo 2018-09-12 07:41:41 -04:00
InverseBot ecb7679621 (js/css) Update generated files 2018-09-12 00:33:43 -04:00
Francis Lachapelle 38c733bf8b (js) Fix syncing of calendar categories colors 2018-09-11 15:17:31 -04:00
Ludovic Marcotte 8f4a24fb67 (fix) move the folder id setting to avoid GDL error on Oracle 2018-09-11 12:07:25 -04:00
InverseBot 9310d5b02d (js/css) Update generated files 2018-09-08 00:32:23 -04:00
Francis Lachapelle 9ddb65a07a New button to reset Calendar categories
Also added default colors to categories.
2018-09-07 21:38:31 -04:00
Francis Lachapelle 2be5edde94 Fix display of multi-days events
When an event was starting on a disabled weekday, the entire event was
hidden.
2018-09-07 15:26:36 -04:00
Francis Lachapelle 9838c369b2 Update comment in SOGoAppointmentObject.m 2018-09-07 15:26:36 -04:00
InverseBot e3f928b0c3 (js/css) Update generated files 2018-09-07 00:32:30 -04:00
Francis Lachapelle 10485f8943 Fix display of calendar notification email 2018-09-06 08:24:48 -04:00
InverseBot 6d9de5859e (js/css) Update generated files 2018-09-01 00:29:34 -04:00
Francis Lachapelle 7aa3e1f160 (js) New action to mark task as completed
Fixes #4531
2018-08-31 16:45:03 -04:00
Francis Lachapelle 3881bc408d (js) Fix condition of Copy action on cards 2018-08-31 15:59:34 -04:00
Francis Lachapelle 3b9835095f (js) Check addressbook ACL prior to delete cards 2018-08-31 15:56:26 -04:00
Francis Lachapelle 19c02914ba (js) Convert AddressBooksController to new format 2018-08-31 13:29:32 -04:00
Francis Lachapelle 699fe537e1 (js) Fix error when reseting Calendar data 2018-08-31 13:18:32 -04:00
Francis Lachapelle 35cd2591d6 (js) Fix navbar collapse trigger in Preferences 2018-08-31 13:14:56 -04:00
Francis Lachapelle 679a12be19 (js) Catch error in CalendarsController 2018-08-31 13:14:31 -04:00
Francis Lachapelle 3394018604 (js) Expose invalid data in AddressBook.$id 2018-08-31 13:13:35 -04:00
Francis Lachapelle 2d63bd0bb4 (js) Deep copy by default in Calendar.$omit 2018-08-31 11:39:14 -04:00
Francis Lachapelle 155114c8fb (js) Restore calendar name on error 2018-08-31 09:39:42 -04:00
Francis Lachapelle 1e784e4590 (js) Fix id assignation of new Calendar 2018-08-31 09:36:21 -04:00
Francis Lachapelle eeec8328c0 Handle exception when saving calendar properties 2018-08-31 09:31:18 -04:00
InverseBot 87df69163f (js/css) Update generated files 2018-08-31 00:29:21 -04:00
Francis Lachapelle 3bdd90e2be Don't allow duplicate GCS folder names 2018-08-30 22:09:17 -04:00
Francis Lachapelle 18df3bafb5 Fix JSON error responses 2018-08-30 21:51:39 -04:00
Francis Lachapelle bad8efca47 Include mail account name in form validation
Fixes #4532
2018-08-30 14:57:24 -04:00
InverseBot 2fa3b4d5b0 (js/css) Update generated files 2018-08-30 00:29:17 -04:00
Francis Lachapelle b658faa8f2 Fix support for SOGoMaximumMessageSizeLimit 2018-08-29 11:28:08 -04:00
Francis Lachapelle bd8dec0e15 (js) Sanity checks when expecting arrays in Prefs 2018-08-29 10:54:17 -04:00
InverseBot bac1a59555 (js/css) Update generated files 2018-08-29 00:36:25 -04:00
Francis Lachapelle 0e2c93864b (js) Prohibit subscribing a user with no rights 2018-08-28 12:34:27 -04:00
Francis Lachapelle dfcc14356a Improve comments in Apache/SOGo.conf 2018-08-28 12:30:37 -04:00
Francis Lachapelle 1551b3deab Merge pull request #233 from gordonmessmer/apache-conf
Set the HTTP_HOST environment variable to enable preservation of the …
2018-08-27 22:05:39 -04:00
Ludovic Marcotte 4542163241 (fix) retry connection if abruptly closed 2018-08-27 08:41:24 -04:00
Zhang Huangbin 7d38a48f68 Create directories with 077X
Create directories with 077X. If we run 2 SOGo instances by following official tutorial[1], the second SOGo instance cannot start due to no permission to write pid file or log file.

[1] https://sogo.nu/nc/support/faq/article/dedicated-separate-sogo-instance-for-activesync.html
2017-03-22 14:11:42 +08:00
Gordon Messmer 400dd26b7d Set the HTTP_HOST environment variable to enable preservation of the client's base URL. 2017-03-17 12:08:54 -07:00
1669 changed files with 71492 additions and 79412 deletions

No files matched your search

+114
View File
@@ -0,0 +1,114 @@
# Contributing to SOGo
## Reporting Bugs and Suggesting Enhancements
If you encounter a possible bug with SOGo, you can access our
[bug tracking system](https://sogo.nu/bugs/).
Please make sure to respect the following guidelines when reporting a bug:
* verify that the bug you found is not already known or even fixed in the `master` version
* make the actual facts very clear; be precise, we need to be able to reproduce the problem
* explain your speculations, if any
* add a screenshot to the ticket if appropriate
## Submitting a Pull Request
Begin by reading [SOGo Developer's Guide](../Documentation/SOGoDevelopersGuide.asciidoc).
### Git Commit Guidelines
We have very precise rules over how our git commit messages can be formatted. This leads to **more
readable messages** that are easy to follow when looking through the **project history**.
It is important to note that we use the git commit messages to **generate** the
[CHANGELOG](../CHANGELOG.md) document. Improperly formatted commit messages may result in your
change not appearing in the CHANGELOG of the next release.
### Commit Message Format
Each commit message consists of a **header**, a **body** and a **footer**. The header has a special
format that includes a **type**, a **scope** and a **subject**:
```html
<type>(<scope>): <subject>
<BLANK LINE>
<body>
<BLANK LINE>
<footer>
```
> Any line of the commit message cannot be longer than 100 characters.
> This allows the message to be easier to read on GitHub as well as in various Git tools.
#### Type
Must be one of the following:
* **feat**: A new feature
* **fix**: A bug fix
* **docs**: Documentation only changes
* **i18n**: Change in localizable strings
* **style**: Changes that do not affect the meaning of the code (white-space, formatting, missing
semi-colons, etc)
* **refactor**: A code change that neither fixes a bug nor adds a feature
* **perf**: A code change that improves performance
* **test**: Adding missing tests
* **chore**: Changes to the build and packaging process or auxiliary tools (sogo-tool,
sogo-ealarms-notify) and libraries such as documentation generation
#### Scope
The scope could be anything that helps specifying the scope (or feature) that is changing.
Examples
* mail
* mail(js)
* calendar(css)
* addressbook
* preferences(js)
* core
* eas
#### Subject
The subject contains a succinct description of the change:
* use the imperative, present tense: "change" not "changed" nor "changes"
* don't capitalize first letter
* no dot (.) at the end
#### Body
Just as in the **subject**, use the imperative, present tense: "change" not "changed" nor "changes"
The body should include the motivation for the change and contrast this with previous behavior.
#### Footer
The footer should contain any information about **Breaking Changes** and is also the
place to reference [Mantis](https://sogo.nu/bus/) issues that this commit **Fixes** or **Resolves**.
> Breaking Changes are intended to be highlighted in the CHANGELOG as changes that will require
> community users to modify their code after updating to a version that contains this commit.
#### Sample Commit messages
```text
fix(calendar): don't raise exception when renaming with same name
this would break Apple Calendar.app when creating a new calendar
Fixes #4813
```
```text
feat(calendar(js)): optionally expand LDAP groups in attendees editor
* add `/members` action for LDIF groups
* add button to expand invited LDAP groups
Fixes #2506
```
```text
fix(core): set default Sieve port to 4190
BREAKING CHANGE: the default port for the SOGoSieveServer configuration default is now 4190 (was
2000).
You need to explicitly set the port if you use a different port.
Closes #4826
```
+22
View File
@@ -18,6 +18,7 @@ trans.fr = UI/MailerUI/French.lproj/Localizable.strings
trans.he = UI/MailerUI/Hebrew.lproj/Localizable.strings
trans.hr_HR = UI/MailerUI/Croatian.lproj/Localizable.strings
trans.hu = UI/MailerUI/Hungarian.lproj/Localizable.strings
trans.id_ID = UI/MailerUI/Indonesian.lproj/Localizable.strings
trans.is = UI/MailerUI/Icelandic.lproj/Localizable.strings
trans.it = UI/MailerUI/Italian.lproj/Localizable.strings
trans.ja = UI/MailerUI/Japanese.lproj/Localizable.strings
@@ -35,6 +36,7 @@ trans.ru = UI/MailerUI/Russian.lproj/Localizable.strings
trans.sk = UI/MailerUI/Slovak.lproj/Localizable.strings
trans.sl_SI = UI/MailerUI/Slovenian.lproj/Localizable.strings
trans.sr = UI/MailerUI/Serbian.lproj/Localizable.strings
trans.sr@latin = UI/MailerUI/SerbianLatin.lproj/Localizable.strings
trans.sv = UI/MailerUI/Swedish.lproj/Localizable.strings
trans.tr_TR = UI/MailerUI/TurkishTurkey.lproj/Localizable.strings
trans.uk = UI/MailerUI/Ukrainian.lproj/Localizable.strings
@@ -58,6 +60,7 @@ trans.fr = UI/PreferencesUI/French.lproj/Localizable.strings
trans.he = UI/PreferencesUI/Hebrew.lproj/Localizable.strings
trans.hr_HR = UI/PreferencesUI/Croatian.lproj/Localizable.strings
trans.hu = UI/PreferencesUI/Hungarian.lproj/Localizable.strings
trans.id_ID = UI/PreferencesUI/Indonesian.lproj/Localizable.strings
trans.is = UI/PreferencesUI/Icelandic.lproj/Localizable.strings
trans.it = UI/PreferencesUI/Italian.lproj/Localizable.strings
trans.ja = UI/PreferencesUI/Japanese.lproj/Localizable.strings
@@ -75,6 +78,7 @@ trans.ru = UI/PreferencesUI/Russian.lproj/Localizable.strings
trans.sk = UI/PreferencesUI/Slovak.lproj/Localizable.strings
trans.sl_SI = UI/PreferencesUI/Slovenian.lproj/Localizable.strings
trans.sr = UI/PreferencesUI/Serbian.lproj/Localizable.strings
trans.sr@latin = UI/PreferencesUI/SerbianLatin.lproj/Localizable.strings
trans.sv = UI/PreferencesUI/Swedish.lproj/Localizable.strings
trans.tr_TR = UI/PreferencesUI/TurkishTurkey.lproj/Localizable.strings
trans.uk = UI/PreferencesUI/Ukrainian.lproj/Localizable.strings
@@ -98,6 +102,7 @@ trans.fr = UI/Scheduler/French.lproj/Localizable.strings
trans.he = UI/Scheduler/Hebrew.lproj/Localizable.strings
trans.hr_HR = UI/Scheduler/Croatian.lproj/Localizable.strings
trans.hu = UI/Scheduler/Hungarian.lproj/Localizable.strings
trans.id_ID = UI/Scheduler/Indonesian.lproj/Localizable.strings
trans.is = UI/Scheduler/Icelandic.lproj/Localizable.strings
trans.it = UI/Scheduler/Italian.lproj/Localizable.strings
trans.ja = UI/Scheduler/Japanese.lproj/Localizable.strings
@@ -115,6 +120,7 @@ trans.ru = UI/Scheduler/Russian.lproj/Localizable.strings
trans.sk = UI/Scheduler/Slovak.lproj/Localizable.strings
trans.sl_SI = UI/Scheduler/Slovenian.lproj/Localizable.strings
trans.sr = UI/Scheduler/Serbian.lproj/Localizable.strings
trans.sr@latin = UI/Scheduler/SerbianLatin.lproj/Localizable.strings
trans.sv = UI/Scheduler/Swedish.lproj/Localizable.strings
trans.tr_TR = UI/Scheduler/TurkishTurkey.lproj/Localizable.strings
trans.uk = UI/Scheduler/Ukrainian.lproj/Localizable.strings
@@ -138,6 +144,7 @@ trans.fr = UI/Contacts/French.lproj/Localizable.strings
trans.he = UI/Contacts/Hebrew.lproj/Localizable.strings
trans.hr_HR = UI/Contacts/Croatian.lproj/Localizable.strings
trans.hu = UI/Contacts/Hungarian.lproj/Localizable.strings
trans.id_ID = UI/Contacts/Indonesian.lproj/Localizable.strings
trans.is = UI/Contacts/Icelandic.lproj/Localizable.strings
trans.it = UI/Contacts/Italian.lproj/Localizable.strings
trans.ja = UI/Contacts/Japanese.lproj/Localizable.strings
@@ -155,6 +162,7 @@ trans.ru = UI/Contacts/Russian.lproj/Localizable.strings
trans.sk = UI/Contacts/Slovak.lproj/Localizable.strings
trans.sl_SI = UI/Contacts/Slovenian.lproj/Localizable.strings
trans.sr = UI/Contacts/Serbian.lproj/Localizable.strings
trans.sr@latin = UI/Contacts/SerbianLatin.lproj/Localizable.strings
trans.sv = UI/Contacts/Swedish.lproj/Localizable.strings
trans.tr_TR = UI/Contacts/TurkishTurkey.lproj/Localizable.strings
trans.uk = UI/Contacts/Ukrainian.lproj/Localizable.strings
@@ -178,6 +186,7 @@ trans.fr = UI/MainUI/French.lproj/Localizable.strings
trans.he = UI/MainUI/Hebrew.lproj/Localizable.strings
trans.hr_HR = UI/MainUI/Croatian.lproj/Localizable.strings
trans.hu = UI/MainUI/Hungarian.lproj/Localizable.strings
trans.id_ID = UI/MainUI/Indonesian.lproj/Localizable.strings
trans.is = UI/MainUI/Icelandic.lproj/Localizable.strings
trans.it = UI/MainUI/Italian.lproj/Localizable.strings
trans.ja = UI/MainUI/Japanese.lproj/Localizable.strings
@@ -195,6 +204,7 @@ trans.ru = UI/MainUI/Russian.lproj/Localizable.strings
trans.sk = UI/MainUI/Slovak.lproj/Localizable.strings
trans.sl_SI = UI/MainUI/Slovenian.lproj/Localizable.strings
trans.sr = UI/MainUI/Serbian.lproj/Localizable.strings
trans.sr@latin = UI/MainUI/SerbianLatin.lproj/Localizable.strings
trans.sv = UI/MainUI/Swedish.lproj/Localizable.strings
trans.tr_TR = UI/MainUI/TurkishTurkey.lproj/Localizable.strings
trans.uk = UI/MainUI/Ukrainian.lproj/Localizable.strings
@@ -218,6 +228,7 @@ trans.fr = UI/Common/French.lproj/Localizable.strings
trans.he = UI/Common/Hebrew.lproj/Localizable.strings
trans.hr_HR = UI/Common/Croatian.lproj/Localizable.strings
trans.hu = UI/Common/Hungarian.lproj/Localizable.strings
trans.id_ID = UI/Common/Indonesian.lproj/Localizable.strings
trans.is = UI/Common/Icelandic.lproj/Localizable.strings
trans.it = UI/Common/Italian.lproj/Localizable.strings
trans.ja = UI/Common/Japanese.lproj/Localizable.strings
@@ -235,6 +246,7 @@ trans.ru = UI/Common/Russian.lproj/Localizable.strings
trans.sk = UI/Common/Slovak.lproj/Localizable.strings
trans.sl_SI = UI/Common/Slovenian.lproj/Localizable.strings
trans.sr = UI/Common/Serbian.lproj/Localizable.strings
trans.sr@latin = UI/Common/SerbianLatin.lproj/Localizable.strings
trans.sv = UI/Common/Swedish.lproj/Localizable.strings
trans.tr_TR = UI/Common/TurkishTurkey.lproj/Localizable.strings
trans.uk = UI/Common/Ukrainian.lproj/Localizable.strings
@@ -258,6 +270,7 @@ trans.fr = UI/AdministrationUI/French.lproj/Localizable.strings
trans.he = UI/AdministrationUI/Hebrew.lproj/Localizable.strings
trans.hr_HR = UI/AdministrationUI/Croatian.lproj/Localizable.strings
trans.hu = UI/AdministrationUI/Hungarian.lproj/Localizable.strings
trans.id_ID = UI/AdministrationUI/Indonesian.lproj/Localizable.strings
trans.is = UI/AdministrationUI/Icelandic.lproj/Localizable.strings
trans.it = UI/AdministrationUI/Italian.lproj/Localizable.strings
trans.ja = UI/AdministrationUI/Japanese.lproj/Localizable.strings
@@ -275,6 +288,7 @@ trans.ru = UI/AdministrationUI/Russian.lproj/Localizable.strings
trans.sk = UI/AdministrationUI/Slovak.lproj/Localizable.strings
trans.sl_SI = UI/AdministrationUI/Slovenian.lproj/Localizable.strings
trans.sr = UI/AdministrationUI/Serbian.lproj/Localizable.strings
trans.sr@latin = UI/AdministrationUI/SerbianLatin.lproj/Localizable.strings
trans.sv = UI/AdministrationUI/Swedish.lproj/Localizable.strings
trans.tr_TR = UI/AdministrationUI/TurkishTurkey.lproj/Localizable.strings
trans.uk = UI/AdministrationUI/Ukrainian.lproj/Localizable.strings
@@ -298,6 +312,7 @@ trans.fr = SoObjects/Appointments/French.lproj/Localizable.strings
trans.he = SoObjects/Appointments/Hebrew.lproj/Localizable.strings
trans.hr_HR = SoObjects/Appointments/Croatian.lproj/Localizable.strings
trans.hu = SoObjects/Appointments/Hungarian.lproj/Localizable.strings
trans.id_ID = SoObjects/Appointments/Indonesian.lproj/Localizable.strings
trans.is = SoObjects/Appointments/Icelandic.lproj/Localizable.strings
trans.it = SoObjects/Appointments/Italian.lproj/Localizable.strings
trans.ja = SoObjects/Appointments/Japanese.lproj/Localizable.strings
@@ -315,6 +330,7 @@ trans.ru = SoObjects/Appointments/Russian.lproj/Localizable.strings
trans.sk = SoObjects/Appointments/Slovak.lproj/Localizable.strings
trans.sl_SI = SoObjects/Appointments/Slovenian.lproj/Localizable.strings
trans.sr = SoObjects/Appointments/Serbian.lproj/Localizable.strings
trans.sr@latin = SoObjects/Appointments/SerbianLatin.lproj/Localizable.strings
trans.sv = SoObjects/Appointments/Swedish.lproj/Localizable.strings
trans.tr_TR = SoObjects/Appointments/TurkishTurkey.lproj/Localizable.strings
trans.uk = SoObjects/Appointments/Ukrainian.lproj/Localizable.strings
@@ -338,6 +354,7 @@ trans.fr = SoObjects/Contacts/French.lproj/Localizable.strings
trans.he = SoObjects/Contacts/Hebrew.lproj/Localizable.strings
trans.hr_HR = SoObjects/Contacts/Croatian.lproj/Localizable.strings
trans.hu = SoObjects/Contacts/Hungarian.lproj/Localizable.strings
trans.id_ID = SoObjects/Contacts/Indonesian.lproj/Localizable.strings
trans.is = SoObjects/Contacts/Icelandic.lproj/Localizable.strings
trans.it = SoObjects/Contacts/Italian.lproj/Localizable.strings
trans.ja = SoObjects/Contacts/Japanese.lproj/Localizable.strings
@@ -355,6 +372,7 @@ trans.ru = SoObjects/Contacts/Russian.lproj/Localizable.strings
trans.sk = SoObjects/Contacts/Slovak.lproj/Localizable.strings
trans.sl_SI = SoObjects/Contacts/Slovenian.lproj/Localizable.strings
trans.sr = SoObjects/Contacts/Serbian.lproj/Localizable.strings
trans.sr@latin = SoObjects/Contacts/SerbianLatin.lproj/Localizable.strings
trans.sv = SoObjects/Contacts/Swedish.lproj/Localizable.strings
trans.tr_TR = SoObjects/Contacts/TurkishTurkey.lproj/Localizable.strings
trans.uk = SoObjects/Contacts/Ukrainian.lproj/Localizable.strings
@@ -378,6 +396,7 @@ trans.fr = SoObjects/Mailer/French.lproj/Localizable.strings
trans.he = SoObjects/Mailer/Hebrew.lproj/Localizable.strings
trans.hr_HR = SoObjects/Mailer/Croatian.lproj/Localizable.strings
trans.hu = SoObjects/Mailer/Hungarian.lproj/Localizable.strings
trans.id_ID = SoObjects/Mailer/Indonesian.lproj/Localizable.strings
trans.is = SoObjects/Mailer/Icelandic.lproj/Localizable.strings
trans.it = SoObjects/Mailer/Italian.lproj/Localizable.strings
trans.ja = SoObjects/Mailer/Japanese.lproj/Localizable.strings
@@ -395,6 +414,7 @@ trans.ru = SoObjects/Mailer/Russian.lproj/Localizable.strings
trans.sk = SoObjects/Mailer/Slovak.lproj/Localizable.strings
trans.sl_SI = SoObjects/Mailer/Slovenian.lproj/Localizable.strings
trans.sr = SoObjects/Mailer/Serbian.lproj/Localizable.strings
trans.sr@latin = SoObjects/Mailer/SerbianLatin.lproj/Localizable.strings
trans.sv = SoObjects/Mailer/Swedish.lproj/Localizable.strings
trans.tr_TR = SoObjects/Mailer/TurkishTurkey.lproj/Localizable.strings
trans.uk = SoObjects/Mailer/Ukrainian.lproj/Localizable.strings
@@ -418,6 +438,7 @@ trans.fr = UI/MailPartViewers/French.lproj/Localizable.strings
trans.he = UI/MailPartViewers/Hebrew.lproj/Localizable.strings
trans.hr_HR = UI/MailPartViewers/Croatian.lproj/Localizable.strings
trans.hu = UI/MailPartViewers/Hungarian.lproj/Localizable.strings
trans.id_ID = UI/MailPartViewers/Indonesian.lproj/Localizable.strings
trans.is = UI/MailPartViewers/Icelandic.lproj/Localizable.strings
trans.it = UI/MailPartViewers/Italian.lproj/Localizable.strings
trans.ja = UI/MailPartViewers/Japanese.lproj/Localizable.strings
@@ -435,6 +456,7 @@ trans.ru = UI/MailPartViewers/Russian.lproj/Localizable.strings
trans.sk = UI/MailPartViewers/Slovak.lproj/Localizable.strings
trans.sl_SI = UI/MailPartViewers/Slovenian.lproj/Localizable.strings
trans.sr = UI/MailPartViewers/Serbian.lproj/Localizable.strings
trans.sr@latin = UI/MailPartViewers/SerbianLatin.lproj/Localizable.strings
trans.sv = UI/MailPartViewers/Swedish.lproj/Localizable.strings
trans.tr_TR = UI/MailPartViewers/TurkishTurkey.lproj/Localizable.strings
trans.uk = UI/MailPartViewers/Ukrainian.lproj/Localizable.strings
+27
View File
@@ -0,0 +1,27 @@
const tracker = {
filename: "Version",
updater: require("./Scripts/standard-version-updater.js")
}
module.exports = {
tagPrefix: "SOGo-",
issueUrlFormat: "https://sogo.nu/bugs/view.php?id={{id}}",
compareUrlFormat: "{{host}}/{{owner}}/{{repository}}/compare/{{previousTag}}...{{currentTag}}",
types: [
{type: "feat", section: "Features"},
{type: "refactor", section: "Enhancements"},
{type: "perf", section: "Enhancements"},
{type: "i18n", section: "Localization"},
{type: "fix", section: "Bug Fixes"},
{type: "chore", hidden: true},
{type: "docs", hidden: true},
{type: "style", hidden: true},
{type: "test", hidden: true}
],
skip: {
commit: true,
tag: true
},
packageFiles: [tracker],
bumpFiles: [tracker]
}
+34 -7
View File
@@ -99,7 +99,19 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
if ((o = [n flattenedValueAtIndex: 1 forKey: @""]))
[s appendFormat: @"<FirstName xmlns=\"Contacts:\">%@</FirstName>", [o activeSyncRepresentationInContext: context]];
if ((o = [n flattenedValueAtIndex: 2 forKey: @""]))
[s appendFormat: @"<MiddleName xmlns=\"Contacts:\">%@</MiddleName>", [o activeSyncRepresentationInContext: context]];
if ((o = [n flattenedValueAtIndex: 3 forKey: @""]))
[s appendFormat: @"<Title xmlns=\"Contacts:\">%@</Title>", [o activeSyncRepresentationInContext: context]];
if ((o = [n flattenedValueAtIndex: 4 forKey: @""]))
[s appendFormat: @"<Suffix xmlns=\"Contacts:\">%@</Suffix>", [o activeSyncRepresentationInContext: context]];
if ((o = [self fn]))
[s appendFormat: @"<FileAs xmlns=\"Contacts:\">%@</FileAs>", [o activeSyncRepresentationInContext: context]];
if ((o = [self workCompany]))
[s appendFormat: @"<CompanyName xmlns=\"Contacts:\">%@</CompanyName>", [o activeSyncRepresentationInContext: context]];
@@ -302,8 +314,10 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
{
CardElement *element;
NSMutableArray *addressLines, *other_addresses;
id o;
id o, l, m, f, p, s;
l = m = f = p = s = nil;
// Contact's note
if ((o = [[theValues objectForKey: @"Body"] objectForKey: @"Data"]))
[self setNote: o];
@@ -529,10 +543,23 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
if ((o = [theValues objectForKey: @"FileAs"]) || ![self _isGhosted: @"FileAs" inContext: context])
[self setFn: [theValues objectForKey: @"FileAs"]];
[self setNWithFamily: [theValues objectForKey: @"LastName"]
given: [theValues objectForKey: @"FirstName"]
additional: nil prefixes: nil suffixes: nil];
if ((o = [theValues objectForKey: @"LastName"]) || ![self _isGhosted: @"LastName" inContext: context])
l = o ? o : @"";
if ((o = [theValues objectForKey: @"FirstName"]) || ![self _isGhosted: @"FirstName" inContext: context])
f = o ? o : @"";
if ((o = [theValues objectForKey: @"MiddleName"]) || ![self _isGhosted: @"MiddleName" inContext: context])
m = o ? o : @"";
if ((o = [theValues objectForKey: @"Title"]) || ![self _isGhosted: @"Title" inContext: context])
p = o ? o : @"";
if ((o = [theValues objectForKey: @"Suffix"]) || ![self _isGhosted: @"Suffix" inContext: context])
s = o ? o : @"";
[self setNWithFamily: l given: f additional: m prefixes: p suffixes: s];
// IM information
if ((o = [theValues objectForKey: @"IMAddress"]) || ![self _isGhosted: @"IMAddress" inContext: context])
[[self uniqueChildWithTag: @"x-aim"]
+1 -1
View File
@@ -234,7 +234,7 @@ static NSArray *easCommandParameters = nil;
// parameter_code 7 == Options
// http://msdn.microsoft.com/en-us/library/ee237789(v=exchg.80).aspx
if (parameter_code == 7)
if (parameter_code == 7 && ! [parameterValue isEqualToString: @"\000"] )
[components addObject: [NSString stringWithFormat: @"%@=%@", [easCommandParameters objectAtIndex: parameter_code],
([parameterValue isEqualToString: @"\001"]) ? @"SaveInSent" : @"AcceptMultiPart"]];
else
+28 -5
View File
@@ -54,6 +54,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#import <SOGo/SOGoPermissions.h>
#import <NGCards/iCalCalendar.h>
#import <NGCards/iCalPerson.h>
#import <Appointments/iCalEntityObject+SOGo.h>
#import <Appointments/SOGoAppointmentObject.h>
@@ -297,6 +298,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
NSMutableDictionary *folderMetadata, *dateCache, *syncCache, *uidCache, *allValues;
NSString *clientId, *serverId, *easId;
NSArray *additions, *roles;
SOGoUser *ownerUser;
id anAddition, sogoObject, o;
BOOL is_new;
@@ -456,6 +458,16 @@ FIXME
else
{
[o takeActiveSyncValues: allValues inContext: context];
// Handle situation were Alice creates an event in Bob's calendar.
// Bob should be the organizer, and Alice the SENT-BY.
ownerUser = [SOGoUser userWithLogin: [sogoObject ownerInContext: context]];
if (theFolderType == ActiveSyncEventFolder && ![o userIsOrganizer: ownerUser] && [[context activeUser] hasEmail: [[o organizer] rfc822Email]])
{
[[o organizer] setCn: [ownerUser cn]];
[[o organizer] setEmail: [[ownerUser allEmails] objectAtIndex: 0]];
[[o organizer] setSentBy: [NSString stringWithFormat: @"\"MAILTO:%@\"", [[[context activeUser] allEmails] objectAtIndex: 0]]];
}
[sogoObject setIsNew: is_new];
if (theFolderType == ActiveSyncEventFolder)
@@ -570,6 +582,7 @@ FIXME
NSArray *changes, *a, *roles;
id aChange, o, sogoObject;
NSMutableDictionary *folderMetadata, *syncCache, *uidCache;
SOGoUser *ownerUser;
int i;
@@ -690,6 +703,16 @@ FIXME
if (theFolderType == ActiveSyncEventFolder)
{
// Handle situation were Alice creates an event in Bob's calendar.
// Bob should be the organizer, and Alice the SENT-BY.
ownerUser = [SOGoUser userWithLogin: [sogoObject ownerInContext: context]];
if (theFolderType == ActiveSyncEventFolder && ![o userIsOrganizer: ownerUser] && [[context activeUser] hasEmail: [[o organizer] rfc822Email]])
{
[[o organizer] setCn: [ownerUser cn]];
[[o organizer] setEmail: [[ownerUser allEmails] objectAtIndex: 0]];
[[o organizer] setSentBy: [NSString stringWithFormat: @"\"MAILTO:%@\"", [[[context activeUser] allEmails] objectAtIndex: 0]]];
}
[sogoObject saveComponent: o force: YES];
if ([sogoObject resourceHasAutoAccepted])
[objectsToTouch addObject: sogoObject];
@@ -2012,9 +2035,8 @@ FIXME
{
bodyPreferenceType = [[folderMetadata objectForKey: @"FolderOptions"] objectForKey: @"BodyPreferenceType"];
// By default, send MIME mails. See #3146 for details.
if (!bodyPreferenceType)
bodyPreferenceType = @"4";
bodyPreferenceType = @"1";
mimeSupport = [[folderMetadata objectForKey: @"FolderOptions"] objectForKey: @"MIMESupport"];
mimeTruncation = [[folderMetadata objectForKey: @"FolderOptions"] objectForKey: @"MIMETruncation"];
@@ -2212,7 +2234,7 @@ FIXME
// Cache-entry still exists but folder doesn't exists or synchronize flag is not set.
// We ignore the folder and wait for foldersync to do the cleanup.
if (!(mfCollection && [mfCollection synchronize]))
if (!(mfCollection && [(SOGoGCSFolder*)mfCollection synchronize]))
{
if (debugOn)
[self logWithFormat: @"EAS - Folder %@ not found. Ignoring ...", folderName];
@@ -2246,7 +2268,7 @@ FIXME
realCollectionId = [folderName realCollectionIdWithFolderType: &mergedFolderType];
mfCollection = [self collectionFromId: realCollectionId type: mergedFolderType];
if (!(mfCollection && [mfCollection synchronize]))
if (!(mfCollection && [(SOGoGCSFolder*)mfCollection synchronize]))
{
if (debugOn)
[self logWithFormat: @"EAS - Folder %@ not found. Reset personal folder to cleanup", folderName];
@@ -2593,7 +2615,6 @@ FIXME
//[output appendFormat: @"<Status>%d</Status>", 14];
}
[output appendString: @"<Collections>"];
s = nil;
// We enter our loop detection change
@@ -2696,6 +2717,8 @@ FIXME
//
if (changeDetected || [[[context request] headerForKey: @"MS-ASProtocolVersion"] isEqualToString: @"2.5"] || [[[context request] headerForKey: @"MS-ASProtocolVersion"] isEqualToString: @"12.0"])
{
[output appendString: @"<Collections>"];
// We always return the last generated response.
// If we only return <Sync><Collections/></Sync>,
// iOS powered devices will simply crash.
+232 -36
View File
@@ -44,6 +44,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#import <NGCards/iCalCalendar.h>
#import <NGCards/iCalEvent.h>
#import <NGCards/iCalAlarm.h>
#import <NGCards/iCalPerson.h>
#import <NGExtensions/NGBase64Coding.h>
@@ -90,6 +91,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#import <Appointments/SOGoAppointmentFolder.h>
#import <Appointments/SOGoAppointmentFolders.h>
#import <Appointments/SOGoAppointmentObject.h>
#import <Appointments/iCalEntityObject+SOGo.h>
#import <Contacts/SOGoContactGCSFolder.h>
#import <Contacts/SOGoContactFolders.h>
@@ -707,11 +709,13 @@ void handle_eas_terminate(int signum)
inContext: context
acquire: NO];
// update the cache anyway regardless of any error; if the rename fails next folderSync will to the cleanup
[folderToUpdate renameTo: [NSString stringWithFormat: @"%@", [displayName stringByEncodingImap4FolderName]]];
if (folderType == ActiveSyncEventFolder)
nameInCache = [NSString stringWithFormat: @"vevent/%@", serverId];
{
nameInCache = [NSString stringWithFormat: @"vevent/%@", serverId];
// We do the rename only for EventFolder. TaskFolder and EventFolder have the same target on server.
// In case of an error we expect the foldersync to do the cleanup.
[folderToUpdate renameTo: [NSString stringWithFormat: @"%@", [displayName stringByEncodingImap4FolderName]]];
}
else
nameInCache = [NSString stringWithFormat: @"vtodo/%@",serverId];
@@ -802,7 +806,7 @@ void handle_eas_terminate(int signum)
- (void) processFolderSync: (id <DOMElement>) theDocumentElement
inResponse: (WOResponse *) theResponse
{
NSString *key, *cKey, *nkey, *name, *serverId, *parentId, *nameInCache, *personalFolderName, *syncKey, *folderType, *operation;
NSString *key, *cKey, *nkey, *name, *serverId, *parentId, *nameInCache, *personalFolderName, *syncKey, *folderType, *operation, *parent;
NSMutableArray *folders, *processedFolders, *allFoldersMetadata;
NSMutableDictionary *cachedGUIDs, *metadata;
NSDictionary *folderMetadata, *imapGUIDs;
@@ -973,7 +977,7 @@ void handle_eas_terminate(int signum)
}
// Remove the folder from device if it doesn't exist, or don't want to sync it.
if (!currentFolder || !([currentFolder synchronize]))
if (!currentFolder || !([(SOGoGCSFolder*)currentFolder synchronize]))
{
// Don't send a delete when MergedFoler is set, we have done it above.
// Windows Phones don't like when a <Delete>-folder is sent twice.
@@ -1131,7 +1135,7 @@ void handle_eas_terminate(int signum)
continue;
if (![currentFolder isKindOfClass: [SOGoGCSFolder class]] ||
![currentFolder synchronize])
![(SOGoGCSFolder*)currentFolder synchronize])
{
[folders removeObjectAtIndex: count];
continue;
@@ -1173,9 +1177,19 @@ void handle_eas_terminate(int signum)
{
if ([[folders objectAtIndex:fi] isKindOfClass: [SOGoAppointmentFolder class]])
{
type = ([[[folders objectAtIndex:fi] nameInContainer] isEqualToString: personalFolderName] ? 8 : 13);
if ([[[folders objectAtIndex:fi] nameInContainer] isEqualToString: personalFolderName])
{
type = 8;
parent = @"0";
}
else
{
type = 13;
parent = [NSString stringWithFormat: @"vevent/%@",personalFolderName];
}
[commands appendFormat: @"<%@><ServerId>%@</ServerId><ParentId>%@</ParentId><DisplayName>%@</DisplayName><Type>%d</Type></%@>", operation,
[name stringByEscapingURL], @"0", [[[folders objectAtIndex:fi] displayName] activeSyncRepresentationInContext: context], type, operation];
[name stringByEscapingURL], [parent stringByEscapingURL], [[[folders objectAtIndex:fi] displayName] activeSyncRepresentationInContext: context], type, operation];
command_count++;
@@ -1183,7 +1197,17 @@ void handle_eas_terminate(int signum)
[o save];
name = [NSString stringWithFormat: @"vtodo/%@", [[folders objectAtIndex:fi] nameInContainer]];
type = ([[[folders objectAtIndex:fi] nameInContainer] isEqualToString: personalFolderName] ? 7 : 15);
if ([[[folders objectAtIndex:fi] nameInContainer] isEqualToString: personalFolderName])
{
type = 7;
parent = @"0";
}
else
{
type = 15;
parent = [NSString stringWithFormat: @"vtodo/%@",personalFolderName];
}
// We always sync the "Default Tasks folder" (7). For "User-created Tasks folder" (15), we check if we include it in
// the sync process by checking if "Show tasks" is enabled. If not, we skip the folder entirely.
@@ -1191,7 +1215,7 @@ void handle_eas_terminate(int signum)
(type == 15 && [[folders objectAtIndex: fi] showCalendarTasks]))
{
[commands appendFormat: @"<%@><ServerId>%@</ServerId><ParentId>%@</ParentId><DisplayName>%@</DisplayName><Type>%d</Type></%@>", operation,
[name stringByEscapingURL], @"0", [[[folders objectAtIndex:fi] displayName] activeSyncRepresentationInContext: context], type, operation];
[name stringByEscapingURL], [parent stringByEscapingURL], [[[folders objectAtIndex:fi] displayName] activeSyncRepresentationInContext: context], type, operation];
command_count++;
@@ -1226,9 +1250,19 @@ void handle_eas_terminate(int signum)
}
else if ([[folders objectAtIndex:fi] isKindOfClass: [SOGoContactGCSFolder class]])
{
type = ([[[folders objectAtIndex:fi] nameInContainer] isEqualToString: personalFolderName] ? 9 : 14);
if ([[[folders objectAtIndex:fi] nameInContainer] isEqualToString: personalFolderName])
{
type = 9;
parent = @"0";
}
else
{
type = 14;
parent = [NSString stringWithFormat: @"vcard/%@",personalFolderName];
}
[commands appendFormat: @"<%@><ServerId>%@</ServerId><ParentId>%@</ParentId><DisplayName>%@</DisplayName><Type>%d</Type></%@>", operation,
[name stringByEscapingURL], @"0", [[[folders objectAtIndex:fi] displayName] activeSyncRepresentationInContext: context], type, operation];
[name stringByEscapingURL], [parent stringByEscapingURL], [[[folders objectAtIndex:fi] displayName] activeSyncRepresentationInContext: context], type, operation];
command_count++;
@@ -1596,11 +1630,11 @@ void handle_eas_terminate(int signum)
// ServerId might have been set if LongId was defined in the initial request. If not, it is
// a normal ItemOperations (Fetch) to get a complete email
if (!serverId)
serverId = [[(id)[theDocumentElement getElementsByTagName: @"ServerId"] lastObject] textValue];
serverId = [[(id)[aFetch getElementsByTagName: @"ServerId"] lastObject] textValue];
bodyPreferenceType = [[(id)[[(id)[theDocumentElement getElementsByTagName: @"BodyPreference"] lastObject] getElementsByTagName: @"Type"] lastObject] textValue];
bodyPreferenceType = [[(id)[[(id)[aFetch getElementsByTagName: @"BodyPreference"] lastObject] getElementsByTagName: @"Type"] lastObject] textValue];
[context setObject: bodyPreferenceType forKey: @"BodyPreferenceType"];
mimeSupport = [[(id)[theDocumentElement getElementsByTagName: @"MIMESupport"] lastObject] textValue];
mimeSupport = [[(id)[aFetch getElementsByTagName: @"MIMESupport"] lastObject] textValue];
[context setObject: mimeSupport forKey: @"MIMESupport"];
// https://msdn.microsoft.com/en-us/library/gg675490%28v=exchg.80%29.aspx
@@ -1613,9 +1647,26 @@ void handle_eas_terminate(int signum)
mailObject = [currentCollection lookupName: serverId inContext: context acquire: NO];
[s appendString: @"<Fetch>"];
[s appendString: @"<Status>1</Status>"];
[s appendFormat: @"<CollectionId xmlns=\"AirSyncBase:\">%@</CollectionId>", collectionId];
[s appendFormat: @"<ServerId xmlns=\"AirSyncBase:\">%@</ServerId>", serverId];
if ([[[(id)[aFetch getElementsByTagName: @"LongId"] lastObject] textValue] length])
{
[s appendString: @"<Class xmlns=\"AirSync:\">Email</Class>"];
[s appendFormat: @"<LongId xmlns=\"Search:\">%@</LongId>", [[(id)[aFetch getElementsByTagName: @"LongId"] lastObject] textValue]];
}
else
{
[s appendFormat: @"<CollectionId xmlns=\"AirSyncBase:\">%@</CollectionId>", collectionId];
[s appendFormat: @"<ServerId xmlns=\"AirSyncBase:\">%@</ServerId>", serverId];
}
[s appendString: @"<Properties>"];
if ([[theResponse headerForKey: @"Content-Type"] isEqualToString:@"application/vnd.ms-sync.multipart"])
{
[context setObject: parts forKey: @"MultiParts"];
[context setObject: partLength forKey: @"MultiPartsLen"];
}
[s appendString: [mailObject activeSyncRepresentationInContext: context]];
}
@@ -1624,8 +1675,75 @@ void handle_eas_terminate(int signum)
}
else
{
[theResponse setStatus: 500];
return;
NSMutableDictionary *uidCache, *folderMetadata;
NSString *easId;
id sogoObject, currentCollection, componentObject;
// ServerId might have been set if LongId was defined in the initial request. If not, it is
// a normal ItemOperations (Fetch).
if (!serverId)
serverId = [[(id)[aFetch getElementsByTagName: @"ServerId"] lastObject] textValue];
currentCollection = [self collectionFromId: realCollectionId type: folderType];
folderMetadata = [self _folderMetadataForKey: [self _getNameInCache: realCollectionId withType: folderType]];
uidCache = [folderMetadata objectForKey: @"UidCache"];
if (uidCache)
{
easId = [[uidCache allKeysForObject: serverId] objectAtIndex: 0];
if (easId)
{
if (debugOn)
[self logWithFormat: @"EAS - Found easId: %@ for serverId: %@", easId, serverId];
}
else
{
if (debugOn)
[self logWithFormat: @"EAS - Use original serverId: %@", serverId];
easId = serverId;
}
}
else
easId = serverId;
sogoObject = [currentCollection lookupName: [easId sanitizedServerIdWithType: folderType]
inContext: context
acquire: NO];
if (folderType == ActiveSyncContactFolder)
componentObject = [sogoObject vCard];
else
componentObject = [sogoObject component: NO secure: YES];
[s appendString: @"<Fetch>"];
[s appendString: @"<Status>1</Status>"];
if ([[[(id)[aFetch getElementsByTagName: @"LongId"] lastObject] textValue] length])
{
if (folderType == ActiveSyncContactFolder)
[s appendString: @"<Class xmlns=\"AirSync:\">Contacts</Class>"];
else if (folderType == ActiveSyncEventFolder)
[s appendString: @"<Class xmlns=\"AirSync:\">Calendar</Class>"];
else if (folderType == ActiveSyncTaskFolder)
[s appendString: @"<Class xmlns=\"AirSync:\">Task</Class>"];
[s appendFormat: @"<LongId xmlns=\"Search:\">%@</LongId>", [[(id)[aFetch getElementsByTagName: @"LongId"] lastObject] textValue]];
}
else
{
[s appendFormat: @"<CollectionId xmlns=\"AirSyncBase:\">%@</CollectionId>", collectionId];
[s appendFormat: @"<ServerId xmlns=\"AirSyncBase:\">%@</ServerId>", serverId];
}
[s appendString: @"<Properties>"];
[s appendString: [componentObject activeSyncRepresentationInContext: context]];
[s appendString: @"</Properties>"];
[s appendString: @"</Fetch>"];
}
}
@@ -1746,6 +1864,7 @@ void handle_eas_terminate(int signum)
{
NSString *realCollectionId, *requestId, *easRequestId, *participationStatus, *calendarId;
SOGoAppointmentObject *appointmentObject;
iCalAlarm *alarm = nil;
SOGoMailObject *mailObject;
NSMutableDictionary *uidCache, *folderMetadata;
NSMutableString *s, *nameInCache;
@@ -1843,6 +1962,9 @@ void handle_eas_terminate(int signum)
event = [[calendar events] lastObject];
calendarId = [event uid];
// We take the organizers's alarm to start with
alarm = [event firstSupportedAlarm];
// Fetch the SOGoAppointmentObject
collection = [[context activeUser] personalCalendarFolderInContext: context];
nameInCache = [NSString stringWithFormat: @"vevent/%@", [collection nameInContainer]];
@@ -1863,7 +1985,7 @@ void handle_eas_terminate(int signum)
{
appointmentObject = [[SOGoAppointmentObject alloc] initWithName: [NSString stringWithFormat: @"%@.ics", [event uid]]
inContainer: collection];
[appointmentObject saveComponent: event force: YES];
[appointmentObject saveCalendar: [event parent]];
}
if (uidCache && [calendarId length] > 64)
@@ -1900,10 +2022,10 @@ void handle_eas_terminate(int signum)
participationStatus = @"TENTATIVE";
else
participationStatus = @"DECLINED";
[appointmentObject changeParticipationStatus: participationStatus
withDelegate: nil
alarm: nil];
alarm: alarm];
[s appendString: @"<?xml version=\"1.0\" encoding=\"utf-8\"?>"];
[s appendString: @"<!DOCTYPE ActiveSync PUBLIC \"-//MICROSOFT//DTD ActiveSync//EN\" \"http://www.microsoft.com/\">"];
@@ -2545,7 +2667,7 @@ void handle_eas_terminate(int signum)
[s appendString: @"<?xml version=\"1.0\" encoding=\"utf-8\"?>"];
[s appendString: @"<!DOCTYPE ActiveSync PUBLIC \"-//MICROSOFT//DTD ActiveSync//EN\" \"http://www.microsoft.com/\">"];
[s appendString: @"<Provision xmlns=\"Provision:\">"];
[s appendString: @"<AllowHTMLEmail>1</AllowHTMLEmail>"];
[s appendString: @"<Status>1</Status><Policies><Policy><PolicyType>MS-EAS-Provisioning-WBXML</PolicyType><Status>2</Status></Policy></Policies>"];
[s appendString: @"</Provision>"];
d = [[s dataUsingEncoding: NSUTF8StringEncoding] xml2wbxml];
@@ -2971,7 +3093,7 @@ void handle_eas_terminate(int signum)
andElement = [(id)[theDocumentElement getElementsByTagName: @"And"] lastObject];
if (andElement)
{
EOQualifier *subjectQualifier, *senderQualifier, *fetchQualifier, *notDeleted, *greaterThanQualifier, *orQualifier;
EOQualifier *subjectQualifier, *senderQualifier, *fetchQualifier, *notDeleted, *greaterThanQualifier, *searchQualifier;
NSString *query;
id o;
@@ -2993,12 +3115,16 @@ void handle_eas_terminate(int signum)
}
notDeleted = [EOQualifier qualifierWithQualifierFormat: @"(not (flags = %@))", @"deleted"];
subjectQualifier = [EOQualifier qualifierWithQualifierFormat: [NSString stringWithFormat: @"(%@ doesContain: '%@')", @"subject", query]];
senderQualifier = [EOQualifier qualifierWithQualifierFormat: [NSString stringWithFormat: @"(%@ doesContain: '%@')", @"from", query]];
orQualifier = [[EOOrQualifier alloc] initWithQualifiers: subjectQualifier, senderQualifier, nil];
if ([[SOGoSystemDefaults sharedSystemDefaults] easSearchInBody]) {
searchQualifier = [EOQualifier qualifierWithQualifierFormat: [NSString stringWithFormat: @"(%@ doesContain: '%@')", @"text", query]];
} else {
subjectQualifier = [EOQualifier qualifierWithQualifierFormat: [NSString stringWithFormat: @"(%@ doesContain: '%@')", @"subject", query]];
senderQualifier = [EOQualifier qualifierWithQualifierFormat: [NSString stringWithFormat: @"(%@ doesContain: '%@')", @"from", query]];
searchQualifier = [[EOOrQualifier alloc] initWithQualifiers: subjectQualifier, senderQualifier, nil];
}
fetchQualifier = [[EOAndQualifier alloc] initWithQualifiers: notDeleted, orQualifier, greaterThanQualifier, nil];
fetchQualifier = [[EOAndQualifier alloc] initWithQualifiers: notDeleted, searchQualifier, greaterThanQualifier, nil];
return [fetchQualifier autorelease];
}
@@ -3049,12 +3175,14 @@ void handle_eas_terminate(int signum)
SOGoMailObject *mailObject;
SOGoUserFolder *userFolder;
EOQualifier *qualifier;
NSArray *sortedUIDs;
NSArray *sortedUIDs, *a;
NSMutableString *s;
NSData *d;
SOGoMicrosoftActiveSyncFolderType folderType;
int i, j, total;
int i, j, total, begin, startRange, endRange, maxResults, overallTotal;
overallTotal = 0;
// We build the qualifier and we launch our search operation
qualifier = [self _qualifierFromMailboxSearchQuery: [(id)[theDocumentElement getElementsByTagName: @"Query"] lastObject]];
@@ -3072,12 +3200,23 @@ void handle_eas_terminate(int signum)
[context setObject: @"8" forKey: @"MIMETruncation"];
// We check for the maximum number of results to return.
a = [[[(id)[theDocumentElement getElementsByTagName: @"Range"] lastObject] textValue] componentsSeparatedByString: @"-"];
startRange = [[a objectAtIndex: 0] intValue];
begin = startRange;
endRange = [[a objectAtIndex: 1] intValue];
maxResults = endRange - startRange;
if (maxResults == 0)
maxResults = endRange = 99;
// FIXME: support more than one CollectionId tag + DeepTraversal
folderId = [[(id)[[(id)[theDocumentElement getElementsByTagName: @"Query"] lastObject] getElementsByTagName: @"CollectionId"] lastObject] textValue];
folderIdentifiers = [NSMutableArray array];
// Android 6 will send search requests with no collection ID - so we search in all folders.
if (!folderId)
// Outlook Mobile App sends search requests with CollectionId=0 - We treat this as an all-folder-search.
if (!folderId || [folderId isEqualToString: @"0"])
{
NSArray *foldersInCache;
SOGoCacheGCSObject *o;
@@ -3133,7 +3272,15 @@ void handle_eas_terminate(int signum)
sortOrdering: @"REVERSE ARRIVAL"
threaded: NO];
total = [sortedUIDs count];
for (j = 0; j < total; j++)
overallTotal+=total;
if (total < startRange)
{
begin -= total;
continue;;
}
for (j = begin; j < total && maxResults >= 0; j++)
{
itemId = [[sortedUIDs objectAtIndex: j] stringValue];
mailObject = [currentFolder lookupName: itemId inContext: context acquire: NO];
@@ -3141,18 +3288,23 @@ void handle_eas_terminate(int signum)
if ([mailObject isKindOfClass: [NSException class]])
continue;
maxResults--;
[s appendString: @"<Result xmlns=\"Search:\">"];
[s appendFormat: @"<LongId>%@+%@</LongId>", folderId, itemId];
[s appendFormat: @"<CollectionId xmlns=\"AirSyncBase:\">%@</CollectionId>", folderId];
[s appendString: @"<Properties>"];
[s appendFormat: [mailObject activeSyncRepresentationInContext: context]];
[s appendString: [mailObject activeSyncRepresentationInContext: context]];
[s appendString: @"</Properties>"];
[s appendFormat: @"</Result>"];
}
}
[s appendFormat: @"<Range>0-%d</Range>",(total ? total-1 : 0)];
[s appendFormat: @"<Total>%d</Total>", total];
if (overallTotal < startRange)
overallTotal = 0;
[s appendFormat: @"<Range>%d-%d</Range>",(overallTotal ? startRange : 0), (overallTotal ? endRange - maxResults - 1 : 0)];
[s appendFormat: @"<Total>%d</Total>", overallTotal];
[s appendString: @"</Store>"];
[s appendString: @"</Response>"];
[s appendString: @"</Search>"];
@@ -3630,6 +3782,48 @@ void handle_eas_terminate(int signum)
}
}
if ([(id)[[(id)[theDocumentElement getElementsByTagName: @"UserInformation"] lastObject] getElementsByTagName: @"Get"] lastObject])
{
NSArray *identities;
int i;
identities = [[context activeUser] allIdentities];
[s appendString: @"<UserInformation>"];
[s appendString: @"<Get>"];
if ([[context objectForKey: @"ASProtocolVersion"] floatValue] >= 14.1)
{
[s appendString: @"<Accounts>"];
[s appendString: @"<Account>"];
[s appendFormat: @"<UserDisplayName>%@</UserDisplayName>", [[[identities objectAtIndex: 0] objectForKey: @"fullName"] activeSyncRepresentationInContext: context] ];
}
[s appendString: @"<EmailAddresses>"];
if ([[context objectForKey: @"ASProtocolVersion"] floatValue] >= 14.1)
[s appendFormat: @"<PrimarySmtpAddress>%@</PrimarySmtpAddress>", [[[identities objectAtIndex: 0] objectForKey: @"email"] activeSyncRepresentationInContext: context] ];
else
[s appendFormat: @"<SmtpAddress>%@</SmtpAddress>", [[[identities objectAtIndex: 0] objectForKey: @"email"] activeSyncRepresentationInContext: context] ];
if ([identities count] > 1)
{
for (i = 1; i < [identities count]; i++)
[s appendFormat: @"<SmtpAddress>%@</SmtpAddress>", [[[identities objectAtIndex: i] objectForKey: @"email"] activeSyncRepresentationInContext: context] ];
}
[s appendString: @"</EmailAddresses>"];
if ([[context objectForKey: @"ASProtocolVersion"] floatValue] >= 14.1)
{
[s appendString: @"</Account>"];
[s appendString: @"</Accounts>"];
}
[s appendString: @"</Get>"];
[s appendString: @"</UserInformation>"];
}
[s appendString: @"</Settings>"];
d = [[s dataUsingEncoding: NSUTF8StringEncoding] xml2wbxml];
@@ -3948,6 +4142,8 @@ void handle_eas_terminate(int signum)
[map setObject: [currentAttachment objectForKey: @"mimetype"] forKey: @"content-type"];
[map setObject: [currentAttachment objectForKey: @"encoding"] forKey: @"content-transfer-encoding"];
[map addObject: [NSString stringWithFormat: @"attachment; filename=\"%@\"", [currentAttachment objectForKey: @"filename"]] forKey: @"content-disposition"];
if ([[currentAttachment objectForKey: @"bodyId"] length])
[map setObject: [currentAttachment objectForKey: @"bodyId"] forKey: @"content-id"];
bodyPart = [[[NGMimeBodyPart alloc] initWithHeader: map] autorelease];
fdata = [[NGMimeFileData alloc] initWithBytes:[bodydata bytes] length:[bodydata length]];
+73 -11
View File
@@ -35,6 +35,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#import <Foundation/NSString.h>
#import <Foundation/NSCharacterSet.h>
#import <Foundation/NSTimeZone.h>
#import <Foundation/NSValue.h>
#import <NGCards/iCalCalendar.h>
#import <NGCards/iCalDateTime.h>
@@ -257,6 +258,38 @@ struct GlobalObjectId {
return rc;
}
//
//
//
- (NSString *) _personalNameFrom: (NSArray *) enveloppeAddresses
{
NGImap4EnvelopeAddress *address;
NSString *email, *rc, *name;
NSMutableArray *addresses;
int i, max;
rc = nil;
max = [enveloppeAddresses count];
if (max > 0)
{
addresses = [NSMutableArray array];
for (i = 0; i < max; i++)
{
address = [enveloppeAddresses objectAtIndex: i];
name = [address personalName];
email = [NSString stringWithFormat: @"%@", (name ? name : [address baseEMail])];
if (email)
[addresses addObject: email];
}
rc = [addresses componentsJoinedByString: @";"];
}
return rc;
}
//
//
//
@@ -728,7 +761,19 @@ struct GlobalObjectId {
break;
}
return [theContent substringToIndex: i];
// If we didn't find a "space" character search again for &# to avoid
// truncating the content in the middle of a XML entity
if (i < 0)
{
for (i = len-2 ; i >= 0; i--)
{
if ([theContent characterAtIndex: i] == '&' && [theContent characterAtIndex: i+1] == '#')
break;
}
}
if (i >= 0)
return [theContent substringToIndex: i];
}
*wasTruncated = 0;
@@ -847,7 +892,13 @@ struct GlobalObjectId {
// If there are multiple e-mail addresses, they are separated by commas."
value = [self _emailAddressesFrom: [[self envelope] to]];
if (value)
[s appendFormat: @"<To xmlns=\"Email:\">%@</To>", [value activeSyncRepresentationInContext: context]];
{
[s appendFormat: @"<To xmlns=\"Email:\">%@</To>", [value activeSyncRepresentationInContext: context]];
// DisplayTo - If there are multiple display names, they are separated by semi-colons.
value = [self _personalNameFrom: [[self envelope] to]];
if (value)
[s appendFormat: @"<DisplayTo xmlns=\"Email:\">%@</DisplayTo>", [value activeSyncRepresentationInContext: context]];
}
// From
value = [self _emailAddressesFrom: [[self envelope] from]];
@@ -866,10 +917,9 @@ struct GlobalObjectId {
value = [self date];
if (value)
[s appendFormat: @"<DateReceived xmlns=\"Email:\">%@</DateReceived>", [value activeSyncRepresentationInContext: context]];
else
[s appendFormat: @"<DateReceived xmlns=\"Email:\">%@</DateReceived>", [[NSDate date] activeSyncRepresentationInContext: context]];
// DisplayTo
[s appendFormat: @"<DisplayTo xmlns=\"Email:\">%@</DisplayTo>", [[context activeUser] login]];
// Cc - same syntax as the To field
value = [self _emailAddressesFrom: [[self envelope] cc]];
if (value)
@@ -970,7 +1020,7 @@ struct GlobalObjectId {
if ([event startDate])
[s appendFormat: @"<StartTime xmlns=\"Email:\">%@</StartTime>", [[event startDate] activeSyncRepresentationInContext: context]];
if ([event timeStampAsDate])
if ([event timeStampAsDate] && [[event timeStampAsDate] dayOfMonth] > 0 && [[event timeStampAsDate] monthOfYear] > 0)
[s appendFormat: @"<DTStamp xmlns=\"Email:\">%@</DTStamp>", [[event timeStampAsDate] activeSyncRepresentationInContext: context]];
else if ([event created])
[s appendFormat: @"<DTStamp xmlns=\"Email:\">%@</DTStamp>", [[event created] activeSyncRepresentationInContext: context]];
@@ -1216,10 +1266,22 @@ struct GlobalObjectId {
else
[s appendFormat: @"<Type>%d</Type>", preferredBodyType];
[s appendFormat: @"<Truncated>%d</Truncated>", truncated];
[s appendFormat: @"<Preview></Preview>"];
[s appendFormat: @"<Data>%@</Data>", content];
[s appendFormat: @"<EstimatedDataSize>%d</EstimatedDataSize>", len];
if ([[context objectForKey: @"MultiPartsLen"] isKindOfClass: [NSArray class]])
{
[[context objectForKey: @"MultiPartsLen"] addObject: [NSNumber numberWithInteger: [sanitizedData length]]];
[[context objectForKey: @"MultiParts"] appendData: sanitizedData];
[s appendFormat: @"<EstimatedDataSize>%d</EstimatedDataSize>", len];
[s appendFormat: @"<Part xmlns=\"ItemOperations:\">%d</Part>", [[context objectForKey: @"MultiPartsLen"] count]];
}
else
{
[s appendFormat: @"<Truncated>%d</Truncated>", truncated];
[s appendFormat: @"<Preview></Preview>"];
[s appendFormat: @"<Data>%@</Data>", content];
[s appendFormat: @"<EstimatedDataSize>%d</EstimatedDataSize>", len];
}
[s appendString: @"</Body>"];
}
}
@@ -1260,7 +1322,7 @@ struct GlobalObjectId {
{
if ([[value objectForKey: @"bodyId"] length])
{
[s appendFormat: @"<ContentId>%@</ContentId>", [[value objectForKey: @"bodyId"] activeSyncRepresentationInContext: context]];
[s appendFormat: @"<ContentId>%@</ContentId>", [[[value objectForKey: @"bodyId"] stringByTrimmingCharactersInSet: [NSCharacterSet characterSetWithCharactersInString: @"<>"]] activeSyncRepresentationInContext: context]];
[s appendFormat: @"<IsInline>%d</IsInline>", 1];
}
+29 -5
View File
@@ -187,7 +187,10 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
attendee = [attendees objectAtIndex: i];
[s appendFormat: @"<Attendee_Email xmlns=\"Calendar:\">%@</Attendee_Email>", [[attendee rfc822Email] activeSyncRepresentationInContext: context]];
[s appendFormat: @"<Attendee_Name xmlns=\"Calendar:\">%@</Attendee_Name>", [[attendee cn] activeSyncRepresentationInContext: context]];
if ([[attendee cn] length])
[s appendFormat: @"<Attendee_Name xmlns=\"Calendar:\">%@</Attendee_Name>", [[attendee cn] activeSyncRepresentationInContext: context]];
else
[s appendFormat: @"<Attendee_Name xmlns=\"Calendar:\">%@</Attendee_Name>", [[attendee rfc822Email] activeSyncRepresentationInContext: context]];
attendee_status = [self _attendeeStatus: attendee];
@@ -905,8 +908,15 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
component: (id) component
{
NSString *status;
iCalAlarm *alarm;
iCalPerson *attendee;
id o;
attendee = [self userAsAttendee: [context activeUser]];
status = [attendee partStat];
alarm = nil;
// See: https://msdn.microsoft.com/en-us/library/ee202290(v=exchg.80).aspx
//
// 0 == Free
@@ -925,11 +935,25 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
else
status = @"TENTATIVE";
// There's no delegate in EAS
[(SOGoAppointmentObject *) component changeParticipationStatus: status
withDelegate: nil
alarm: nil];
}
if ((o = [theValues objectForKey: @"Reminder"]) && [o length])
{
if ([self hasAlarms])
alarm = [[self firstSupportedAlarm] mutableCopy];
else
alarm = [[iCalAlarm alloc] init];
[alarm takeActiveSyncValues: theValues inContext: context];
}
// There's no delegate in EAS
[(SOGoAppointmentObject *) component changeParticipationStatus: status
withDelegate: nil
alarm: alarm];
RELEASE(alarm);
}
@end
+22 -4
View File
@@ -78,10 +78,28 @@ struct SYSTEMTIME {
tzData->wDay = ([mask firstOccurrence] == -1) ? 5 : [mask firstOccurrence];
dateValue = [self startDate];
tzData->wHour = [dateValue hourOfDay];
tzData->wMinute = [dateValue minuteOfHour];
tzData->wSecond = [dateValue secondOfMinute];
tzData->wMilliseconds = 0;
if (![dateValue hourOfDay])
{
if ([mask firstDay]-1 < 0)
tzData->wDayOfWeek = 6;
else
tzData->wDayOfWeek = [mask firstDay]-1;
tzData->wHour = 23;
tzData->wMinute = 59;
tzData->wSecond = 59;
tzData->wMilliseconds = 999;
}
else
{
tzData->wDayOfWeek = [mask firstDay];
tzData->wHour = [dateValue hourOfDay];
tzData->wMinute = [dateValue minuteOfHour];
tzData->wSecond = [dateValue secondOfMinute];
tzData->wMilliseconds = 0;
}
}
}
+1
View File
@@ -42,6 +42,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#import <NGCards/iCalCalendar.h>
#import <NGCards/iCalDateTime.h>
#import <NGCards/iCalTimeZone.h>
#import <NGCards/iCalTrigger.h>
#import <Appointments/iCalEntityObject+SOGo.h>
+1 -1
View File
@@ -28,7 +28,7 @@
ProxyPass /SOGo http://127.0.0.1:20000/SOGo interpolate
ProxyPass / http://127.0.0.1:20000/SOGo/dav/ interpolate
<Location />
<IfVersion < 2.4>
<IfVersion < 2.4>
Order deny,allow
Allow from all
</IfVersion>
+7 -4
View File
@@ -6,7 +6,7 @@ Alias /SOGo/WebServerResources/ \
<Directory /usr/lib/GNUstep/SOGo/>
AllowOverride None
<IfVersion < 2.4>
<IfVersion < 2.4>
Order deny,allow
Allow from all
</IfVersion>
@@ -22,6 +22,9 @@ Alias /SOGo/WebServerResources/ \
</IfModule>
</Directory>
# Don't send the Referer header for cross-origin requests
Header always set Referrer-Policy "same-origin"
## Uncomment the following to enable proxy-side authentication, you will then
## need to set the "SOGoTrustProxyAuthentication" SOGo user default to YES and
## adjust the "x-webobjects-remote-user" proxy header in the "Proxy" section
@@ -71,10 +74,11 @@ ProxyPreserveHost On
ProxyPass /SOGo http://127.0.0.1:20000/SOGo retry=0
<Proxy http://127.0.0.1:20000/SOGo>
## adjust the following to your configuration
## and do not forget to enable the headers module
## Adjust the following to your configuration
## and make sure to enable the headers module
<IfModule headers_module>
RequestHeader set "x-webobjects-server-port" "443"
SetEnvIf Host (.*) HTTP_HOST=$1
RequestHeader set "x-webobjects-server-name" "%{HTTP_HOST}e" env=HTTP_HOST
RequestHeader set "x-webobjects-server-url" "https://%{HTTP_HOST}e" env=HTTP_HOST
@@ -98,4 +102,3 @@ ProxyPass /SOGo http://127.0.0.1:20000/SOGo retry=0
RewriteRule ^/.well-known/caldav/?$ /SOGo/dav [R=301]
RewriteRule ^/.well-known/carddav/?$ /SOGo/dav [R=301]
</IfModule>
-1
View File
@@ -1 +0,0 @@
{\rtf1\adeflang1025\ansi\ansicpg1252\uc1\adeff0\deff0\stshfdbch0\stshfloch37\stshfhich37\stshfbi37\deflang3082\deflangfe3082\themelang3082\themelangfe0\themelangcs0{\fonttbl{\f0\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\f0\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\f37\fbidi \fswiss\fcharset0\fprq2{\*\panose 020f0502020204030204}Calibri;}{\f31500\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\f31501\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\f31502\fbidi \froman\fcharset0\fprq2{\*\panose 02040503050406030204}Cambria;}{\f31503\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\f31504\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\f31505\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\f31506\fbidi \fswiss\fcharset0\fprq2{\*\panose 020f0502020204030204}Calibri;}{\f31507\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\f39\fbidi \froman\fcharset238\fprq2 Times New Roman CE;}{\f40\fbidi \froman\fcharset204\fprq2 Times New Roman Cyr;}{\f42\fbidi \froman\fcharset161\fprq2 Times New Roman Greek;}{\f43\fbidi \froman\fcharset162\fprq2 Times New Roman Tur;}{\f44\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);}{\f45\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);}{\f46\fbidi \froman\fcharset186\fprq2 Times New Roman Baltic;}{\f47\fbidi \froman\fcharset163\fprq2 Times New Roman (Vietnamese);}{\f39\fbidi \froman\fcharset238\fprq2 Times New Roman CE;}{\f40\fbidi \froman\fcharset204\fprq2 Times New Roman Cyr;}{\f42\fbidi \froman\fcharset161\fprq2 Times New Roman Greek;}{\f43\fbidi \froman\fcharset162\fprq2 Times New Roman Tur;}{\f44\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);}{\f45\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);}{\f46\fbidi \froman\fcharset186\fprq2 Times New Roman Baltic;}{\f47\fbidi \froman\fcharset163\fprq2 Times New Roman (Vietnamese);}{\f409\fbidi \fswiss\fcharset238\fprq2 Calibri CE;}{\f410\fbidi \fswiss\fcharset204\fprq2 Calibri Cyr;}{\f412\fbidi \fswiss\fcharset161\fprq2 Calibri Greek;}{\f413\fbidi \fswiss\fcharset162\fprq2 Calibri Tur;}{\f416\fbidi \fswiss\fcharset186\fprq2 Calibri Baltic;}{\f417\fbidi \fswiss\fcharset163\fprq2 Calibri (Vietnamese);}{\f31508\fbidi \froman\fcharset238\fprq2 Times New Roman CE;}{\f31509\fbidi \froman\fcharset204\fprq2 Times New Roman Cyr;}{\f31511\fbidi \froman\fcharset161\fprq2 Times New Roman Greek;}{\f31512\fbidi \froman\fcharset162\fprq2 Times New Roman Tur;}{\f31513\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);}{\f31514\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);}{\f31515\fbidi \froman\fcharset186\fprq2 Times New Roman Baltic;}{\f31516\fbidi \froman\fcharset163\fprq2 Times New Roman (Vietnamese);}{\f31518\fbidi \froman\fcharset238\fprq2 Times New Roman CE;}{\f31519\fbidi \froman\fcharset204\fprq2 Times New Roman Cyr;}{\f31521\fbidi \froman\fcharset161\fprq2 Times New Roman Greek;}{\f31522\fbidi \froman\fcharset162\fprq2 Times New Roman Tur;}{\f31523\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);}{\f31524\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);}{\f31525\fbidi \froman\fcharset186\fprq2 Times New Roman Baltic;}{\f31526\fbidi \froman\fcharset163\fprq2 Times New Roman (Vietnamese);}{\f31528\fbidi \froman\fcharset238\fprq2 Cambria CE;}{\f31529\fbidi \froman\fcharset204\fprq2 Cambria Cyr;}{\f31531\fbidi \froman\fcharset161\fprq2 Cambria Greek;}{\f31532\fbidi \froman\fcharset162\fprq2 Cambria Tur;}{\f31535\fbidi \froman\fcharset186\fprq2 Cambria Baltic;}{\f31536\fbidi \froman\fcharset163\fprq2 Cambria (Vietnamese);}{\f31538\fbidi \froman\fcharset238\fprq2 Times New Roman CE;}{\f31539\fbidi \froman\fcharset204\fprq2 Times New Roman Cyr;}{\f31541\fbidi \froman\fcharset161\fprq2 Times New Roman Greek;}{\f31542\fbidi \froman\fcharset162\fprq2 Times New Roman Tur;}{\f31543\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);}{\f31544\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);}{\f31545\fbidi \froman\fcharset186\fprq2 Times New Roman Baltic;}{\f31546\fbidi \froman\fcharset163\fprq2 Times New Roman (Vietnamese);}{\f31548\fbidi \froman\fcharset238\fprq2 Times New Roman CE;}{\f31549\fbidi \froman\fcharset204\fprq2 Times New Roman Cyr;}{\f31551\fbidi \froman\fcharset161\fprq2 Times New Roman Greek;}{\f31552\fbidi \froman\fcharset162\fprq2 Times New Roman Tur;}{\f31553\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);}{\f31554\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);}{\f31555\fbidi \froman\fcharset186\fprq2 Times New Roman Baltic;}{\f31556\fbidi \froman\fcharset163\fprq2 Times New Roman (Vietnamese);}{\f31558\fbidi \froman\fcharset238\fprq2 Times New Roman CE;}{\f31559\fbidi \froman\fcharset204\fprq2 Times New Roman Cyr;}{\f31561\fbidi \froman\fcharset161\fprq2 Times New RoLine truncated
-1
View File
@@ -1 +0,0 @@
{\rtf1\adeflang1025\ansi\ansicpg1251\uc1\adeff0\deff0\stshfdbch0\stshfloch37\stshfhich37\stshfbi37\deflang1049\deflangfe1049\themelang1033\themelangfe0\themelangcs0{\fonttbl{\f0\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\f0\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\f37\fbidi \fswiss\fcharset0\fprq2{\*\panose 020f0502020204030204}Calibri;}{\f31500\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\f31501\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\f31502\fbidi \froman\fcharset0\fprq2{\*\panose 02040503050406030204}Cambria;}{\f31503\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\f31504\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\f31505\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\f31506\fbidi \fswiss\fcharset0\fprq2{\*\panose 020f0502020204030204}Calibri;}{\f31507\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\f179\fbidi \froman\fcharset238\fprq2 Times New Roman CE;}{\f180\fbidi \froman\fcharset204\fprq2 Times New Roman Cyr;}{\f182\fbidi \froman\fcharset161\fprq2 Times New Roman Greek;}{\f183\fbidi \froman\fcharset162\fprq2 Times New Roman Tur;}{\f184\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);}{\f185\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);}{\f186\fbidi \froman\fcharset186\fprq2 Times New Roman Baltic;}{\f187\fbidi \froman\fcharset163\fprq2 Times New Roman (Vietnamese);}{\f179\fbidi \froman\fcharset238\fprq2 Times New Roman CE;}{\f180\fbidi \froman\fcharset204\fprq2 Times New Roman Cyr;}{\f182\fbidi \froman\fcharset161\fprq2 Times New Roman Greek;}{\f183\fbidi \froman\fcharset162\fprq2 Times New Roman Tur;}{\f184\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);}{\f185\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);}{\f186\fbidi \froman\fcharset186\fprq2 Times New Roman Baltic;}{\f187\fbidi \froman\fcharset163\fprq2 Times New Roman (Vietnamese);}{\f549\fbidi \fswiss\fcharset238\fprq2 Calibri CE;}{\f550\fbidi \fswiss\fcharset204\fprq2 Calibri Cyr;}{\f552\fbidi \fswiss\fcharset161\fprq2 Calibri Greek;}{\f553\fbidi \fswiss\fcharset162\fprq2 Calibri Tur;}{\f556\fbidi \fswiss\fcharset186\fprq2 Calibri Baltic;}{\f557\fbidi \fswiss\fcharset163\fprq2 Calibri (Vietnamese);}{\f31508\fbidi \froman\fcharset238\fprq2 Times New Roman CE;}{\f31509\fbidi \froman\fcharset204\fprq2 Times New Roman Cyr;}{\f31511\fbidi \froman\fcharset161\fprq2 Times New Roman Greek;}{\f31512\fbidi \froman\fcharset162\fprq2 Times New Roman Tur;}{\f31513\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);}{\f31514\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);}{\f31515\fbidi \froman\fcharset186\fprq2 Times New Roman Baltic;}{\f31516\fbidi \froman\fcharset163\fprq2 Times New Roman (Vietnamese);}{\f31518\fbidi \froman\fcharset238\fprq2 Times New Roman CE;}{\f31519\fbidi \froman\fcharset204\fprq2 Times New Roman Cyr;}{\f31521\fbidi \froman\fcharset161\fprq2 Times New Roman Greek;}{\f31522\fbidi \froman\fcharset162\fprq2 Times New Roman Tur;}{\f31523\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);}{\f31524\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);}{\f31525\fbidi \froman\fcharset186\fprq2 Times New Roman Baltic;}{\f31526\fbidi \froman\fcharset163\fprq2 Times New Roman (Vietnamese);}{\f31528\fbidi \froman\fcharset238\fprq2 Cambria CE;}{\f31529\fbidi \froman\fcharset204\fprq2 Cambria Cyr;}{\f31531\fbidi \froman\fcharset161\fprq2 Cambria Greek;}{\f31532\fbidi \froman\fcharset162\fprq2 Cambria Tur;}{\f31535\fbidi \froman\fcharset186\fprq2 Cambria Baltic;}{\f31536\fbidi \froman\fcharset163\fprq2 Cambria (Vietnamese);}{\f31538\fbidi \froman\fcharset238\fprq2 Times New Roman CE;}{\f31539\fbidi \froman\fcharset204\fprq2 Times New Roman Cyr;}{\f31541\fbidi \froman\fcharset161\fprq2 Times New Roman Greek;}{\f31542\fbidi \froman\fcharset162\fprq2 Times New Roman Tur;}{\f31543\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);}{\f31544\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);}{\f31545\fbidi \froman\fcharset186\fprq2 Times New Roman Baltic;}{\f31546\fbidi \froman\fcharset163\fprq2 Times New Roman (Vietnamese);}{\f31548\fbidi \froman\fcharset238\fprq2 Times New Roman CE;}{\f31549\fbidi \froman\fcharset204\fprq2 Times New Roman Cyr;}{\f31551\fbidi \froman\fcharset161\fprq2 Times New Roman Greek;}{\f31552\fbidi \froman\fcharset162\fprq2 Times New Roman Tur;}{\f31553\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);}{\f31554\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);}{\f31555\fbidi \froman\fcharset186\fprq2 Times New Roman Baltic;}{\f31556\fbidi \froman\fcharset163\fprq2 Times New Roman (Vietnamese);}{\f31558\fbidi \froman\fcharset238\fprq2 Times New Roman CE;}{\f31559\fbidi \froman\fcharset204\fprq2 Times New Roman Cyr;}{\f31561\fbidi \froman\fcharset161\fpLine truncated
-6
View File
@@ -1,6 +0,0 @@
{\rtf1\adeflang1025\ansi\ansicpg1252\uc1\adeff31507\deff0\stshfdbch31506\stshfloch31506\stshfhich31506\stshfbi31507\deflang3082\deflangfe3082\themelang3082\themelangfe0\themelangcs0{\fonttbl{\f0\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\f0\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\f37\fbidi \fswiss\fcharset0\fprq2{\*\panose 020f0502020204030204}Calibri;}{\f31500\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\f31501\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\f31502\fbidi \froman\fcharset0\fprq2{\*\panose 02040503050406030204}Cambria;}{\f31503\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\f31504\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\f31505\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\f31506\fbidi \fswiss\fcharset0\fprq2{\*\panose 020f0502020204030204}Calibri;}{\f31507\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\f180\fbidi \froman\fcharset238\fprq2 Times New Roman CE;}{\f181\fbidi \froman\fcharset204\fprq2 Times New Roman Cyr;}{\f183\fbidi \froman\fcharset161\fprq2 Times New Roman Greek;}{\f184\fbidi \froman\fcharset162\fprq2 Times New Roman Tur;}{\f185\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);}{\f186\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);}{\f187\fbidi \froman\fcharset186\fprq2 Times New Roman Baltic;}{\f188\fbidi \froman\fcharset163\fprq2 Times New Roman (Vietnamese);}{\f180\fbidi \froman\fcharset238\fprq2 Times New Roman CE;}{\f181\fbidi \froman\fcharset204\fprq2 Times New Roman Cyr;}{\f183\fbidi \froman\fcharset161\fprq2 Times New Roman Greek;}{\f184\fbidi \froman\fcharset162\fprq2 Times New Roman Tur;}{\f185\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);}{\f186\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);}{\f187\fbidi \froman\fcharset186\fprq2 Times New Roman Baltic;}{\f188\fbidi \froman\fcharset163\fprq2 Times New Roman (Vietnamese);}{\f550\fbidi \fswiss\fcharset238\fprq2 Calibri CE;}{\f551\fbidi \fswiss\fcharset204\fprq2 Calibri Cyr;}{\f553\fbidi \fswiss\fcharset161\fprq2 Calibri Greek;}{\f554\fbidi \fswiss\fcharset162\fprq2 Calibri Tur;}{\f557\fbidi \fswiss\fcharset186\fprq2 Calibri Baltic;}{\f558\fbidi \fswiss\fcharset163\fprq2 Calibri (Vietnamese);}{\f31508\fbidi \froman\fcharset238\fprq2 Times New Roman CE;}{\f31509\fbidi \froman\fcharset204\fprq2 Times New Roman Cyr;}{\f31511\fbidi \froman\fcharset161\fprq2 Times New Roman Greek;}{\f31512\fbidi \froman\fcharset162\fprq2 Times New Roman Tur;}{\f31513\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);}{\f31514\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);}{\f31515\fbidi \froman\fcharset186\fprq2 Times New Roman Baltic;}{\f31516\fbidi \froman\fcharset163\fprq2 Times New Roman (Vietnamese);}{\f31518\fbidi \froman\fcharset238\fprq2 Times New Roman CE;}{\f31519\fbidi \froman\fcharset204\fprq2 Times New Roman Cyr;}{\f31521\fbidi \froman\fcharset161\fprq2 Times New Roman Greek;}{\f31522\fbidi \froman\fcharset162\fprq2 Times New Roman Tur;}{\f31523\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);}{\f31524\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);}{\f31525\fbidi \froman\fcharset186\fprq2 Times New Roman Baltic;}{\f31526\fbidi \froman\fcharset163\fprq2 Times New Roman (Vietnamese);}{\f31528\fbidi \froman\fcharset238\fprq2 Cambria CE;}{\f31529\fbidi \froman\fcharset204\fprq2 Cambria Cyr;}{\f31531\fbidi \froman\fcharset161\fprq2 Cambria Greek;}{\f31532\fbidi \froman\fcharset162\fprq2 Cambria Tur;}{\f31535\fbidi \froman\fcharset186\fprq2 Cambria Baltic;}{\f31536\fbidi \froman\fcharset163\fprq2 Cambria (Vietnamese);}{\f31538\fbidi \froman\fcharset238\fprq2 Times New Roman CE;}{\f31539\fbidi \froman\fcharset204\fprq2 Times New Roman Cyr;}{\f31541\fbidi \froman\fcharset161\fprq2 Times New Roman Greek;}{\f31542\fbidi \froman\fcharset162\fprq2 Times New Roman Tur;}{\f31543\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);}{\f31544\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);}{\f31545\fbidi \froman\fcharset186\fprq2 Times New Roman Baltic;}{\f31546\fbidi \froman\fcharset163\fprq2 Times New Roman (Vietnamese);}{\f31548\fbidi \froman\fcharset238\fprq2 Times New Roman CE;}{\f31549\fbidi \froman\fcharset204\fprq2 Times New Roman Cyr;}{\f31551\fbidi \froman\fcharset161\fprq2 Times New Roman Greek;}{\f31552\fbidi \froman\fcharset162\fprq2 Times New Roman Tur;}{\f31553\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);}{\f31554\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);}{\f31555\fbidi \froman\fcharset186\fprq2 Times New Roman Baltic;}{\f31556\fbidi \froman\fcharset163\fprq2 Times New Roman (Vietnamese);}{\f31558\fbidi \froman\fcharset238\fprq2 Times New Roman CE;}{\f31559\fbidi \froman\fcharset204\fprq2 Times New Roman Cyr;}{\f31561\fbidi \fromLine truncated
{\rtlch\fcs1 \af31507 \ltrch\fcs0 \cf0\insrsid12347655 x\341x\351x\372x\355x\363x\361x}
{\rtlch\fcs1 \af31507 \ltrch\fcs0 \cf0\insrsid12347655 S\~S\-S\_S\\S}
{\rtlch\fcs1 \af31507 \ltrch\fcs0 \cf0\insrsid12347655 U\u-2U\u345U}
{\rtlch\fcs1 \af31507 \ltrch\fcs0 \cf0\insrsid12347655\charrsid12347655 \r\n\par }}}
-1
View File
@@ -1 +0,0 @@
{\rtf1\adeflang1025\ansi\ansicpg1252\uc1\adeff0\deff0\stshfdbch0\stshfloch37\stshfhich37\stshfbi37\deflang3082\deflangfe3082\themelang3082\themelangfe0\themelangcs0{\fonttbl{\f0\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\f0\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\f37\fbidi \fswiss\fcharset0\fprq2{\*\panose 020f0502020204030204}Calibri;}{\f31500\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\f31501\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\f31502\fbidi \froman\fcharset0\fprq2{\*\panose 02040503050406030204}Cambria;}{\f31503\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\f31504\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\f31505\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\f31506\fbidi \fswiss\fcharset0\fprq2{\*\panose 020f0502020204030204}Calibri;}{\f31507\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\f39\fbidi \froman\fcharset238\fprq2 Times New Roman CE;}{\f40\fbidi \froman\fcharset204\fprq2 Times New Roman Cyr;}{\f42\fbidi \froman\fcharset161\fprq2 Times New Roman Greek;}{\f43\fbidi \froman\fcharset162\fprq2 Times New Roman Tur;}{\f44\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);}{\f45\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);}{\f46\fbidi \froman\fcharset186\fprq2 Times New Roman Baltic;}{\f47\fbidi \froman\fcharset163\fprq2 Times New Roman (Vietnamese);}{\f39\fbidi \froman\fcharset238\fprq2 Times New Roman CE;}{\f40\fbidi \froman\fcharset204\fprq2 Times New Roman Cyr;}{\f42\fbidi \froman\fcharset161\fprq2 Times New Roman Greek;}{\f43\fbidi \froman\fcharset162\fprq2 Times New Roman Tur;}{\f44\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);}{\f45\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);}{\f46\fbidi \froman\fcharset186\fprq2 Times New Roman Baltic;}{\f47\fbidi \froman\fcharset163\fprq2 Times New Roman (Vietnamese);}{\f409\fbidi \fswiss\fcharset238\fprq2 Calibri CE;}{\f410\fbidi \fswiss\fcharset204\fprq2 Calibri Cyr;}{\f412\fbidi \fswiss\fcharset161\fprq2 Calibri Greek;}{\f413\fbidi \fswiss\fcharset162\fprq2 Calibri Tur;}{\f416\fbidi \fswiss\fcharset186\fprq2 Calibri Baltic;}{\f417\fbidi \fswiss\fcharset163\fprq2 Calibri (Vietnamese);}{\f31508\fbidi \froman\fcharset238\fprq2 Times New Roman CE;}{\f31509\fbidi \froman\fcharset204\fprq2 Times New Roman Cyr;}{\f31511\fbidi \froman\fcharset161\fprq2 Times New Roman Greek;}{\f31512\fbidi \froman\fcharset162\fprq2 Times New Roman Tur;}{\f31513\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);}{\f31514\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);}{\f31515\fbidi \froman\fcharset186\fprq2 Times New Roman Baltic;}{\f31516\fbidi \froman\fcharset163\fprq2 Times New Roman (Vietnamese);}{\f31518\fbidi \froman\fcharset238\fprq2 Times New Roman CE;}{\f31519\fbidi \froman\fcharset204\fprq2 Times New Roman Cyr;}{\f31521\fbidi \froman\fcharset161\fprq2 Times New Roman Greek;}{\f31522\fbidi \froman\fcharset162\fprq2 Times New Roman Tur;}{\f31523\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);}{\f31524\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);}{\f31525\fbidi \froman\fcharset186\fprq2 Times New Roman Baltic;}{\f31526\fbidi \froman\fcharset163\fprq2 Times New Roman (Vietnamese);}{\f31528\fbidi \froman\fcharset238\fprq2 Cambria CE;}{\f31529\fbidi \froman\fcharset204\fprq2 Cambria Cyr;}{\f31531\fbidi \froman\fcharset161\fprq2 Cambria Greek;}{\f31532\fbidi \froman\fcharset162\fprq2 Cambria Tur;}{\f31535\fbidi \froman\fcharset186\fprq2 Cambria Baltic;}{\f31536\fbidi \froman\fcharset163\fprq2 Cambria (Vietnamese);}{\f31538\fbidi \froman\fcharset238\fprq2 Times New Roman CE;}{\f31539\fbidi \froman\fcharset204\fprq2 Times New Roman Cyr;}{\f31541\fbidi \froman\fcharset161\fprq2 Times New Roman Greek;}{\f31542\fbidi \froman\fcharset162\fprq2 Times New Roman Tur;}{\f31543\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);}{\f31544\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);}{\f31545\fbidi \froman\fcharset186\fprq2 Times New Roman Baltic;}{\f31546\fbidi \froman\fcharset163\fprq2 Times New Roman (Vietnamese);}{\f31548\fbidi \froman\fcharset238\fprq2 Times New Roman CE;}{\f31549\fbidi \froman\fcharset204\fprq2 Times New Roman Cyr;}{\f31551\fbidi \froman\fcharset161\fprq2 Times New Roman Greek;}{\f31552\fbidi \froman\fcharset162\fprq2 Times New Roman Tur;}{\f31553\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);}{\f31554\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);}{\f31555\fbidi \froman\fcharset186\fprq2 Times New Roman Baltic;}{\f31556\fbidi \froman\fcharset163\fprq2 Times New Roman (Vietnamese);}{\f31558\fbidi \froman\fcharset238\fprq2 Times New Roman CE;}{\f31559\fbidi \froman\fcharset204\fprq2 Times New Roman Cyr;}{\f31561\fbidi \froman\fcharset161\fprq2 Times New RoLine truncated
-1
View File
@@ -1 +0,0 @@
{\rtf1\adeflang1025\ansi\ansicpg1252\uc1\adeff31507\deff0\stshfdbch31506\stshfloch31506\stshfhich31506\stshfbi31507\deflang3082\deflangfe3082\themelang3082\themelangfe0\themelangcs0{\fonttbl{\f0\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\f0\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\f37\fbidi \fswiss\fcharset0\fprq2{\*\panose 020f0502020204030204}Calibri;}{\f31500\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\f31501\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\f31502\fbidi \froman\fcharset0\fprq2{\*\panose 02040503050406030204}Cambria;}{\f31503\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\f31504\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\f31505\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\f31506\fbidi \fswiss\fcharset0\fprq2{\*\panose 020f0502020204030204}Calibri;}{\f31507\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\f40\fbidi \froman\fcharset238\fprq2 Times New Roman CE;}{\f41\fbidi \froman\fcharset204\fprq2 Times New Roman Cyr;}{\f43\fbidi \froman\fcharset161\fprq2 Times New Roman Greek;}{\f44\fbidi \froman\fcharset162\fprq2 Times New Roman Tur;}{\f45\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);}{\f46\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);}{\f47\fbidi \froman\fcharset186\fprq2 Times New Roman Baltic;}{\f48\fbidi \froman\fcharset163\fprq2 Times New Roman (Vietnamese);}{\f40\fbidi \froman\fcharset238\fprq2 Times New Roman CE;}{\f41\fbidi \froman\fcharset204\fprq2 Times New Roman Cyr;}{\f43\fbidi \froman\fcharset161\fprq2 Times New Roman Greek;}{\f44\fbidi \froman\fcharset162\fprq2 Times New Roman Tur;}{\f45\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);}{\f46\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);}{\f47\fbidi \froman\fcharset186\fprq2 Times New Roman Baltic;}{\f48\fbidi \froman\fcharset163\fprq2 Times New Roman (Vietnamese);}{\f410\fbidi \fswiss\fcharset238\fprq2 Calibri CE;}{\f411\fbidi \fswiss\fcharset204\fprq2 Calibri Cyr;}{\f413\fbidi \fswiss\fcharset161\fprq2 Calibri Greek;}{\f414\fbidi \fswiss\fcharset162\fprq2 Calibri Tur;}{\f417\fbidi \fswiss\fcharset186\fprq2 Calibri Baltic;}{\f418\fbidi \fswiss\fcharset163\fprq2 Calibri (Vietnamese);}{\f31508\fbidi \froman\fcharset238\fprq2 Times New Roman CE;}{\f31509\fbidi \froman\fcharset204\fprq2 Times New Roman Cyr;}{\f31511\fbidi \froman\fcharset161\fprq2 Times New Roman Greek;}{\f31512\fbidi \froman\fcharset162\fprq2 Times New Roman Tur;}{\f31513\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);}{\f31514\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);}{\f31515\fbidi \froman\fcharset186\fprq2 Times New Roman Baltic;}{\f31516\fbidi \froman\fcharset163\fprq2 Times New Roman (Vietnamese);}{\f31518\fbidi \froman\fcharset238\fprq2 Times New Roman CE;}{\f31519\fbidi \froman\fcharset204\fprq2 Times New Roman Cyr;}{\f31521\fbidi \froman\fcharset161\fprq2 Times New Roman Greek;}{\f31522\fbidi \froman\fcharset162\fprq2 Times New Roman Tur;}{\f31523\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);}{\f31524\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);}{\f31525\fbidi \froman\fcharset186\fprq2 Times New Roman Baltic;}{\f31526\fbidi \froman\fcharset163\fprq2 Times New Roman (Vietnamese);}{\f31528\fbidi \froman\fcharset238\fprq2 Cambria CE;}{\f31529\fbidi \froman\fcharset204\fprq2 Cambria Cyr;}{\f31531\fbidi \froman\fcharset161\fprq2 Cambria Greek;}{\f31532\fbidi \froman\fcharset162\fprq2 Cambria Tur;}{\f31535\fbidi \froman\fcharset186\fprq2 Cambria Baltic;}{\f31536\fbidi \froman\fcharset163\fprq2 Cambria (Vietnamese);}{\f31538\fbidi \froman\fcharset238\fprq2 Times New Roman CE;}{\f31539\fbidi \froman\fcharset204\fprq2 Times New Roman Cyr;}{\f31541\fbidi \froman\fcharset161\fprq2 Times New Roman Greek;}{\f31542\fbidi \froman\fcharset162\fprq2 Times New Roman Tur;}{\f31543\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);}{\f31544\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);}{\f31545\fbidi \froman\fcharset186\fprq2 Times New Roman Baltic;}{\f31546\fbidi \froman\fcharset163\fprq2 Times New Roman (Vietnamese);}{\f31548\fbidi \froman\fcharset238\fprq2 Times New Roman CE;}{\f31549\fbidi \froman\fcharset204\fprq2 Times New Roman Cyr;}{\f31551\fbidi \froman\fcharset161\fprq2 Times New Roman Greek;}{\f31552\fbidi \froman\fcharset162\fprq2 Times New Roman Tur;}{\f31553\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);}{\f31554\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);}{\f31555\fbidi \froman\fcharset186\fprq2 Times New Roman Baltic;}{\f31556\fbidi \froman\fcharset163\fprq2 Times New Roman (Vietnamese);}{\f31558\fbidi \froman\fcharset238\fprq2 Times New Roman CE;}{\f31559\fbidi \froman\fcharset204\fprq2 Times New Roman Cyr;}{\f31561\fbidi \froman\fcharset161\fLine truncated
-21
View File
@@ -1,21 +0,0 @@
{\rtf1\ansi\deff3\adeflang1025
{\fonttbl{\f0\froman\fprq2\fcharset0 Times New Roman;}{\f1\froman\fprq2\fcharset2 Symbol;}{\f2\fswiss\fprq2\fcharset0 Arial;}{\f3\froman\fprq2\fcharset0 Times New Roman;}{\f4\fs
wiss\fprq2\fcharset0 Arial;}{\f5\fnil\fprq2\fcharset1 Ubuntu;}{\f6\fnil\fprq2\fcharset0 DejaVu Sans;}{\f7\fnil\fprq2\fcharset0 Lohit Hindi;}{\f8\fnil\fprq0\fcharset1 Lohit Hindi
;}}
{\colortbl;\red0\green0\blue0;\red128\green128\blue128;}
{\stylesheet{\s0\snext0\nowidctlpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf0\kerning1\dbch\af6\langfe2052\dbch\af7\afs24\alang1081\loch\f3\fs24\lang1033 Normal;}
{\s15\sbasedon0\snext16\sb240\sa120\keepn\dbch\af6\dbch\af7\afs28\loch\f4\fs28 Heading;}
{\s16\sbasedon0\snext16\sb0\sa120 Text Body;}
{\s17\sbasedon16\snext17\sb0\sa120\dbch\af8 List;}
{\s18\sbasedon0\snext18\sb120\sa120\noline\i\dbch\af8\afs24\ai\fs24 Caption;}
{\s19\sbasedon0\snext19\noline\dbch\af8 Index;}
}{\info{\creatim\yr2014\mo8\dy4\hr16\min16}{\revtim\yr0\mo0\dy0\hr0\min0}{\printim\yr0\mo0\dy0\hr0\min0}{\comment LibreOffice}{\vern67175170}}\deftab709
\viewscale100
{\*\pgdsctbl
{\pgdsc0\pgdscuse451\pgwsxn11906\pghsxn16838\marglsxn1134\margrsxn1134\margtsxn1134\margbsxn1134\pgdscnxt0 Default Style;}}
\formshade\paperh16838\paperw11906\margl1134\margr1134\margt1134\margb1134\sectd\sbknone\sectunlocked1\pgndec\pgwsxn11906\pghsxn16838\marglsxn1134\margrsxn1134\margtsxn1134\marg
bsxn1134\ftnbj\ftnstart1\ftnrstcont\ftnnar\aenddoc\aftnrstcont\aftnstart1\aftnnrlc
\pgndec\pard\plain \s0\nowidctlpar{\*\hyphen2\hyphlead2\hyphtrail2\hyphmax0}\cf0\kerning1\dbch\af6\langfe2052\dbch\af7\afs24\alang1081\loch\f3\fs24\lang1033{\rtlch \ltrch\loch\l
och\f5000
foobar}
\par }
-1
View File
@@ -1 +0,0 @@
{\rtf1\adeflang1025\ansi\ansicpg1252\uc1\adeff0\deff0\stshfdbch0\stshfloch37\stshfhich37\stshfbi37\deflang1033\deflangfe1033\themelang1033\themelangfe0\themelangcs0{\fonttbl{\f0\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\f34\fbidi \froman\fcharset0\fprq2{\*\panose 00000000000000000000}Cambria Math;}{\f37\fbidi \fswiss\fcharset0\fprq2{\*\panose 020f0502020204030204}Calibri;}{\f31500\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\f31501\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\f31502\fbidi \froman\fcharset0\fprq2{\*\panose 02040503050406030204}Cambria;}{\f31503\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\f31504\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\f31505\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\f31506\fbidi \fswiss\fcharset0\fprq2{\*\panose 020f0502020204030204}Calibri;}{\f31507\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\f39\fbidi \froman\fcharset238\fprq2 Times New Roman CE;}{\f40\fbidi \froman\fcharset204\fprq2 Times New Roman Cyr;}{\f42\fbidi \froman\fcharset161\fprq2 Times New Roman Greek;}{\f43\fbidi \froman\fcharset162\fprq2 Times New Roman Tur;}{\f44\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);}{\f45\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);}{\f46\fbidi \froman\fcharset186\fprq2 Times New Roman Baltic;}{\f47\fbidi \froman\fcharset163\fprq2 Times New Roman (Vietnamese);}{\f379\fbidi \froman\fcharset238\fprq2 Cambria Math CE;}{\f380\fbidi \froman\fcharset204\fprq2 Cambria Math Cyr;}{\f382\fbidi \froman\fcharset161\fprq2 Cambria Math Greek;}{\f383\fbidi \froman\fcharset162\fprq2 Cambria Math Tur;}{\f386\fbidi \froman\fcharset186\fprq2 Cambria Math Baltic;}{\f409\fbidi \fswiss\fcharset238\fprq2 Calibri CE;}{\f410\fbidi \fswiss\fcharset204\fprq2 Calibri Cyr;}{\f412\fbidi \fswiss\fcharset161\fprq2 Calibri Greek;}{\f413\fbidi \fswiss\fcharset162\fprq2 Calibri Tur;}{\f416\fbidi \fswiss\fcharset186\fprq2 Calibri Baltic;}{\f31508\fbidi \froman\fcharset238\fprq2 Times New Roman CE;}{\f31509\fbidi \froman\fcharset204\fprq2 Times New Roman Cyr;}{\f31511\fbidi \froman\fcharset161\fprq2 Times New Roman Greek;}{\f31512\fbidi \froman\fcharset162\fprq2 Times New Roman Tur;}{\f31513\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);}{\f31514\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);}{\f31515\fbidi \froman\fcharset186\fprq2 Times New Roman Baltic;}{\f31516\fbidi \froman\fcharset163\fprq2 Times New Roman (Vietnamese);}{\f31518\fbidi \froman\fcharset238\fprq2 Times New Roman CE;}{\f31519\fbidi \froman\fcharset204\fprq2 Times New Roman Cyr;}{\f31521\fbidi \froman\fcharset161\fprq2 Times New Roman Greek;}{\f31522\fbidi \froman\fcharset162\fprq2 Times New Roman Tur;}{\f31523\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);}{\f31524\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);}{\f31525\fbidi \froman\fcharset186\fprq2 Times New Roman Baltic;}{\f31526\fbidi \froman\fcharset163\fprq2 Times New Roman (Vietnamese);}{\f31528\fbidi \froman\fcharset238\fprq2 Cambria CE;}{\f31529\fbidi \froman\fcharset204\fprq2 Cambria Cyr;}{\f31531\fbidi \froman\fcharset161\fprq2 Cambria Greek;}{\f31532\fbidi \froman\fcharset162\fprq2 Cambria Tur;}{\f31535\fbidi \froman\fcharset186\fprq2 Cambria Baltic;}{\f31538\fbidi \froman\fcharset238\fprq2 Times New Roman CE;}{\f31539\fbidi \froman\fcharset204\fprq2 Times New Roman Cyr;}{\f31541\fbidi \froman\fcharset161\fprq2 Times New Roman Greek;}{\f31542\fbidi \froman\fcharset162\fprq2 Times New Roman Tur;}{\f31543\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);}{\f31544\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);}{\f31545\fbidi \froman\fcharset186\fprq2 Times New Roman Baltic;}{\f31546\fbidi \froman\fcharset163\fprq2 Times New Roman (Vietnamese);}{\f31548\fbidi \froman\fcharset238\fprq2 Times New Roman CE;}{\f31549\fbidi \froman\fcharset204\fprq2 Times New Roman Cyr;}{\f31551\fbidi \froman\fcharset161\fprq2 Times New Roman Greek;}{\f31552\fbidi \froman\fcharset162\fprq2 Times New Roman Tur;}{\f31553\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);}{\f31554\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);}{\f31555\fbidi \froman\fcharset186\fprq2 Times New Roman Baltic;}{\f31556\fbidi \froman\fcharset163\fprq2 Times New Roman (Vietnamese);}{\f31558\fbidi \froman\fcharset238\fprq2 Times New Roman CE;}{\f31559\fbidi \froman\fcharset204\fprq2 Times New Roman Cyr;}{\f31561\fbidi \froman\fcharset161\fprq2 Times New Roman Greek;}{\f31562\fbidi \froman\fcharset162\fprq2 Times New Roman Tur;}{\f31563\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);}{\f31564\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);}{\f31565\fbidi \froman\fcharset186\fprq2 Times New Roman Baltic;}{\f31566\fbidi \froman\fcharset163\fprq2 Times New Roman (ViLine truncated
-33
View File
@@ -1,33 +0,0 @@
{\rtf1\adeflang1025\ansi\ansicpg1252\uc1\adeff0\deff0\stshfdbch31505\stshfloch31506\stshfhich31506\stshfbi31507\deflang1033\deflangfe2052\themelang1033\themelangfe2052\themelangcs0{\fonttbl{\f0\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\f1\fbidi \fswiss\fcharset0\fprq2{\*\panose 020b0604020202020204}Arial;}{\f13\fbidi \fnil\fcharset134\fprq2{\*\panose 02010600030101010101}SimSun{\*\falt ËÎÌå};}{\f13\fbidi \fnil\fcharset134\fprq2{\*\panose 02010600030101010101}SimSun{\*\falt ËÎÌå};}{\f37\fbidi \fswiss\fcharset0\fprq2{\*\panose 020f0502020204030204}Calibri;}{\f38\fbidi \fswiss\fcharset0\fprq2{\*\panose 020b0604030504040204}Tahoma;}{\f47\fbidi \fnil\fcharset134\fprq2{\*\panose 02010600030101010101}@SimSun;}{\f31500\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\f31501\fbidi \fnil\fcharset134\fprq2{\*\panose 02010600030101010101}SimSun{\*\falt ËÎÌå};}{\f31502\fbidi \froman\fcharset0\fprq2{\*\panose 02040503050406030204}Cambria;}{\f31503\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\f31504\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\f31505\fbidi \fnil\fcharset134\fprq2{\*\panose 02010600030101010101}SimSun{\*\falt ËÎÌå};}{\f31506\fbidi \fswiss\fcharset0\fprq2{\*\panose 020f0502020204030204}Calibri;}{\f31507\fbidi \froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\f308\fbidi \froman\fcharset238\fprq2 Times New Roman CE;}{\f309\fbidi \froman\fcharset204\fprq2 Times New Roman Cyr;}{\f311\fbidi \froman\fcharset161\fprq2 Times New Roman Greek;}{\f312\fbidi \froman\fcharset162\fprq2 Times New Roman Tur;}{\f313\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);}{\f314\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);}{\f315\fbidi \froman\fcharset186\fprq2 Times New Roman Baltic;}{\f316\fbidi \froman\fcharset163\fprq2 Times New Roman (Vietnamese);}{\f318\fbidi \fswiss\fcharset238\fprq2 Arial CE;}{\f319\fbidi \fswiss\fcharset204\fprq2 Arial Cyr;}{\f321\fbidi \fswiss\fcharset161\fprq2 Arial Greek;}{\f322\fbidi \fswiss\fcharset162\fprq2 Arial Tur;}{\f323\fbidi \fswiss\fcharset177\fprq2 Arial (Hebrew);}{\f324\fbidi \fswiss\fcharset178\fprq2 Arial (Arabic);}{\f325\fbidi \fswiss\fcharset186\fprq2 Arial Baltic;}{\f326\fbidi \fswiss\fcharset163\fprq2 Arial (Vietnamese);}{\f440\fbidi \fnil\fcharset0\fprq2 SimSun Western{\*\falt ËÎÌå};}{\f440\fbidi \fnil\fcharset0\fprq2 SimSun Western{\*\falt ËÎÌå};}{\f678\fbidi \fswiss\fcharset238\fprq2 Calibri CE;}{\f679\fbidi \fswiss\fcharset204\fprq2 Calibri Cyr;}{\f681\fbidi \fswiss\fcharset161\fprq2 Calibri Greek;}{\f682\fbidi \fswiss\fcharset162\fprq2 Calibri Tur;}{\f685\fbidi \fswiss\fcharset186\fprq2 Calibri Baltic;}{\f686\fbidi \fswiss\fcharset163\fprq2 Calibri (Vietnamese);}{\f688\fbidi \fswiss\fcharset238\fprq2 Tahoma CE;}{\f689\fbidi \fswiss\fcharset204\fprq2 Tahoma Cyr;}{\f691\fbidi \fswiss\fcharset161\fprq2 Tahoma Greek;}{\f692\fbidi \fswiss\fcharset162\fprq2 Tahoma Tur;}{\f693\fbidi \fswiss\fcharset177\fprq2 Tahoma (Hebrew);}{\f694\fbidi \fswiss\fcharset178\fprq2 Tahoma (Arabic);}{\f695\fbidi \fswiss\fcharset186\fprq2 Tahoma Baltic;}{\f696\fbidi \fswiss\fcharset163\fprq2 Tahoma (Vietnamese);}{\f697\fbidi \fswiss\fcharset222\fprq2 Tahoma (Thai);}{\f780\fbidi \fnil\fcharset0\fprq2 @SimSun Western;}{\f31508\fbidi \froman\fcharset238\fprq2 Times New Roman CE;}{\f31509\fbidi \froman\fcharset204\fprq2 Times New Roman Cyr;}{\f31511\fbidi \froman\fcharset161\fprq2 Times New Roman Greek;}{\f31512\fbidi \froman\fcharset162\fprq2 Times New Roman Tur;}{\f31513\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);}{\f31514\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);}{\f31515\fbidi \froman\fcharset186\fprq2 Times New Roman Baltic;}{\f31516\fbidi \froman\fcharset163\fprq2 Times New Roman (Vietnamese);}{\f31520\fbidi \fnil\fcharset0\fprq2 SimSun Western{\*\falt ËÎÌå};}{\f31528\fbidi \froman\fcharset238\fprq2 Cambria CE;}{\f31529\fbidi \froman\fcharset204\fprq2 Cambria Cyr;}{\f31531\fbidi \froman\fcharset161\fprq2 Cambria Greek;}{\f31532\fbidi \froman\fcharset162\fprq2 Cambria Tur;}{\f31535\fbidi \froman\fcharset186\fprq2 Cambria Baltic;}{\f31536\fbidi \froman\fcharset163\fprq2 Cambria (Vietnamese);}{\f31538\fbidi \froman\fcharset238\fprq2 Times New Roman CE;}{\f31539\fbidi \froman\fcharset204\fprq2 Times New Roman Cyr;}{\f31541\fbidi \froman\fcharset161\fprq2 Times New Roman Greek;}{\f31542\fbidi \froman\fcharset162\fprq2 Times New Roman Tur;}{\f31543\fbidi \froman\fcharset177\fprq2 Times New Roman (Hebrew);}{\f31544\fbidi \froman\fcharset178\fprq2 Times New Roman (Arabic);}{\f31545\fbidi \froman\fcharset186\fprq2 Times New Roman Baltic;}{\f31546\fbidi \froman\fcharset163\fprq2 Times New Roman (Vietnamese);}{\f31548\fbidi \froman\fcharset238\fprq2 Times New Roman CE;}{\f31549\fbidi \froman\fcharset204\fprq2 Times New Roman Cyr;}{\f31551\fbidi \froman\fcharset161\fprq2 Times New Roman Greek;}{\f31552\fbLine truncated
\par }\pard\plain \ltrpar\s1\ql \li0\ri0\sa150\widctlpar\intbl\wrapdefault\aspalpha\aspnum\faauto\outlinelevel0\adjustright\rin0\lin0\itap2\pararsid14634989 \rtlch\fcs1 \ab\af0\afs48\alang1025 \ltrch\fcs0 \b\fs48\lang1033\langfe2052\kerning36\loch\af0\hich\af0\dbch\af31505\cgrid\langnp1033\langfenp2052 {\rtlch\fcs1 \ab0\af1\afs45 \ltrch\fcs0 \b0\f1\fs45\cf19\insrsid8454727\charrsid8454727 Hi Niels-Uwe,
\par }\pard\plain \ltrpar\s20\ql \li0\ri0\sb100\sa100\sbauto1\saauto1\sl360\slmult1\widctlpar\intbl\wrapdefault\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap2\pararsid14634989 \rtlch\fcs1 \af0\afs24\alang1025 \ltrch\fcs0 \fs24\lang1033\langfe2052\loch\af0\hich\af0\dbch\af31505\cgrid\langnp1033\langfenp2052 {\rtlch\fcs1 \ab\af1\afs21 \ltrch\fcs0 \cs21\b\f1\fs21\cf20\insrsid8454727\charrsid8454727 \hich\af1\dbch\af31505\loch\f1 Only 2 weeks}{\rtlch\fcs1 \af1\afs21 \ltrch\fcs0 \f1\fs21\cf20\insrsid8454727\charrsid8454727 \hich\af1\dbch\af31505\loch\f1 are left before Zentyal releases the }{\rtlch\fcs1 \ab\af1\afs21 \ltrch\fcs0 \cs21\b\f1\fs21\cf20\insrsid8454727\charrsid8454727 \hich\af1\dbch\af31505\loch\f1 next mayor Community Edition of the Zentyal Small Business Server}{\rtlch\fcs1 \af1\afs21 \ltrch\fcs0 \f1\fs21\cf20\insrsid8454727\charrsid8454727 \hich\af1\dbch\af31505\loch\f1 . And we also want to share with you that Zental has been}{\rtlch\fcs1 \ab\af1\afs21 \ltrch\fcs0 \cs21\b\f1\fs21\cf20\insrsid8454727\charrsid8454727 \hich\af1\dbch\af31505\loch\f1 featured on TechRepublic.com}{\rtlch\fcs1 \af1\afs21 \ltrch\fcs0 \f1\fs21\cf20\insrsid8454727\charrsid8454727 .}{\rtlch\fcs1 \af1\afs21 \ltrch\fcs0 \f1\fs21\cf20\insrsid8454727\charrsid8454727 \nestcell{\nonesttables
\par }}\pard\plain \ltrpar\ql \li0\ri0\widctlpar\intbl\wrapdefault\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap2 \rtlch\fcs1 \af0\afs24\alang1025 \ltrch\fcs0 \fs24\lang1033\langfe2052\loch\af0\hich\af0\dbch\af31505\cgrid\langnp1033\langfenp2052 {\rtlch\fcs1 \af0\afs20 \ltrch\fcs0 \fs20\cf0\dbch\af0\insrsid8454727\charrsid8454727 {\*\nesttableprops\trowd \irow0\irowband0\lastrow \ltrrow\ts11\trgaph300\trleft0\trftsWidth3\trwWidth9000\trautofit1\trpaddl300\trpaddt300\trpaddb300\trpaddr300\trpaddfl3\trpaddft3\trpaddfb3\trpaddfr3\tblrsid14634989\tbllkhdrrows\tbllkhdrcols\tbllknocolband\tblind0\tblindtype3 \clvertalt\clbrdrt\brdrtbl \clbrdrl\brdrtbl \clbrdrb\brdrs\brdrw120\brdrcf21 \clbrdrr\brdrtbl \cltxlrtb\clftsWidth1\clshdrawnil\clhidemark \cellx9000\nestrow}{\nonesttables
\par }\ltrrow}\trowd \irow0\irowband0\lastrow \ltrrow\ts11\trqc\trleft0\trftsWidth3\trwWidth12000\trautofit1\trpaddfl3\trpaddft3\trpaddfb3\trpaddfr3\tblrsid14634989\tbllkhdrrows\tbllkhdrcols\tbllknocolband\tblind0\tblindtype3 \clvertalt\clbrdrt\brdrtbl \clbrdrl\brdrtbl \clbrdrb\brdrtbl \clbrdrr\brdrtbl \clcbpat8\cltxlrtb\clftsWidth3\clwWidth9000\clcbpatraw8\clhidemark \cellx9000\clvertalt\clbrdrt\brdrtbl \clbrdrl\brdrtbl \clbrdrb\brdrtbl \clbrdrr\brdrtbl \clcbpat21\cltxlrtb\clftsWidth3\clwWidth3000\clcbpatraw21\clhidemark \cellx12000\pard \ltrpar\ql \li0\ri0\widctlpar\intbl\wrapdefault\aspalpha\aspnum\faauto\adjustright\rin0\lin0\pararsid14634989 {\rtlch\fcs1 \af0 \ltrch\fcs0 \v\cf0\dbch\af0\insrsid8454727
\par }\pard\plain \ltrpar\s4\ql \li0\ri0\sa150\widctlpar\intbl\wrapdefault\aspalpha\aspnum\faauto\outlinelevel3\adjustright\rin0\lin0\itap2\pararsid14634989 \rtlch\fcs1 \ab\af0\afs24\alang1025 \ltrch\fcs0 \b\fs24\lang1033\langfe2052\loch\af0\hich\af0\dbch\af31505\cgrid\langnp1033\langfenp2052 {\rtlch\fcs1 \af0 \ltrch\fcs0 \cf0\lang1024\langfe1024\noproof\insrsid5784989 {\shp{\*\shpinst\shpleft0\shptop0\shpright2385\shpbottom4080\shpfhdr0\shpbxcolumn\shpbxignore\shpbypara\shpbyignore\shpwr2\shpwrk0\shpfblwtxt0\shpz0\shplid1026{\sp{\sn shapeType}{\sv 75}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{\sn fLockAspectRatio}{\sv 1}}{\sp{\sn fLockPosition}{\sv 0}}{\sp{\sn fLockAgainstSelect}{\sv 0}}{\sp{\sn fLockAgainstGrouping}{\sv 0}}{\sp{\sn pibName}{\sv http://go.zentyal.com/l/24292/2014-10-08/dmptm/24292/55816/zentyal_4_0_release_data_vertical_image.png}}{\sp{\sn pibFlags}{\sv 13}}{\sp{\sn pictureGray}{\sv 0}}{\sp{\sn pictureBiLevel}{\sv 0}}{\sp{\sn fFilled}{\sv 0}}{\sp{\sn fNoFillHitTest}{\sv 0}}{\sp{\sn fLine}{\sv 0}}{\sp{\sn wzName}{\sv Picture 4}}{\sp{\sn wzDescription}{\sv http://go.zentyal.com/l/24292/2014-10-08/dmptm/24292/55816/zentyal_4_0_release_data_vertical_image.png}}{\sp{\sn dxWrapDistLeft}{\sv 0}}{\sp{\sn dxWrapDistRight}{\sv 0}}{\sp{\sn posh}{\sv 3}}{\sp{\sn posrelv}{\sv 3}}{\sp{\sn dhgt}{\sv 251659264}}{\sp{\sn fLayoutInCell}{\sv 1}}{\sp{\sn fAllowOverlap}{\sv 0}}{\sp{\sn fBehindDocument}{\sv 0}}{\sp{\sn fHidden}{\sv 0}}{\sp{\sn fLayoutInCell}{\sv 1}}}{\shprslt\par\pard\intbl\ql \li0\ri0\widctlpar\posxr\wraparound\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0\absnoovrlp1 {\pict\picscalex71\picscaley71\piccropl0\piccropr0\piccropt0\piccropb0\picw5900\pich10134\picwgoal3345\pichgoal5745\wmetafile8\bliptag-641113162{\*\blipuid d9c963b604fc4a8d8a51bbed15793a74}\bin257524  úöÑö  €àÑöA Ìßß(ß`í)”B1œJ)”B1œJ)”B1œJ)”B1œJ)”B1œJ)”B1œJ)”B1œJ)”B1œJ)”B1œJ)”B1œJ)”B1œJ)”B1œJ)”B1œJ)”B1œJ)”B1œJ)”B1œJ)”B1œJ)”B1œJ)”B1œJ)”B1œJ)”B1œJ)”B1œJ)”B1œJ)”B1œJ)”B1œJ)”B1œJ”Î¥ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ”Æ¥!„9)„B!„9)„B!„9)„B!„9)„B!„9)„B!„9)„B!„9)„B!„9)„B!„9)„B!„9)„B!„9)„B!„9)„B!„9)„B!„9)„B!„9)„B!„9)„B!„9)„B!„9)„B!„9)„B!„9)„B!„9)„B!„9)„B!„9)„B!„9)„B!„9)„B!„9)”J)”B1œJ)œJ1œJ1œJ1œJ)œJ1œJ1œJ1œJ)œJ1œJ1œJ1œJ)œJ1œJ1œJ1œJ)œJ1œJ1œJ1œJ)œJ1œJ1œJ1œJ)œJ1œJ1œJ1œJ)œJ1œJ1œJ1œJ)œJ1œJ1œJ1œJ)œJ1œJ1œJ1œJ)œJ1œJ1œJ1œJ)œJ1œJ1œJ1œJ)œJ1œJ1œJœÖ­ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ”Æ¥)„B)„9)„B)„9)„B)„9)„B)„9)„B)„9)„B)„9)„B)„9)„B)„9)„B)„9)„B)„9)„B)„9)„B)„9)„B)„9)„B)„9)„B)„9)„B)„9)„B)„9)„B)„9)„B)„9)„B)„9)„B)„9)„B)„9)„B)„9)„B)„9)„B)„9)„B)”B1œJ)”B1œJ)”B1œJ)”B1œJ)”B1œJ)”B1œJ)”B1œJ)”B1œJ)”B1œJ)”B1œJ)”B1œJ)”B1œJ)”B1œJ)”B1œJ)”B1œJ)”B1œJ)”B1œJ)”B1œJ)”B1œJ)”B1œJ)”B1œJ)”B1œJ)”B1œJ)”B1œJ)”B1œJ)”B1œJ)”B1œJ”Î¥ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿœÆ¥!„9)„B!„9)„B!„9)„B!„9)„B!„9)„B!„9)„B!„9)„B!„9)„B!„9)„B!„9)„B!„9)„B!„9)„B!„9)„B!„9)„B!„9)„B!„9)„B!„9)„B!„9)„B!„9)„B!„9)„B!„9)„B!„9)„B!„9)„B!„9)„B!„9)„B!„91”J)”B1œJ1œJ1œJ)œJ1œJ1œJ1œJ)œJ1œJ1œJ1œJ)œJ1œJ1œJ1œJ)œJ1œJ1œJ1œJ)œJ1œJ1œJ1œJ)œJ1œJ1œJ1œJ)œJ1œJ1œJ1œJ)œJ1œJ1œJ1œJ)œJ1œJ1œJ1œJ)œJ1œJ1œJ1œJ)œJ1œJ1œJ1œJ)œJ1œJ1œJ1œJ)œJœÖ­ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ”Æ¥)„B)„9)„B)„9)„B)„9)„B)„9)„B)„9)„B)„9)„B)„9)„B)„9)„B)„9)„B)„9)„B)„9)„B)„9)„B)„9)„B)„9)„B)„9)„B)„9)„B)„9)„B)„9)„B)„9)„B)„9)„B)„9)„B)„9)„B)„9)„B)„9)„B)„9)„B)”B1œJ)”B1œJ)”B1œJ)”B1œJ)”B1œJ)”B1œJ)”B1œJ)”B1œJ)”B1œJ)”B1œJ)”B1œJ)”B1œJ)”B1œJ)”B1œJ)”B1œJ)”B1œJ)”B1œJ)”B1œJ)”B1œJ)”B1œJ)”B1œJ)”B1œJ)”B1œJ)”B1œJ)”B1œJ)”B1œJ)”B1œJ”Î¥ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿLine truncated
\par }\pard\plain \ltrpar\ql \li0\ri0\sl360\slmult1\widctlpar\intbl\wrapdefault\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap2\pararsid14634989 \rtlch\fcs1 \af0\afs24\alang1025 \ltrch\fcs0 \fs24\lang1033\langfe2052\loch\af0\hich\af0\dbch\af31505\cgrid\langnp1033\langfenp2052 {\rtlch\fcs1 \af1\afs21 \ltrch\fcs0 \f1\fs21\cf20\insrsid8454727\charrsid8454727 In 2 weeks Zentyal 4.0 will be released! It will be a }{\rtlch\fcs1 \ab\af1\afs21 \ltrch\fcs0 \cs21\b\f1\fs21\cf20\insrsid8454727\charrsid8454727 greatly improved Small Business Server}{\rtlch\fcs1 \af1\afs21 \ltrch\fcs0 \f1\fs21\cf20\insrsid8454727\charrsid8454727 with native Microsoft® Exchange compatibility.\line \line }{\rtlch\fcs1 \ab\af1\afs21 \ltrch\fcs0 \cs21\b\f1\fs21\cf20\insrsid8454727\charrsid8454727 Instead of waiting, you can give Zentyal 4.0 a try}{\rtlch\fcs1 \af1\afs21 \ltrch\fcs0 \cs22\f1\fs21\cf20\insrsid8454727\charrsid8454727 with our Daily Builds. }{\rtlch\fcs1 \af1\afs21 \ltrch\fcs0 \f1\fs21\cf20\insrsid8454727\charrsid8454727 Daily Builds are for testing and non-production environments only.\line \line }{\field\fldedit{\*\fldinst {\rtlch\fcs1 \ab\af1\afs21 \ltrch\fcs0 \cs21\b\f1\fs21\cf20\insrsid8454727\charrsid8454727 HYPERLINK "http://go.zentyal.com/e/24292/index-php-Daily-Builds/f1b69/413547931" }}{\fldrslt {\rtlch\fcs1 \ab\af1\afs21 \ltrch\fcs0 \cs15\b\f1\fs21\ul\cf19\insrsid8454727\charrsid8454727 Download and try the Daily Builds}}}\sectd \ltrsect\linex0\sectdefaultcl\sectrsid8454727\sftnbj {\rtlch\fcs1 \af1\afs21 \ltrch\fcs0 \cs22\f1\fs21\cf20\insrsid8454727\charrsid8454727 and }{\rtlch\fcs1 \ab\af1\afs21 \ltrch\fcs0 \cs21\b\f1\fs21\cf20\insrsid8454727\charrsid8454727 help us with testing}{\rtlch\fcs1 \af1\afs21 \ltrch\fcs0 \cs22\f1\fs21\cf20\insrsid8454727\charrsid8454727 . Reporting found bugs in the }{\field\fldedit{\*\fldinst {\rtlch\fcs1 \af1\afs21 \ltrch\fcs0 \cs22\f1\fs21\cf20\insrsid8454727\charrsid8454727 HYPERLINK "http://go.zentyal.com/e/24292/2014-10-15/f1mx3/413547931" }}{\fldrslt {\rtlch\fcs1 \af1\afs21 \ltrch\fcs0 \cs15\f1\fs21\ul\cf19\insrsid8454727\charrsid8454727 tracker}}}\sectd \ltrsect\linex0\sectdefaultcl\sectrsid8454727\sftnbj {\rtlch\fcs1 \af1\afs21 \ltrch\fcs0 \cs22\f1\fs21\cf20\insrsid8454727\charrsid8454727 are highly appreciated and will help to make the }{\rtlch\fcs1 \ab\af1\afs21 \ltrch\fcs0 \cs21\b\f1\fs21\cf20\insrsid8454727\charrsid8454727 final release}{\rtlch\fcs1 \af1\afs21 \ltrch\fcs0 \cs22\f1\fs21\cf20\insrsid8454727\charrsid8454727 a }{\rtlch\fcs1 \ab\af1\afs21 \ltrch\fcs0 \cs21\b\f1\fs21\cf20\insrsid8454727\charrsid8454727 rock solid}{\rtlch\fcs1 \af1\afs21 \ltrch\fcs0 \cs22\f1\fs21\cf20\insrsid8454727\charrsid8454727 }{\rtlch\fcs1 \ab\af1\afs21 \ltrch\fcs0 \cs21\b\f1\fs21\cf20\insrsid8454727\charrsid8454727 Microsoft Exchange drop-in replacement}{\rtlch\fcs1 \af1\afs21 \ltrch\fcs0 \cs22\f1\fs21\cf20\insrsid8454727\charrsid8454727 !}{\rtlch\fcs1 \af1\afs21 \ltrch\fcs0 \f1\fs21\cf20\insrsid8454727\charrsid8454727 \nestcell{\nonesttables
\par }}\pard \ltrpar\ql \li0\ri0\widctlpar\intbl\wrapdefault\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap2 {\rtlch\fcs1 \af0\afs20 \ltrch\fcs0 \fs20\cf0\dbch\af0\insrsid8454727\charrsid8454727 {\*\nesttableprops\trowd \irow0\irowband0\ltrrow\ts11\trgaph300\trleft0\trftsWidth2\trwWidth5000\trautofit1\trpaddl300\trpaddt300\trpaddb300\trpaddr300\trpaddfl3\trpaddft3\trpaddfb3\trpaddfr3\tblrsid14634989\tbllkhdrrows\tbllkhdrcols\tbllknocolband\tblind0\tblindtype3 \clvertalt\clbrdrt\brdrs\brdrw120\brdrcf21 \clbrdrl\brdrtbl \clbrdrb\brdrs\brdrw120\brdrcf21 \clbrdrr\brdrtbl \clcbpat22\cltxlrtb\clftsWidth1\clcbpatraw22\clhidemark \cellx9000\nestrow}{\nonesttables
\par }}\pard\plain \ltrpar\s4\ql \li0\ri0\sa150\widctlpar\intbl\wrapdefault\aspalpha\aspnum\faauto\outlinelevel3\adjustright\rin0\lin0\itap2\pararsid14634989 \rtlch\fcs1 \ab\af0\afs24\alang1025 \ltrch\fcs0 \b\fs24\lang1033\langfe2052\loch\af0\hich\af0\dbch\af31505\cgrid\langnp1033\langfenp2052 {\rtlch\fcs1 \af1\afs33 \ltrch\fcs0 \f1\fs33\cf19\insrsid8454727\charrsid8454727 TechRepublic features Zentyal
\par }\pard\plain \ltrpar\ql \li0\ri0\sl360\slmult1\widctlpar\intbl\wrapdefault\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap2\pararsid14634989 \rtlch\fcs1 \af0\afs24\alang1025 \ltrch\fcs0 \fs24\lang1033\langfe2052\loch\af0\hich\af0\dbch\af31505\cgrid\langnp1033\langfenp2052 {\rtlch\fcs1 \ab\af1\afs21 \ltrch\fcs0 \cs21\b\f1\fs21\cf20\insrsid8454727\charrsid8454727 TechRepublic.com}{\rtlch\fcs1 \af1\afs21 \ltrch\fcs0 \f1\fs21\cf20\insrsid8454727\charrsid8454727 , a }{\rtlch\fcs1 \ab\af1\afs21 \ltrch\fcs0 \cs21\b\f1\fs21\cf20\insrsid8454727\charrsid8454727 leading website}{\rtlch\fcs1 \af1\afs21 \ltrch\fcs0 \f1\fs21\cf20\insrsid8454727\charrsid8454727 that helps IT decision-makers identify technologies and strategies to empower workers and streamline business processes, }{\rtlch\fcs1 \ab\af1\afs21 \ltrch\fcs0 \cs21\b\f1\fs21\cf20\insrsid8454727\charrsid8454727 has featured Zentyal}{\rtlch\fcs1 \af1\afs21 \ltrch\fcs0 \f1\fs21\cf20\insrsid8454727\charrsid8454727 on their website:\line \line }{\rtlch\fcs1 \ab\af1 \ltrch\fcs0 \cs21\b\f1\cf20\insrsid8454727\charrsid8454727 "If your small business is looking for a drop-in replacement for Windows Small Business Server, Jack Wallen might just have the perfect solution"}{\rtlch\fcs1 \af1\afs21 \ltrch\fcs0 \f1\fs21\cf20\insrsid8454727\charrsid8454727 \line }{\field\fldedit{\*\fldinst {\rtlch\fcs1 \af1\afs21 \ltrch\fcs0 \f1\fs21\cf20\insrsid8454727\charrsid8454727 HYPERLINK "http://go.zentyal.com/e/24292/ith-this-open-source-solution-/f1mx1/413547931" }}{\fldrslt {\rtlch\fcs1 \af1\afs21 \ltrch\fcs0 \cs15\f1\fs21\ul\cf19\insrsid8454727\charrsid8454727 Read the complete artice.}}}\sectd \ltrsect\linex0\sectdefaultcl\sectrsid8454727\sftnbj {\rtlch\fcs1 \af1\afs21 \ltrch\fcs0 \f1\fs21\cf20\insrsid8454727\charrsid8454727 \line \~
\par }\pard \ltrpar\ql \li0\ri0\widctlpar\intbl\wrapdefault\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap3\pararsid14634989 {\field\fldedit{\*\fldinst {\rtlch\fcs1 \af0 \ltrch\fcs0 \insrsid5784989 \hich\af0\dbch\af31505\loch\f0 \hich\af0\dbch\af31505\loch\f0 INCLUDE\hich\af0\dbch\af31505\loch\f0 PICTURE \hich\af0\dbch\af31505\loch\f0 "http://go.zentyal.com/l/24292/2014-05-08/6w1p7/24292/38272/quote_png.png" \\* MERGEFORMAT \\d\hich\af0\dbch\af31505\loch\f0 }}{\fldrslt {\rtlch\fcs1 \af0 \ltrch\fcs0 \cf0\lang1024\langfe1024\dbch\af0\noproof\insrsid5784989\charrsid5784989 }}}\sectd \ltrsect\linex0\sectdefaultcl\sectrsid8454727\sftnbj {\rtlch\fcs1 \af0 \ltrch\fcs0 \cf0\dbch\af0\insrsid8454727\charrsid8454727 \nestcell{\nonesttables
\par }}{\rtlch\fcs1 \ai\af0\afs21 \ltrch\fcs0 \cs23\i\fs21\cf20\dbch\af0\insrsid8454727\charrsid8454727 “}{\rtlch\fcs1 \af0\afs21 \ltrch\fcs0 \fs21\cf20\dbch\af0\insrsid8454727\charrsid8454727 If you're looking for a drop-in replacement for Windows Small Business Server, look no further than Zentyal}{\rtlch\fcs1 \ai\af0\afs21 \ltrch\fcs0 \cs23\i\fs21\cf20\dbch\af0\insrsid8454727\charrsid8454727 ”}{\rtlch\fcs1 \af0\afs21 \ltrch\fcs0 \fs21\cf20\dbch\af0\insrsid8454727\charrsid8454727 \line \line }{\rtlch\fcs1 \ab\af0\afs21 \ltrch\fcs0 \cs21\b\fs21\cf20\dbch\af0\insrsid8454727\charrsid8454727 Jack Wallen, award-winning writer for TechRepublic and Linux.com}{\rtlch\fcs1 \af0\afs21 \ltrch\fcs0 \fs21\cf20\dbch\af0\insrsid8454727\charrsid8454727 \nestcell{\nonesttables
\par }}\pard \ltrpar\ql \li0\ri0\widctlpar\intbl\wrapdefault\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap3 {\rtlch\fcs1 \af0\afs20 \ltrch\fcs0 \fs20\cf0\dbch\af0\insrsid8454727\charrsid8454727 {\*\nesttableprops\trowd \irow0\irowband0\lastrow \ltrrow\ts11\trgaph15\trleft0\trftsWidth2\trwWidth5000\trautofit1\trspdl7\trspdt7\trspdb7\trspdr7\trspdfl3\trspdft3\trspdfb3\trspdfr3\trpaddl15\trpaddt15\trpaddb15\trpaddr15\trpaddfl3\trpaddft3\trpaddfb3\trpaddfr3\tblrsid14634989\tbllkhdrrows\tbllkhdrcols\tbllknocolband\tblind0\tblindtype3 \clvertalt\clbrdrt\brdrtbl \clbrdrl\brdrtbl \clbrdrb\brdrtbl \clbrdrr\brdrtbl \cltxlrtb\clftsWidth1\clshdrawnil\clhidemark \cellx785\clvertalc\clbrdrt\brdrtbl \clbrdrl\brdrtbl \clbrdrb\brdrtbl \clbrdrr\brdrtbl \cltxlrtb\clftsWidth1\clshdrawnil\clhidemark \cellx8400\nestrow}{\nonesttables
\par }}\pard \ltrpar\ql \li0\ri0\sl360\slmult1\widctlpar\intbl\wrapdefault\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap2\pararsid14634989 {\rtlch\fcs1 \af1\afs21 \ltrch\fcs0 \f1\fs21\cf20\insrsid8454727\charrsid8454727 \line }{\field\fldedit{\*\fldinst {\rtlch\fcs1 \af0 \ltrch\fcs0 \insrsid5784989 \hich\af0\dbch\af31505\loch\f0 \hich\af0\dbch\af31505\loch\f0 INCLUDEPICTURE \hich\af0\dbch\af31505\loch\f0 "http://go.zentyal.com/l/24292/2014-10-08/dmpvk/24292/55818/TechRepublic_logo.png" \\* MERGEFORMAT \\d\hich\af0\dbch\af31505\loch\f0 }}{\fldrslt {\rtlch\fcs1 \af1\afs21 \ltrch\fcs0 \f1\fs21\cf20\lang1024\langfe1024\noproof\insrsid5784989\charrsid5784989 }}}\sectd \ltrsect\linex0\sectdefaultcl\sectrsid8454727\sftnbj {\rtlch\fcs1 \af1\afs21 \ltrch\fcs0 \f1\fs21\cf20\insrsid8454727\charrsid8454727 \nestcell{\nonesttables
\par }}\pard \ltrpar\ql \li0\ri0\widctlpar\intbl\wrapdefault\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap2 {\rtlch\fcs1 \af0\afs20 \ltrch\fcs0 \fs20\cf0\dbch\af0\insrsid8454727\charrsid8454727 {\*\nesttableprops\trowd \irow1\irowband1\lastrow \ltrrow\ts11\trgaph300\trleft0\trftsWidth2\trwWidth5000\trautofit1\trpaddl300\trpaddt300\trpaddb300\trpaddr300\trpaddfl3\trpaddft3\trpaddfb3\trpaddfr3\tblrsid14634989\tbllkhdrrows\tbllkhdrcols\tbllknocolband\tblind0\tblindtype3 \clvertalt\clbrdrt\brdrs\brdrw120\brdrcf21 \clbrdrl\brdrtbl \clbrdrb\brdrs\brdrw120\brdrcf21 \clbrdrr\brdrtbl \clcbpat22\cltxlrtb\clftsWidth1\clcbpatraw22\clhidemark \cellx9000\nestrow}{\nonesttables
\par }\ltrrow}\trowd \irow0\irowband0\lastrow \ltrrow\ts11\trqc\trleft0\trftsWidth3\trwWidth12000\trautofit1\trpaddfl3\trpaddft3\trpaddfb3\trpaddfr3\tblrsid14634989\tbllkhdrrows\tbllkhdrcols\tbllknocolband\tblind0\tblindtype3 \clvertalt\clbrdrt\brdrtbl \clbrdrl\brdrtbl \clbrdrb\brdrtbl \clbrdrr\brdrtbl \clcbpat8\cltxlrtb\clftsWidth3\clwWidth9000\clcbpatraw8\clhidemark \cellx9000\clvertalt\clbrdrt\brdrtbl \clbrdrl\brdrtbl \clbrdrb\brdrtbl \clbrdrr\brdrtbl \clcbpat21\cltxlrtb\clftsWidth3\clwWidth3000\clcbpatraw21\clhidemark \cellx12000\pard \ltrpar\ql \li0\ri0\widctlpar\intbl\wrapdefault\aspalpha\aspnum\faauto\adjustright\rin0\lin0\pararsid14634989 {\rtlch\fcs1 \af0 \ltrch\fcs0 \cf0\dbch\af0\insrsid8454727\charrsid8454727 \cell }\pard \ltrpar\ql \li0\ri0\widctlpar\intbl\wrapdefault\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap2\pararsid14634989 {\field\fldedit{\*\fldinst {\rtlch\fcs1 \af0 \ltrch\fcs0 \cf0\dbch\af0\insrsid8454727\charrsid8454727 HYPERLINK "http://go.zentyal.com/e/24292/zentyal/f1b6h/413547931" \\o "go to Zentyal Facebook" }}{\fldrslt {\rtlch\fcs1 \af0 \ltrch\fcs0 \cs15\ul\cf17\dbch\af0\insrsid8454727\charrsid8454727 Facebook}}}\sectd \ltrsect\linex0\sectdefaultcl\sectrsid8454727\sftnbj {\rtlch\fcs1 \af0 \ltrch\fcs0 \cf0\dbch\af0\insrsid8454727\charrsid8454727 }{\field\fldedit{\*\fldinst {\rtlch\fcs1 \af0 \ltrch\fcs0 \cf0\dbch\af0\insrsid8454727\charrsid8454727 HYPERLINK "http://go.zentyal.com/e/24292/--zentyal/f1b6k/413547931" \\o "go to Zentyal Twitter" }}{\fldrslt {\rtlch\fcs1 \af0 \ltrch\fcs0 \cs15\ul\cf17\dbch\af0\insrsid8454727\charrsid8454727 Twitter}}}\sectd \ltrsect\linex0\sectdefaultcl\sectrsid8454727\sftnbj {\rtlch\fcs1 \af0 \ltrch\fcs0 \cf0\dbch\af0\insrsid8454727\charrsid8454727 }{\field\fldedit{\*\fldinst {\rtlch\fcs1 \af0 \ltrch\fcs0 \cf0\dbch\af0\insrsid8454727\charrsid8454727 HYPERLINK "http://go.zentyal.com/e/24292/zentyal/f1b6m/413547931" \\o "go toZentyal Flick" }}{\fldrslt {\rtlch\fcs1 \af0 \ltrch\fcs0 \cs15\ul\cf17\dbch\af0\insrsid8454727\charrsid8454727 Flick}}}\sectd \ltrsect\linex0\sectdefaultcl\sectrsid8454727\sftnbj {\rtlch\fcs1 \af0 \ltrch\fcs0 \cf0\dbch\af0\insrsid8454727\charrsid8454727 }{\field\fldedit{\*\fldinst {\rtlch\fcs1 \af0 \ltrch\fcs0 \cf0\dbch\af0\insrsid8454727\charrsid8454727 HYPERLINK "http://go.zentyal.com/e/24292/zentyal/f1b6p/413547931" \\o "go to Zentyal Youtube channel" }}{\fldrslt {\rtlch\fcs1 \af0 \ltrch\fcs0 \cs15\ul\cf17\dbch\af0\insrsid8454727\charrsid8454727 Youtube}}}\sectd \ltrsect\linex0\sectdefaultcl\sectrsid8454727\sftnbj {\rtlch\fcs1 \af0 \ltrch\fcs0 \cf0\dbch\af0\insrsid8454727\charrsid8454727 \nestcell{\nonesttables
\par }}\pard \ltrpar\ql \li0\ri0\widctlpar\intbl\wrapdefault\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap2 {\rtlch\fcs1 \af0\afs20 \ltrch\fcs0 \fs20\cf0\dbch\af0\insrsid8454727\charrsid8454727 {\*\nesttableprops\trowd \irow0\irowband0\lastrow \ltrrow\ts11\trleft0\trftsWidth2\trwWidth5000\trautofit1\trspdl150\trspdt150\trspdb150\trspdr150\trspdfl3\trspdft3\trspdfb3\trspdfr3\trpaddfl3\trpaddft3\trpaddfb3\trpaddfr3\tblrsid14634989\tbllkhdrrows\tbllkhdrcols\tbllknocolband\tblind0\tblindtype3 \clvertalc\clbrdrt\brdrtbl \clbrdrl\brdrtbl \clbrdrb\brdrtbl \clbrdrr\brdrtbl \cltxlrtb\clftsWidth1\clshdrawnil\clhidemark \cellx3000\nestrow}{\nonesttables
\par }\ltrrow}\trowd \irow0\irowband0\lastrow \ltrrow\ts11\trqc\trleft0\trftsWidth3\trwWidth12000\trautofit1\trpaddfl3\trpaddft3\trpaddfb3\trpaddfr3\tblrsid14634989\tbllkhdrrows\tbllkhdrcols\tbllknocolband\tblind0\tblindtype3 \clvertalt\clbrdrt\brdrtbl \clbrdrl\brdrtbl \clbrdrb\brdrtbl \clbrdrr\brdrtbl \clcbpat8\cltxlrtb\clftsWidth3\clwWidth9000\clcbpatraw8\clhidemark \cellx9000\clvertalt\clbrdrt\brdrtbl \clbrdrl\brdrtbl \clbrdrb\brdrtbl \clbrdrr\brdrtbl \clcbpat21\cltxlrtb\clftsWidth3\clwWidth3000\clcbpatraw21\clhidemark \cellx12000\pard \ltrpar\ql \li0\ri0\widctlpar\intbl\wrapdefault\aspalpha\aspnum\faauto\adjustright\rin0\lin0\pararsid14634989 {\rtlch\fcs1 \af0 \ltrch\fcs0 \cf0\dbch\af0\insrsid8454727\charrsid8454727
\par }\pard\plain \ltrpar\s4\ql \li0\ri0\sa150\widctlpar\intbl\wrapdefault\aspalpha\aspnum\faauto\outlinelevel3\adjustright\rin0\lin0\itap2\pararsid14634989 \rtlch\fcs1 \ab\af0\afs24\alang1025 \ltrch\fcs0 \b\fs24\lang1033\langfe2052\loch\af0\hich\af0\dbch\af31505\cgrid\langnp1033\langfenp2052 {\rtlch\fcs1 \af1\afs27 \ltrch\fcs0 \f1\fs27\cf23\insrsid8454727\charrsid8454727 Download Zentyal 4.0
\par }\pard\plain \ltrpar\ql \li0\ri0\sl360\slmult1\widctlpar\intbl\wrapdefault\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap2\pararsid14634989 \rtlch\fcs1 \af0\afs24\alang1025 \ltrch\fcs0 \fs24\lang1033\langfe2052\loch\af0\hich\af0\dbch\af31505\cgrid\langnp1033\langfenp2052 {\rtlch\fcs1 \af1\afs18 \ltrch\fcs0 \f1\fs18\cf20\insrsid8454727\charrsid8454727 Download }{\field\fldedit{\*\fldinst {\rtlch\fcs1 \af1\afs18 \ltrch\fcs0 \f1\fs18\cf20\insrsid8454727\charrsid8454727 HYPERLINK "http://go.zentyal.com/e/24292/index-php-Daily-Builds/f1b69/413547931" }}{\fldrslt {\rtlch\fcs1 \af1\afs18 \ltrch\fcs0 \cs15\f1\fs18\ul\cf19\insrsid8454727\charrsid8454727 Zentyal 4.0 Daily Builds }}}\sectd \ltrsect\linex0\sectdefaultcl\sectrsid8454727\sftnbj {\rtlch\fcs1 \af1\afs18 \ltrch\fcs0 \f1\fs18\cf20\insrsid8454727\charrsid8454727 and join the testing effort! We are looking forward to receiving your feedback and comments!\nestcell{\nonesttables
\par }}\pard \ltrpar\ql \li0\ri0\widctlpar\intbl\wrapdefault\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap2 {\rtlch\fcs1 \af0\afs20 \ltrch\fcs0 \fs20\cf0\dbch\af0\insrsid8454727\charrsid8454727 {\*\nesttableprops\trowd \irow0\irowband0\ltrrow\ts11\trgaph300\trleft0\trftsWidth2\trwWidth5000\trautofit1\trpaddl300\trpaddt300\trpaddb300\trpaddr300\trpaddfl3\trpaddft3\trpaddfb3\trpaddfr3\tblrsid14634989\tbllkhdrrows\tbllkhdrcols\tbllknocolband\tblind0\tblindtype3 \clvertalt\clbrdrt\brdrtbl \clbrdrl\brdrtbl \clbrdrb\brdrtbl \clbrdrr\brdrtbl \cltxlrtb\clftsWidth1\clshdrawnil\clhidemark \cellx3000\nestrow}{\nonesttables
\par }}\pard\plain \ltrpar\s4\ql \li0\ri0\sa150\widctlpar\intbl\wrapdefault\aspalpha\aspnum\faauto\outlinelevel3\adjustright\rin0\lin0\itap2\pararsid14634989 \rtlch\fcs1 \ab\af0\afs24\alang1025 \ltrch\fcs0 \b\fs24\lang1033\langfe2052\loch\af0\hich\af0\dbch\af31505\cgrid\langnp1033\langfenp2052 {\rtlch\fcs1 \af1\afs27 \ltrch\fcs0 \f1\fs27\cf23\insrsid8454727\charrsid8454727 Evaluating the Commercial Zentyal Server Edition?
\par }\pard\plain \ltrpar\ql \li0\ri0\sl360\slmult1\widctlpar\intbl\wrapdefault\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap2\pararsid14634989 \rtlch\fcs1 \af0\afs24\alang1025 \ltrch\fcs0 \fs24\lang1033\langfe2052\loch\af0\hich\af0\dbch\af31505\cgrid\langnp1033\langfenp2052 {\rtlch\fcs1 \af1\afs18 \ltrch\fcs0 \f1\fs18\cf20\insrsid8454727\charrsid8454727 Are you thinking about deploying a }{\rtlch\fcs1 \ab\af1\afs18 \ltrch\fcs0 \cs21\b\f1\fs18\cf20\insrsid8454727\charrsid8454727 commercially supported}{\rtlch\fcs1 \af1\afs18 \ltrch\fcs0 \f1\fs18\cf20\insrsid8454727\charrsid8454727 Zentyal Server in your organization? Get a }{\field\fldedit{\*\fldinst {\rtlch\fcs1 \af1\afs18 \ltrch\fcs0 \f1\fs18\cf20\insrsid8454727\charrsid8454727 HYPERLINK "http://go.zentyal.com/e/24292/trial-zentyal-premium-edition-/f1b6r/413547931" }}{\fldrslt {\rtlch\fcs1 \ab\af1\afs18 \ltrch\fcs0 \cs21\b\f1\fs18\ul\cf19\insrsid8454727\charrsid8454727 Free 30-Day Trial}}}\sectd \ltrsect\linex0\sectdefaultcl\sectrsid8454727\sftnbj {\rtlch\fcs1 \af1\afs18 \ltrch\fcs0 \f1\fs18\cf20\insrsid8454727\charrsid8454727 or }{\field\fldedit{\*\fldinst {\rtlch\fcs1 \ab\af1\afs18 \ltrch\fcs0 \cs21\b\f1\fs18\cf20\insrsid8454727\charrsid8454727 HYPERLINK "http://go.zentyal.com/e/24292/contact-sales-/f1b6t/413547931" }}{\fldrslt {\rtlch\fcs1 \ab\af1\afs18 \ltrch\fcs0 \cs15\b\f1\fs18\ul\cf19\insrsid8454727\charrsid8454727 Contact Sales}}}\sectd \ltrsect\linex0\sectdefaultcl\sectrsid8454727\sftnbj {\rtlch\fcs1 \af1\afs18 \ltrch\fcs0 \f1\fs18\cf20\insrsid8454727\charrsid8454727 for a quote.\nestcell{\nonesttables
\par }}\pard \ltrpar\ql \li0\ri0\widctlpar\intbl\wrapdefault\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap2 {\rtlch\fcs1 \af0\afs20 \ltrch\fcs0 \fs20\cf0\dbch\af0\insrsid8454727\charrsid8454727 {\*\nesttableprops\trowd \irow1\irowband1\ltrrow\ts11\trgaph300\trleft0\trftsWidth2\trwWidth5000\trautofit1\trpaddl300\trpaddt300\trpaddb300\trpaddr300\trpaddfl3\trpaddft3\trpaddfb3\trpaddfr3\tblrsid14634989\tbllkhdrrows\tbllkhdrcols\tbllknocolband\tblind0\tblindtype3 \clvertalt\clbrdrt\brdrtbl \clbrdrl\brdrtbl \clbrdrb\brdrtbl \clbrdrr\brdrtbl \cltxlrtb\clftsWidth1\clshdrawnil\clhidemark \cellx3000\nestrow}{\nonesttables
\par }}\pard\plain \ltrpar\s4\ql \li0\ri0\sa150\widctlpar\intbl\wrapdefault\aspalpha\aspnum\faauto\outlinelevel3\adjustright\rin0\lin0\itap2\pararsid14634989 \rtlch\fcs1 \ab\af0\afs24\alang1025 \ltrch\fcs0 \b\fs24\lang1033\langfe2052\loch\af0\hich\af0\dbch\af31505\cgrid\langnp1033\langfenp2052 {\rtlch\fcs1 \af1\afs27 \ltrch\fcs0 \f1\fs27\cf23\insrsid8454727\charrsid8454727 On-line Zentyal Training
\par }\pard\plain \ltrpar\ql \li0\ri0\sl360\slmult1\widctlpar\intbl\wrapdefault\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap2\pararsid14634989 \rtlch\fcs1 \af0\afs24\alang1025 \ltrch\fcs0 \fs24\lang1033\langfe2052\loch\af0\hich\af0\dbch\af31505\cgrid\langnp1033\langfenp2052 {\rtlch\fcs1 \af1\afs18 \ltrch\fcs0 \f1\fs18\cf20\insrsid8454727\charrsid8454727 Are you interested in deploying Zentyal Server professionally? Zentyal offers }{\field\fldedit{\*\fldinst {\rtlch\fcs1 \af1\afs18 \ltrch\fcs0 \f1\fs18\cf20\insrsid8454727\charrsid8454727 HYPERLINK "http://go.zentyal.com/e/24292/ing-online-courses-bundle-html/f1b6w/413547931" }}{\fldrslt {\rtlch\fcs1 \ab\af1\afs18 \ltrch\fcs0 \cs21\b\f1\fs18\ul\cf19\insrsid8454727\charrsid8454727 on-line training courses}}}\sectd \ltrsect\linex0\sectdefaultcl\sectrsid8454727\sftnbj {\rtlch\fcs1 \af1\afs18 \ltrch\fcs0 \f1\fs18\cf20\insrsid8454727\charrsid8454727 and a }{\field\fldedit{\*\fldinst {\rtlch\fcs1 \af1\afs18 \ltrch\fcs0 \f1\fs18\cf20\insrsid8454727\charrsid8454727 HYPERLINK "http://go.zentyal.com/e/24292/training-zeca-voucher-html/f1b6y/413547931" }}{\fldrslt {\rtlch\fcs1 \ab\af1\afs18 \ltrch\fcs0 \cs21\b\f1\fs18\ul\cf19\insrsid8454727\charrsid8454727 certification exam}}}\sectd \ltrsect\linex0\sectdefaultcl\sectrsid8454727\sftnbj {\rtlch\fcs1 \af1\afs18 \ltrch\fcs0 \f1\fs18\cf20\insrsid8454727\charrsid8454727 , that give you full understanding and skills to carry out Zentyal deployments correctly.\nestcell{\nonesttables
\par }}\pard \ltrpar\ql \li0\ri0\widctlpar\intbl\wrapdefault\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap2 {\rtlch\fcs1 \af0\afs20 \ltrch\fcs0 \fs20\cf0\dbch\af0\insrsid8454727\charrsid8454727 {\*\nesttableprops\trowd \irow2\irowband2\ltrrow\ts11\trgaph300\trleft0\trftsWidth2\trwWidth5000\trautofit1\trpaddl300\trpaddt300\trpaddb300\trpaddr300\trpaddfl3\trpaddft3\trpaddfb3\trpaddfr3\tblrsid14634989\tbllkhdrrows\tbllkhdrcols\tbllknocolband\tblind0\tblindtype3 \clvertalt\clbrdrt\brdrtbl \clbrdrl\brdrtbl \clbrdrb\brdrtbl \clbrdrr\brdrtbl \cltxlrtb\clftsWidth1\clshdrawnil\clhidemark \cellx3000\nestrow}{\nonesttables
\par }}\pard\plain \ltrpar\s4\ql \li0\ri0\sa150\widctlpar\intbl\wrapdefault\aspalpha\aspnum\faauto\outlinelevel3\adjustright\rin0\lin0\itap2\pararsid14634989 \rtlch\fcs1 \ab\af0\afs24\alang1025 \ltrch\fcs0 \b\fs24\lang1033\langfe2052\loch\af0\hich\af0\dbch\af31505\cgrid\langnp1033\langfenp2052 {\rtlch\fcs1 \af1\afs27 \ltrch\fcs0 \f1\fs27\cf23\insrsid8454727\charrsid8454727 Zentyal On-line Certification Exams
\par }\pard\plain \ltrpar\ql \li0\ri0\sl360\slmult1\widctlpar\intbl\wrapdefault\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap2\pararsid14634989 \rtlch\fcs1 \af0\afs24\alang1025 \ltrch\fcs0 \fs24\lang1033\langfe2052\loch\af0\hich\af0\dbch\af31505\cgrid\langnp1033\langfenp2052 {\rtlch\fcs1 \af1\afs18 \ltrch\fcs0 \f1\fs18\cf20\insrsid8454727\charrsid8454727 Next Zentyal Certification Exams will take place (on-line): }{\rtlch\fcs1 \ab\af1\afs18 \ltrch\fcs0 \cs21\b\f1\fs18\cf20\insrsid8454727\charrsid8454727 November 27 }{\rtlch\fcs1 \af1\afs18 \ltrch\fcs0 \f1\fs18\cf20\insrsid8454727\charrsid8454727 and }{\rtlch\fcs1 \ab\af1\afs18 \ltrch\fcs0 \cs21\b\f1\fs18\cf20\insrsid8454727\charrsid8454727 December 18}{\rtlch\fcs1 \af1\afs18 \ltrch\fcs0 \f1\fs18\cf20\insrsid8454727\charrsid8454727 . Book you seat by purchasing the }{\field\fldedit{\*\fldinst {\rtlch\fcs1 \af1\afs18 \ltrch\fcs0 \f1\fs18\cf20\insrsid8454727\charrsid8454727 HYPERLINK "http://go.zentyal.com/e/24292/training-zeca-voucher-html/f1b6y/413547931" }}{\fldrslt {\rtlch\fcs1 \ab\af1\afs18 \ltrch\fcs0 \cs21\b\f1\fs18\ul\cf19\insrsid8454727\charrsid8454727 ZeCA Exam Voucher}}}\sectd \ltrsect\linex0\sectdefaultcl\sectrsid8454727\sftnbj {\rtlch\fcs1 \af1\afs18 \ltrch\fcs0 \f1\fs18\cf20\insrsid8454727\charrsid8454727 !\nestcell{\nonesttables
\par }}\pard \ltrpar\ql \li0\ri0\widctlpar\intbl\wrapdefault\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap2 {\rtlch\fcs1 \af0\afs20 \ltrch\fcs0 \fs20\cf0\dbch\af0\insrsid8454727\charrsid8454727 {\*\nesttableprops\trowd \irow3\irowband3\lastrow \ltrrow\ts11\trgaph300\trleft0\trftsWidth2\trwWidth5000\trautofit1\trpaddl300\trpaddt300\trpaddb300\trpaddr300\trpaddfl3\trpaddft3\trpaddfb3\trpaddfr3\tblrsid14634989\tbllkhdrrows\tbllkhdrcols\tbllknocolband\tblind0\tblindtype3 \clvertalt\clbrdrt\brdrtbl \clbrdrl\brdrtbl \clbrdrb\brdrtbl \clbrdrr\brdrtbl \cltxlrtb\clftsWidth1\clshdrawnil\clhidemark \cellx3000\nestrow}{\nonesttables
\par }\ltrrow}\trowd \irow0\irowband0\lastrow \ltrrow\ts11\trqc\trleft0\trftsWidth3\trwWidth12000\trautofit1\trpaddfl3\trpaddft3\trpaddfb3\trpaddfr3\tblrsid14634989\tbllkhdrrows\tbllkhdrcols\tbllknocolband\tblind0\tblindtype3 \clvertalt\clbrdrt\brdrtbl \clbrdrl\brdrtbl \clbrdrb\brdrtbl \clbrdrr\brdrtbl \clcbpat8\cltxlrtb\clftsWidth3\clwWidth9000\clcbpatraw8\clhidemark \cellx9000\clvertalt\clbrdrt\brdrtbl \clbrdrl\brdrtbl \clbrdrb\brdrtbl \clbrdrr\brdrtbl \clcbpat21\cltxlrtb\clftsWidth3\clwWidth3000\clcbpatraw21\clhidemark \cellx12000\pard \ltrpar\ql \li0\ri0\widctlpar\intbl\wrapdefault\aspalpha\aspnum\faauto\adjustright\rin0\lin0\pararsid14634989 {\rtlch\fcs1 \af0 \ltrch\fcs0 \cf0\dbch\af0\insrsid8454727\charrsid8454727 \cell }\pard \ltrpar\ql \li0\ri0\widctlpar\intbl\wrapdefault\aspalpha\aspnum\faauto\adjustright\rin0\lin0 {\rtlch\fcs1 \af0\afs20 \ltrch\fcs0 \fs20\cf0\dbch\af0\insrsid8454727\charrsid8454727 \trowd \irow0\irowband0\lastrow \ltrrow\ts11\trqc\trleft0\trftsWidth3\trwWidth12000\trautofit1\trpaddfl3\trpaddft3\trpaddfb3\trpaddfr3\tblrsid14634989\tbllkhdrrows\tbllkhdrcols\tbllknocolband\tblind0\tblindtype3 \clvertalt\clbrdrt\brdrtbl \clbrdrl\brdrtbl \clbrdrb\brdrtbl \clbrdrr\brdrtbl \clcbpat8\cltxlrtb\clftsWidth3\clwWidth9000\clcbpatraw8\clhidemark \cellx9000\clvertalt\clbrdrt\brdrtbl \clbrdrl\brdrtbl \clbrdrb\brdrtbl \clbrdrr\brdrtbl \clcbpat21\cltxlrtb\clftsWidth3\clwWidth3000\clcbpatraw21\clhidemark \cellx12000\row }\pard \ltrpar\qc \li0\ri0\widctlpar\wrapdefault\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0\pararsid8454727 {\rtlch\fcs1 \af1 \ltrch\fcs0 \f1\cf0\insrsid8454727\charrsid8454727
\par }\pard \ltrpar\ql \li0\ri0\widctlpar\wrapdefault\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0\pararsid8454727 {\rtlch\fcs1 \af37 \ltrch\fcs0 \f37\cf0\insrsid8454727\charrsid8454727
\par }}
-378
View File
@@ -1,378 +0,0 @@
{\rtf1\ansi\ansicpg1252\uc1\deff0\stshfdbch0\stshfloch0\stshfhich0\stshfbi0\deflang3082\deflangfe3082{\fonttbl{\f0\froman\fcharset0\fprq2{\*\panose 02020603050405020304}Times New Roman;}{\f1\fswiss\fcharset0\fprq2{\*\panose 020b0604020202020204}Arial;}{\f35\fswiss\fcharset0\fprq2{\*\panose 020b0604030504040204}Tahoma;}{\f36\fswiss\fcharset0\fprq2{\*\panose 020b0506020202030204}Arial Narrow;}{\f37\fswiss\fcharset0\fprq2{\*\panose 020f0502020204030204}Calibri;}{\f44\fswiss\fcharset0\fprq2{\*\panose 020b0604030504040204}Verdana;}{\f45\fswiss\fcharset0\fprq2{\*\panose 020b0a04020102020204}Arial Black;}{\f91\froman\fcharset0\fprq2{\*\panose 02040503050406030204}Cambria;}{\f98\froman\fcharset238\fprq2 Times New Roman CE;}{\f99\froman\fcharset204\fprq2 Times New Roman Cyr;}{\f101\froman\fcharset161\fprq2 Times New Roman Greek;}{\f102\froman\fcharset162\fprq2 Times New Roman Tur;}{\f103\froman\fcharset177\fprq2 Times New Roman (Hebrew);}{\f104\froman\fcharset178\fprq2 Times New Roman (Arabic);}{\f105\froman\fcharset186\fprq2 Times New Roman Baltic;}{\f106\froman\fcharset163\fprq2 Times New Roman (Vietnamese);}{\f108\fswiss\fcharset238\fprq2 Arial CE;}{\f109\fswiss\fcharset204\fprq2 Arial Cyr;}{\f111\fswiss\fcharset161\fprq2 Arial Greek;}{\f112\fswiss\fcharset162\fprq2 Arial Tur;}{\f113\fswiss\fcharset177\fprq2 Arial (Hebrew);}{\f114\fswiss\fcharset178\fprq2 Arial (Arabic);}{\f115\fswiss\fcharset186\fprq2 Arial Baltic;}{\f116\fswiss\fcharset163\fprq2 Arial (Vietnamese);}{\f448\fswiss\fcharset238\fprq2 Tahoma CE;}{\f449\fswiss\fcharset204\fprq2 Tahoma Cyr;}{\f451\fswiss\fcharset161\fprq2 Tahoma Greek;}{\f452\fswiss\fcharset162\fprq2 Tahoma Tur;}{\f453\fswiss\fcharset177\fprq2 Tahoma (Hebrew);}{\f454\fswiss\fcharset178\fprq2 Tahoma (Arabic);}{\f455\fswiss\fcharset186\fprq2 Tahoma Baltic;}{\f456\fswiss\fcharset163\fprq2 Tahoma (Vietnamese);}{\f457\fswiss\fcharset222\fprq2 Tahoma (Thai);}{\f458\fswiss\fcharset238\fprq2 Arial Narrow CE;}{\f459\fswiss\fcharset204\fprq2 Arial Narrow Cyr;}{\f461\fswiss\fcharset161\fprq2 Arial Narrow Greek;}{\f462\fswiss\fcharset162\fprq2 Arial Narrow Tur;}{\f465\fswiss\fcharset186\fprq2 Arial Narrow Baltic;}{\f468\fswiss\fcharset238\fprq2 Calibri CE;}{\f469\fswiss\fcharset204\fprq2 Calibri Cyr;}{\f471\fswiss\fcharset161\fprq2 Calibri Greek;}{\f472\fswiss\fcharset162\fprq2 Calibri Tur;}{\f475\fswiss\fcharset186\fprq2 Calibri Baltic;}{\f538\fswiss\fcharset238\fprq2 Verdana CE;}{\f539\fswiss\fcharset204\fprq2 Verdana Cyr;}{\f541\fswiss\fcharset161\fprq2 Verdana Greek;}{\f542\fswiss\fcharset162\fprq2 Verdana Tur;}{\f545\fswiss\fcharset186\fprq2 Verdana Baltic;}{\f546\fswiss\fcharset163\fprq2 Verdana (Vietnamese);}{\f548\fswiss\fcharset238\fprq2 Arial Black CE;}{\f549\fswiss\fcharset204\fprq2 Arial Black Cyr;}{\f551\fswiss\fcharset161\fprq2 Arial Black Greek;}{\f552\fswiss\fcharset162\fprq2 Arial Black Tur;}{\f555\fswiss\fcharset186\fprq2 Arial Black Baltic;}{\f1008\froman\fcharset238\fprq2 Cambria CE;}{\f1009\froman\fcharset204\fprq2 Cambria Cyr;}{\f1011\froman\fcharset161\fprq2 Cambria Greek;}{\f1012\froman\fcharset162\fprq2 Cambria Tur;}{\f1015\froman\fcharset186\fprq2 Cambria Baltic;}}{\colortbl;\red0\green0\blue0;\red0\green0\blue255;\red0\green255\blue255;\red0\green255\blue0;\red255\green0\blue255;\red255\green0\blue0;\red255\green255\blue0;\red255\green255\blue255;\red0\green0\blue128;\red0\green128\blue128;\red0\green128\blue0;\red128\green0\blue128;\red128\green0\blue0;\red128\green128\blue0;\red128\green128\blue128;\red192\green192\blue192;\red255\green102\blue0;\red51\green204\blue204;\red31\green73\blue125;\red192\green80\blue77;\red153\green153\blue153;\red181\green196\blue223;}{\stylesheet{\ql \li0\ri0\widctlpar\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0 \fs24\lang3082\langfe3082\cgrid\langnp3082\langfenp3082 \snext0 Normal;}{\*\cs10 \additive \ssemihidden Default Paragraph Font;}{\*\ts11\tsrowd\trftsWidthB3\trpaddl108\trpaddr108\trpaddfl3\trpaddft3\trpaddfb3\trpaddfr3\trcbpat1\trcfpat1\tscellwidthfts0\tsvertalt\tsbrdrt\tsbrdrl\tsbrdrb\tsbrdrr\tsbrdrdgl\tsbrdrdgr\tsbrdrh\tsbrdrv \ql \li0\ri0\widctlpar\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0 \fs20\lang1024\langfe1024\cgrid\langnp1024\langfenp1024 \snext11 \ssemihidden Normal Table;}{\*\cs15 \additive \ul\cf2 \sbasedon10 Hyperlink;}{\*\cs16 \additive \ul\cf12 \sbasedon10 FollowedHyperlink;}{\s17\ql \li0\ri0\sb100\sa100\sbauto1\saauto1\widctlpar\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0 \fs24\lang3082\langfe3082\cgrid\langnp3082\langfenp3082 \sbasedon0 \snext17 Normal (Web);}{\*\cs18 \additive \f35 \sbasedon10 \slink19 \slocked Texto de globo Car;}{\s19\ql \li0\ri0\widctlpar\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0 \f35\fs16\lang3082\langfe3082\cgrid\langnp3082\langfenp3082 \sbasedon0 \snext19 \slink18 Balloon Text;}{\*\cs20 \additive \f35 \sbasedon10 textodeglobocar;}{\*\cs21 \additive \b0\i0\strike0\f36\ulnone\cf0\animtext0\striked0 \sbasedon10 \ssemihidden \spersonal EstiloCorreo21;}{\*\cs22 Line truncated
\par
\par Gracias por enviar la proforma}{\f36\fs22\cf0\insrsid11731365 NRO 2013 000436.-}{\f36\fs22\cf0\insrsid11731365
\par }{\f36\fs22\cf0\insrsid11731365
\par }{\b\f36\fs22\ul\cf0\insrsid11731365\charrsid11731365 Comentarios
\par }{\b\f36\fs28\cf0\insrsid11731365\charrsid11731365 1)}{\f36\fs22\cf17\insrsid11731365\charrsid11731365 }{\b\f36\fs22\ul\cf17\insrsid11731365\charrsid11731365 Forma de pago}{\f36\fs22\cf0\insrsid11731365\charrsid11731365 :}{\f36\fs22\cf0\insrsid11731365\charrsid11731365 En primer lugar por supuesto agradecemos el plazo para pago que se nos otorga pero}{\b\f36\fs22\cf18\insrsid11731365 }{\b\f36\fs22\cf18\insrsid11731365 }{\b\f36\fs22\cf0\insrsid11731365 pagaremos contra copia de Bill of Lading . En ese sentido agradeceré modifiquen la forma de PAGO en la factura.}{\b\f36\fs22\cf0\insrsid11731365
\par }{\b\f36\fs22\cf0\insrsid11731365
\par }{\b\f36\fs28\cf0\insrsid11731365\charrsid11731365 2)}{\b\f36\fs22\cf18\insrsid11731365 }{\f36\fs22\cf0\insrsid11731365\charrsid11731365 Necesitamos una}{\b\f36\fs22\cf18\insrsid11731365 }{\b\f36\fs22\ul\cf17\insrsid11731365\charrsid11731365 proforma solamente por los }{\b\f36\fs22\ul\cf17\insrsid11731365\charrsid11731365 ítems}{\b\f36\fs22\ul\cf17\insrsid11731365\charrsid11731365 en stock}{\b\f36\fs22\cf18\insrsid11731365 .}{\f36\fs22\cf0\insrsid11731365 Las autorizaciones de pre embarque dan tiempo para embarque hasta 5 meses máximo una vez emitidas. Dado que hay }{\f36\fs22\cf0\insrsid11731365 ítems}{\f36\fs22\cf0\insrsid11731365 }{\f36\fs22\cf0\insrsid11731365 que figuran con entrega SEPT 2013.- DIC 2013.- no puedo pedir autor}{\f36\fs22\cf0\insrsid11731365 i}{\f36\fs22\cf0\insrsid11731365 zación por ellos.
\par }{\f36\fs22\cf0\insrsid11731365
\par }{\b\f36\fs28\cf0\insrsid11731365\charrsid11731365 3)}{\f36\fs22\cf0\insrsid11731365 Han incluído en la proforma las pos}{\f36\fs22\cf0\insrsid11731365 i}{\f36\fs22\cf0\insrsid11731365 ciones arancelarias de los cigüeñales. En caso de no poder excluírlas, pido por favor enuncien el nro 8483.10}{\f36\fs22\cf0\insrsid11731365
\par
\par }{\b\f36\cf0\insrsid11731365\charrsid11731365 4)}{\f36\fs22\cf0\insrsid11731365 }{\f36\cf0\insrsid11731365\charrsid11731365 1\~\~\~\~\~\~\~\~\~ \~\~\~\~\~\~\~\~\~\~\~ 509 000\~ }{\b\f36\cf6\insrsid11731365\charrsid11731365 QSC 8.3……700 euros/unit…….julio 2013}{\f36\cf0\insrsid11731365\charrsid11731365
\par }{\b\f36\fs22\cf0\insrsid11731365\charrsid11731365 Figura en la factura como 509002 . }{\b\f36\fs22\ul\cf0\insrsid11731365\charrsid11731365 Es el mismo?}{\b\f36\fs22\cf0\insrsid11731365\charrsid11731365
\par }{\f36\cf0\insrsid11731365 }{\f36\cf0\insrsid11731365\charrsid11731365 2\~\~\~\~\~\~\~\~\~ \~\~\~\~\~\~\~\~\~\~\~ 508 003\~ QSB 5.9……500 euros/unit……..septiembre 2013
\par }{\b\f36\fs22\cf0\insrsid11731365\charrsid11731365 Figura en la factura como 508}{\b\f36\fs22\cf0\insrsid11731365\charrsid11731365 005. }{\b\f36\fs22\ul\cf0\insrsid11731365\charrsid11731365 Es el mismo?}{\b\f36\fs22\cf0\insrsid11731365\charrsid11731365
\par }{\b\f36\fs22\cf0\insrsid11731365\charrsid11731365
\par }{\f36\fs22\cf0\insrsid11731365 Una vez que reciba la proforma por los }{\f36\fs22\cf0\insrsid11731365 ítems}{\f36\fs22\cf0\insrsid11731365 en stock, listos para despacho}{\f36\fs22\cf0\insrsid11731365 - solicitaré la autorización de embarque.
\par Gracias otra vez por su asistencia.
\par
\par }{\f36\fs22\cf0\insrsid11731365\charrsid11731365 Saludos cordiales,}{\f36\fs22\cf0\insrsid11731365
\par
\par }{\f36\fs22\cf0\insrsid11731365\charrsid11731365
\par }\pard \ql \li0\ri0\widctlpar\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0\ipgp5 {\f36\fs22\cf0\insrsid11731365\charrsid11731365
\par }\pard \ql \li0\ri0\widctlpar\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0\ipgp6\pararsid11731365 {\cf0\insrsid11731365 {\pict{\*\picprop\shplid1034{\sp{\sn shapeType}{\sv 1}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{\sn fillColor}{\sv 10070188}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fLine}{\sv 0}}{\sp{\sn alignHR}{\sv 1}}{\sp{\sn dxHeightHR}{\sv 30}}{\sp{\sn fStandardHR}{\sv 1}}{\sp{\sn fHorizRule}{\sv 1}}{\sp{\sn fLayoutInCell}{\sv 1}}}\picscalex1378\picscaley6\piccropl0\piccropr0\piccropt0\piccropb0\picw1764\pich882\picwgoal1000\pichgoal500\wmetafile8\bliptag988111005\blipupi39{\*\blipuid 3ae5609d4efb7ed6fe9eb53a53c2108c}\bin374  »  X.û¼"SystemÃÕ uîƒ9P€$ -ûœÿ�@Times New Roman-  2
Z‡‡èX -ü¬¨™-úÿÿÿ-$ÿÿÿÿÿÿWoWoÿÿÿÿÿÿú-üÿÿÿ-'ÿÿ-}}{\cf0\insrsid11731365
\par }\sectd \linex0\headery708\footery708\colsx708\endnhere\pgbrdropt32\sectlinegrid360\sectdefaultcl\sftnbj {\*\pnseclvl1\pnucrm\pnstart1\pnindent720\pnhang {\pntxta .}}{\*\pnseclvl2\pnucltr\pnstart1\pnindent720\pnhang {\pntxta .}}{\*\pnseclvl3\pndec\pnstart1\pnindent720\pnhang {\pntxta .}}{\*\pnseclvl4\pnlcltr\pnstart1\pnindent720\pnhang {\pntxta )}}{\*\pnseclvl5\pndec\pnstart1\pnindent720\pnhang {\pntxtb (}{\pntxta )}}{\*\pnseclvl6\pnlcltr\pnstart1\pnindent720\pnhang {\pntxtb (}{\pntxta )}}{\*\pnseclvl7\pnlcrm\pnstart1\pnindent720\pnhang {\pntxtb (}{\pntxta )}}{\*\pnseclvl8\pnlcltr\pnstart1\pnindent720\pnhang {\pntxtb (}{\pntxta )}}{\*\pnseclvl9\pnlcrm\pnstart1\pnindent720\pnhang {\pntxtb (}{\pntxta )}}\pard\plain \ql \li0\ri0\widctlpar\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0\ipgp6\pararsid11731365 \fs24\lang3082\langfe3082\cgrid\langnp3082\langfenp3082 {\b\f35\fs20\cf0\insrsid11731365\charrsid11731365 De:}{\f35\fs20\cf0\insrsid11731365\charrsid11731365 Santiago Guzman [mailto:santi@csanz.com] \line }{\b\f35\fs20\cf0\insrsid11731365\charrsid11731365 Enviado el:}{\f35\fs20\cf0\insrsid11731365\charrsid11731365 Miércoles, 22 de Mayo de 2013 07:07\line }{\b\f35\fs20\cf0\insrsid11731365\charrsid11731365 Para:}{\f35\fs20\cf0\insrsid11731365\charrsid11731365 'María Monti'\line }{\b\f35\fs20\cf0\insrsid11731365\charrsid11731365 CC:}{\f35\fs20\cf0\insrsid11731365\charrsid11731365 export@csanz.com\line }{\b\f35\fs20\cf0\insrsid11731365\charrsid11731365 Asunto:}{\f35\fs20\cf0\insrsid11731365\charrsid11731365 RE: CONFIRMACIÓN DE COMPRA- ENVÍO MARÍTIMO}{\cf0\insrsid11731365
\par }\pard \ql \li0\ri0\widctlpar\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0\ipgp5 {\insrsid11731365
\par }{\f37\fs22\cf19\insrsid11731365\charrsid11731365 Buenos días Maria\~ , }{\f37\fs22\cf19\insrsid13053405\charrsid11731365
\par }{\f37\fs22\cf19\insrsid11731365\charrsid11731365
\par Te envió la proforma\~ por lo items abajo mencionados\~ , por favor infórmanos de cuando tenéis la autorización para realiza el despacho y si preparamos lo modelos que están en stock para su envió.
\par
\par
\par A la espera de tus comentarios
\par Un cordial saludo
\par Santi
\par
\par }\pard \ql \li0\ri0\widctlpar\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0\ipgp7 {\caps\f91\fs20\cf19\insrsid11731365\charrsid11731365
\par }{\caps\f91\fs20\cf19\insrsid11731365\charrsid11731365 {\*\shppict{\pict{\*\picprop\shplid1030{\sp{\sn shapeType}{\sv 75}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{\sn pibFlags}{\sv 66}}{\sp{\sn fLine}{\sv 0}}{\sp{\sn wzName}{\sv Imagen_x0020_1}}{\sp{\sn wzDescription}{\sv LOGOTIPO1}}{\sp{\sn fLayoutInCell}{\sv 1}}}\picscalex100\picscaley100\piccropl0\piccropr0\piccropt0\piccropb0\picw6376\pich3201\picwgoal3615\pichgoal1815\jpegblip\bliptag1176076447{\*\blipuid 4619809fe1974716db3325361af31989}\bin3829 ÿØÿàJFIF``ÿÛC


 #%$""!&+7/&)4)!"0A149;>>>%.DIC<H7=>;ÿÛC
 ;("(;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ÿÀyñ"ÿÄ
ÿĵ}!1AQa"q2�‘¡#B±ÁRÑð$3br‚
%&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyzƒ„…†‡ˆ‰Š’“”•–—˜™š¢£¤¥¦§¨©ª²³´µ¶·¸¹ºÂÃÄÅÆÇÈÉÊÒÓÔÕÖרÙÚáâãäåæçèéêñòóôõö÷øùúÿÄ
ÿĵw!1AQaq"2�B‘¡±Á #3RðbrÑ
$4á%ñ&'()*56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz‚ƒ„…†‡ˆ‰Š’“”•–—˜™š¢£¤¥¦§¨©ª²³´µ¶·¸¹ºÂÃÄÅÆÇÈÉÊÒÓÔÕÖרÙÚâãäåæçèéêòóôõö÷øùúÿÚ ?öj(¢€
(¢€
(¢€
(¢€
(¢€
(¢€
(¢€
(¢€
(¢€
(¢€
(¢€
(¢€
(¢€
(¢€
(¢€
(¢€
(¢€
(¢€
(¢€
(¢€
(¢€
(¢€
(¢€
(¢€
(¢€
(¢€
(¢€
(¢€
(¢€
(¢€
(¢€
(¢€
(¢€
(¢€
(¢€
(¢€
)+/Sñ.�¤‚/5‘Çü³S¹¿!Í Ø¸Bu,ß‘«Ep7ÿl¢ÊØXK1ìò°Aùrk øÓÆ:ËÓm
)éö{rßøñÍfêDôá”b¤¹¦”W›±ê• ×Ö–Ã3ÝCûòþuæ?ð�xïWæîæhÔöšçoþ:µ4?
oä;®µHž»Qœþ¸¥Ï'²/êX¾Jço7‹|?nq&¯kŸö_wòªR|AðÔó/þäL¥bEðžÍqæê³·®ÈÕÆ­§ÂÝžæõ¿àj?¥©Ø~Ë+Žõ$ýüÃüKðêô{–úBj#ñC@#¼?öÈ�(øaáÿïÞûl?‘¾è$q-àÿ¶£ü(ýç‘IeßþŽ…ÿ<oïÐÿrüOðùê—ƒþØ�ñªïð¯J?êï¯êTÿJ«/Âx¿åޝ ÿ~‘¥z¦ª;ûR_ù ñ'Ã�ÖiÓýèMY‹Çž—þbhŸï£é\tÿ
õDɃPµ—Ð0e?Ö³.>ø’Ü,ã˜ùå(?¡Å.z‹¡²ÀåU>¶ù¯Õ§‰4KŸõ:­£{y Ö¯Ç4S.è¤GªÀ׃]èZµ—ü}i—1�ÜÄHüÅTŽi`|Å+ÄÃû¬TÒöÍn‹þÀ¥5zUoøþLú–¼2ÓÅÞ ²Ç“ªÎ@þñúÖõ—ÅZ ËK{•îW1·õJ´YÇW!ÅCàj_‡æz­Çiÿ4K²èMdÇþz.åüÇøWSg¨Yê lî¢�xÜ5j¤žÇ“[ ^‡ñ"ÑbŠ(¦s…Q@Q@Q@•Ïø�Æ:w‡”Æíö‹²2°!ä{±ì)6–¬Ö••¦¡M]›òH‘!y*(Éf8W­üIÒôòÐéêoæħ�ø¹'›Å>º(€‹P~è%!�êˆþu×èt½8,·ÿé÷Ÿœb5ú/Ƴ放Øúž®*\ÒþUú³“mSÆ>1r–¢U€ðDËŒ}[¿çZÚg²q&­ÉäÇn?›ð¯EŽ4�"ª*ŒQ€)Ô*k®¦U3z©raâ¡-þóNð~ƒ¦`Á§DÎ?夣{~µ²ªª¡T@)ÔV‰%±åÔ«:Žó“oÌ(¢ŠfaEPEPEPIKE&*�Þ�¦_‚.ì-æÏwŒùÕÚ(*2”]âìr7ÿ ´ ¬˜k7?óÉò?#šæµ…º”9k Èn—²È<¶þ¢½NЇN/¡èÑͱ”¶�מ¿ðOÔ4]OIl_ØÍþó.Tþ#Š«os=¤¢kiä†AÑãb§ô¯¡]D(êO�k™Õþèš gŠe1þ88Šô¬�¶gµC?„½Ú𷦫îÿ‡5ü=<·>°žy ’É3»ubGZѪšU‘Ót«["âCKà1œµn·[-U§RN;]…QLÌ(¢Š)(®Æž)¹¹»ÿ„wCÝ%ćdÏ\ÿpSS)(«�8l4ñ59#ó}î/‹¼za‘´½ ¼Ë‚v<ê7m>‰ê}ꯆþÉrãPñ 9.w}œ·ÌÇÕÏô­ßø&ÛA�n®‚Ϩ0忆/eÿꪵ‘èUÆÃG§yu~��È-á¶…a‚$Š4TA€?
’Š+SÆnú°¢Š(7Z׬4 As)UcµFYÏ Ë¿Åm0“O»aêJ�ëY¿÷ý»N;<·Ç×#?Ò±¼57„#²q¯A3Ýo8 1]½±´ýk MóYK„˰ï õ#)7Ñz�Pø­¦žºuØüTÿZÖѼ{£k7Ij�-¼ïÂ$Ë€ÇÐÆkš2|4•Jùo#¨‚+#HðÍ�æ«ö‰lä‘%‘˜Ý\àçŒã&Ži_tÊ– *rnƒ]ZðO`¬Ý{\µðþœon÷2î
¨˜ÜÄö¥Ú¼{ÇÚÿöƶmá|ÚÙ’‰ŽŒßħáZN\¨òrÜÖ먿…jΨ|TÒ lîÔÉÂñú×k©<),LC+„†¼[Yð�Þ�¡Xêräý ~ù1þ¨žT~#õ®Ãᦿö«ÑçÞÛ Ðäýäôüèj!7{Hô1ù}‡öøWt�™ÜÊâ(šB
8ö®+þ¦“ÿ>7Ÿ’ÿ�vW_ñé7ýsoå^ ¥Ù®¡ªÚÙ3”YåXËÙ8Í:’qµŒ²œ D*J·Ù·ê{‡|a§xŽIb¶Y!š1Ÿ.\ÃÔb·»W„Í¥áMnLWV¯•aÑǯ¸"½�ÃÚí·ˆ4¨ï ·ݖ<ò�ÜQ ßG¹–_=ªÑÖðÿ‡0ÄÍ0^ý—ìw[üß/8\g8õ­ø¦×Ã+nn š_<°_/cr}ëÇ�üŒþ¿?özö�kÚoˆ#P�ÜBIM®WëÓéJ2”“:1Ø<&¥.dùZwîsŸðµ4Ÿùñ¼ü—ühÿ…©¤ÿÏ�çä¿ãSÞxÂVÏsv� (2Î÷ ¯9ÖæÑ¥¹h–RE
œy’HY¤úÃõ©”§ÙÑ„Âeø§jp•»ôüÏC¶ø›¥Ý]Cn–Wa¥p€�¸œz×i^cá\Ë4:–«ºÞ4a$PˆäôÝkÓ«X95ïNeO N¢†ÞÛõÔ(¢Š³Ì
(¢€
(¢€9�ø‰ô{³²Ëê7¿$*¼•‚ßÐ{Ñàï Ç Z}¦ä 5 ÆesÎÌÿ?Ì÷§iþœøžç]ÕfŠy~í¬i’!_Ǿ?™®’¡+»³Ð«^4語úÉ÷}½æ´QVyáEPEPñXÓ-¤ƒOÔô–¼WO5$Iv2ナÂÒ4Oë~{ßͧJƒ ×)‘èy×qâo
ZxšÄÒ43CŸ.TÆz‚;Šä[á<ù;uxÈí˜øÖ2Œ¹¯kŸI‚Äác†Pö®ë»_vÀþ ð¡'‰•~³Fkˆ�VÇSqiqæˆ&ýÔËÆìWiÿ
žó?òƒõÄÿ�hé íí/#¸Ô/¾Ò±°a&Õb=NzT87²±ßK1ÃÑRs®çåoø¯Œ|Bto ‚�¶òí6F;®GÌ߇óÅy ´Íosê‹#FÁ‚ºîRG¨ï^©âoÝx�Tû[ê«j¡"‹ÊÎÁß¿s[ðÕ¿‡´±h
Ï#1y%)�ÇÿÕU(JR8p˜ì. îûÓ–ëUøÛ¡æZ�޵­RÂ[+´¶xe`! ýG=kJÔ¦Ò5H/à'|-œxwˆ¯{òbÿžiÿ|Šå|Qà8¼A~—�\­¤�6Éû½ÁñÐõÒ•9o{šasl.´¥O’/~¿…Ž‚+Øuí–íº) ,§ð¯ðßüŒÚoý}'ó¯Xðׇn´.}>[ñs’cýÞß/#žý;Ö™ðÎM?Tµ½:ªÈ •dÙäã89ÆsU8ÊVv9ð8œ6W‡>�m»›^4ðºx‡Nó P/ ÄßßÔý�y§†µûŸ kc+ùD칄ðHϧ¨¯o5Çø—áüî£öëk¡i+�Þ�/psØõÓœù£¹ž[�§rÃb~ø_™æ+"Ë­¬ˆr¯tbõì~%ñU—†­ÔÎ[‰Aò¡^­ŽäöËAð®Xn#—û]O–á±äuÁÏ­nø·ÁÏâ{‹iVô[ùW=ÙÉúÔÂ2Š}άv'‰¯IJ^â½÷ùt<ËW×u/_©¼�UKb8ËmŠ?óêk²ð½—„´-·7ZÅ•Õðçy–?÷Gõ¨áSËÿA…ÿ¿ýz?áSKÿA…ÿ¿ýz•§vŽªø¼ZJŒ*òG²OüŽÅ|W ;ª.¯jYŽÔÖÅyÌ
¤†â9µÔìpØò:àçÖ½·‹“Ý7‹§†¦×Õæåß@¢Š*Ž ¢Š(¢Š(¢Š(¢Š(¢Š(¢Š(¢Š(¢Š(¢Š(¢Š(¢Š(¢Š(¢Š(¢Š(¢Š(¢Š(¢Š(¢Š(¢Š(¢Š(¢Š(¢Š(¢Š(¢Š(¢Š(¢Š(¢Š(¢Š(¢Š(¢Š(¢Š(¢Š(¢Š(ÿÙ}}{\nonshppict{\pict\picscalex100\picscaley100\piccropl0\piccropr0\piccropt0\piccropb0\picw6376\pich3201\picwgoal3615\pichgoal1815\wmetafile8\bliptag1176076447\blipupi96{\*\blipuid 4619809fe1974716db3325361af31989}\bin87744  `«;«  zò;«A Ìyñyñ(ñy4VÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿLine truncated
\par }{\caps\f45\fs16\cf20\lang1033\langfe3082\langnp1033\insrsid11731365\charrsid11731365 CrANKSHAFTS,CAMSHAFTS,CYLINDER HEADs , ENGINE BLOCKS
\par }{\caps\f45\fs22\cf19\insrsid11731365\charrsid11731365 Santiago Guzman Sancho}{\caps\f45\cf19\insrsid11731365\charrsid11731365
\par }{\f45\fs20\cf19\insrsid11731365\charrsid11731365 Sales manager / Director de ventas}{\caps\f45\fs20\cf19\insrsid11731365\charrsid11731365
\par }{\field\fldedit{\*\fldinst {\f1\fs20\cf19\insrsid11731365\charrsid11731365 HYPERLINK "mailto:santi@csanz.com" }}{\fldrslt {\cs15\f1\fs20\ul\cf2\lang1033\langfe3082\langnp1033\insrsid11731365\charrsid11731365 Direct e-mail\'3b santi@csanz.com}}}{\f1\fs20\cf19\lang1033\langfe3082\langnp1033\insrsid11731365\charrsid11731365
\par }{\f1\fs20\cf19\insrsid11731365\charrsid11731365 Poligono Malpica -Santa Isabel . C/ F Oeste nº44 -45 A. 50016 Zaragoza / España /Spain. .
\par tel: +34 976 571 009 , fax: +34 976 571 645
\par }{\field\fldedit{\*\fldinst {\f1\fs20\cf19\insrsid11731365\charrsid11731365 HYPERLINK "mailto:esport@csanz.com" }}{\fldrslt {\cs15\f1\fs20\ul\cf2\insrsid11731365\charrsid11731365 mailto:export@csanz.com}}}{\f1\fs20\cf19\insrsid11731365\charrsid11731365 \~ ,\~ }{\field\fldedit{\*\fldinst {\f1\fs20\cf19\insrsid11731365\charrsid11731365 HYPERLINK "www.csanz.com" }}{\fldrslt {\cs15\f1\fs20\ul\cf2\insrsid11731365\charrsid11731365 www.csanz.com}}}{\f1\fs20\cf19\insrsid11731365\charrsid11731365
\par }{\f91\fs20\cf19\insrsid11731365\charrsid11731365
\par }\pard \ql \li0\ri0\sb100\sa100\sbauto1\saauto1\widctlpar\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0\ipgp7 {\b\f44\fs15\cf21\insrsid11731365\charrsid11731365 DISCLAIMER:}{\f44\fs15\cf21\insrsid11731365\charrsid11731365 \line Este mensaje se dirige exclusivamente a su destinatario y puede contener información privilegiada o confidencial. Si no es vd. el destinatario indicado, queda notificado de que la utilización, divulgación y/o copia sin autorización esta prohibida en virtud de la legislación vigente. Si ha recibido este mensaje por error, le rogamos que nos lo comunique inmediatamente por esta misma vía y proceda a su destrucción.
\par }\pard \ql \li0\ri0\widctlpar\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0\ipgp7 {\f44\fs15\cf21\lang1033\langfe3082\langnp1033\insrsid11731365\charrsid11731365 This message is intended exclusively for its addressee and may contain information that is CONFIDENTIAL and protected by professional privilege. If you are not the intended recipient you are hereby notified that any dissemination, copy or disclosure of this communication is strictly prohibited by law. If this message has been received in error, please immediately notify us via e-mail and delete it.
\par
\par }{\i\f37\fs12\cf19\insrsid11731365\charrsid11731365 Este mensaje y los archivos adjuntos están dirigidos única y exclusivamente a sus destinatarios y pueden contener información confidencial. Cualquier uso, modificación, difusión y/o reproducción de cualquier persona distinta del destinatario esta prohibida en virtud a la legislación vigente. Si usted ha recibido este mensaje por error, le rogamos que lo comunique inmediatamente al remitente y proceda a su destrucción.
\par Según lo dispuesto en la Ley Orgánica 15/1999 Protección de Datos de Carácter Personal y la Ley 34/2002 de Servicios de la Sociedad de la Información y de Comercio Electrónico, le informamos sobre la posibilidad de que sus datos formen parte de un fichero de carácter personal, cuyo Responsable es }{\b\i\f37\fs12\cf19\insrsid11731365\charrsid11731365 Cigüeñales Sanz, S.L. }{\i\f37\fs12\cf19\insrsid11731365\charrsid11731365 ,y cuya finalidad es la de mantener relaciones profesionales y/o comerciales. En virtud de las Leyes antes mencionadas, usted posee los derechos de, acceso, rectificación, cancelación y oposición de sus datos, dirigiéndose al teléfono 976 571009, o al e-mail export@csanz.com
\par }\pard \ql \li0\ri0\widctlpar\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0\ipgp5 {\f37\fs22\cf19\insrsid11731365\charrsid11731365
\par }\pard \ql \li0\ri0\widctlpar\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0\ipgp2 {\b\f35\fs20\cf0\insrsid11731365\charrsid11731365 De:}{\f35\fs20\cf0\insrsid11731365\charrsid11731365 María Monti [mailto:mariamonti@fdez-insua.com.ar] \line }{\b\f35\fs20\cf0\insrsid11731365\charrsid11731365 Enviado el:}{\f35\fs20\cf0\insrsid11731365\charrsid11731365 martes, 21 de mayo de 2013 20:21\line }{\b\f35\fs20\cf0\insrsid11731365\charrsid11731365 Para:}{\f35\fs20\cf0\insrsid11731365\charrsid11731365 'Santiago Guzman'\line }{\b\f35\fs20\cf0\insrsid11731365\charrsid11731365 CC:}{\f35\fs20\cf0\insrsid11731365\charrsid11731365 export@csanz.com\line }{\b\f35\fs20\cf0\insrsid11731365\charrsid11731365 Asunto:}{\f35\fs20\cf0\insrsid11731365\charrsid11731365 CONFIRMACIÓN DE COMPRA- ENVÍO MARÍTIMO
\par }\pard \ql \li0\ri0\widctlpar\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0\ipgp5 {\cf0\insrsid11731365\charrsid11731365
\par }{\f36\fs22\cf0\insrsid11731365\charrsid11731365 Buenas tardes
\par }{\b\f36\fs22\cf0\insrsid11731365\charrsid11731365 Confirmamos para compra
\par }{\b\f36\fs22\ul\cf0\lang1033\langfe3082\langnp1033\insrsid11731365\charrsid11731365 CANT\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~ ITEM NR
\par }{\f36\cf0\lang1033\langfe3082\langnp1033\insrsid11731365\charrsid11731365 1\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~ 422 000\~ M11…….715 euros/unit…stock
\par }{\f36\cf0\insrsid11731365\charrsid11731365 1\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~ 423 000\~ N14…….1250 euros/unit…stock
\par 1\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~ 500 002\~ ISBE 150…….500 euros/unidad……..dicimbre 2013
\par }{\f36\cf0\lang1033\langfe3082\langnp1033\insrsid11731365\charrsid11731365 1\~\~\~\~\~\~\~\~\~ \~\~\~\~\~\~\~\~\~\~\~ 501 002\~ ISBe\~ 180……710 euros/unit……….stock
\par 2\~\~\~\~\~\~\~\~\~ \~\~\~\~\~\~\~\~\~\~\~ 507 000\~ ISX……1800 euros/unit…stock
\par }{\f36\cf0\insrsid11731365\charrsid11731365 2\~\~\~\~\~\~\~\~\~ \~\~\~\~\~\~\~\~\~\~\~ 508 003\~ QSB 5.9……500 euros/unit……..septiembre 2013
\par 1\~\~\~\~\~\~\~\~\~ \~\~\~\~\~\~\~\~\~\~\~ 509 000\~ }{\b\f36\cf6\insrsid11731365\charrsid11731365 QSC 8.3……700 euros/unit…….julio 2013}{\f36\cf0\insrsid11731365\charrsid11731365
\par 1\~\~\~\~\~\~\~\~\~ \~\~\~\~\~\~\~\~\~\~\~ 262 003\~ 3408\~ 1W5009……..2250 euros/unit…..septiembre 2013
\par 1\~\~\~\~\~\~\~\~\~ \~\~\~\~\~\~\~\~\~\~\~ 307003 1601799\~ C15……2650 euros/unit……julio 2013
\par 1\~\~\~\~\~\~\~\~\~ \~\~\~\~\~\~\~\~\~\~\~ 309001 \~ 3133996………..2300 euros/unit……julio 2013
\par 1\~\~\~\~\~\~\~\~\~ \~\~\~\~\~\~\~\~\~\~\~ 310001 \~\~3133997………..2350 euros/unit…..julio 2013
\par }{\f36\cf0\lang1033\langfe3082\langnp1033\insrsid11731365\charrsid11731365 1\~\~\~\~\~\~\~\~\~ \~\~\~\~\~\~\~\~\~\~\~ 311003\~\~ 1556632……..2600 euros/unit…….stock
\par 1\~\~\~\~\~\~\~\~\~ \~\~\~\~\~\~\~\~\~\~\~ 312000\~\~\~ 1894918…….3600 euros/unit…..2014
\par 1\~\~\~\~\~\~\~\~\~ \~\~\~\~\~\~\~\~\~\~\~ 313002\~\~\~\~\~\~\~\~\~\~\~\~ 3849907…..3850 euros/unit…..stock
\par 1\~\~\~\~\~\~\~\~\~ \~\~\~\~\~\~\~\~\~\~\~ 314002\~\~\~\~\~\~\~\~\~\~\~\~ 3849908…..3850 euros/unit……stock
\par 1\~\~\~\~\~\~\~\~\~ \~\~\~\~\~\~\~\~\~\~\~ 315002\~\~\~\~\~\~\~\~\~\~\~\~ 2827958…..2300 euros/unit……stock
\par }{\f36\cf0\insrsid11731365\charrsid11731365 1\~\~\~\~\~\~\~\~\~ \~\~\~\~\~\~\~\~\~\~\~ 316002\~\~\~\~\~\~\~\~\~\~\~\~ 2827956….950 euros/unit……..stock
\par 1\~\~\~\~\~\~\~\~\~ \~\~\~\~\~\~\~\~\~\~\~ 318001\~\~\~\~\~\~\~\~\~\~\~\~ 1323211…..2415 euros/unit….julio\~ 2013
\par 1\~\~\~\~\~\~\~\~\~ \~\~\~\~\~\~\~\~\~\~\~ 318002\~\~\~\~\~\~\~\~\~\~\~\~ 3264278…..2450 euros/unit…..julio\~ 2013
\par
\par }{\b\f36\cf0\insrsid11731365\charrsid11731365 La idea es que vayan despachando órdenes de Euros 10.000}{\f36\cf0\insrsid11731365\charrsid11731365 .-
\par
\par }{\f36\ul\cf0\insrsid11731365\charrsid11731365 Debido a nuevas reglas para importadores en Argentina,}{\f36\cf0\insrsid11731365\charrsid11731365 es necesario efectuar una solicitud de autorización previo al \~embarque
\par Para ello necesitamos contar con el detalle de la mercadería (una proforma indicando item nro, descripción, cantidades, precios) y también peso y dimensiones
\par
\par Por eso, tan pronto recibamos la Proforma, \~y la información de peso- dimensiones podremos ir adelante con el primer envío.
\par
\par Saludos cordiales,
\par
\par
\par }{\f36\fs22\cf0\insrsid11731365\charrsid11731365
\par
\par }\pard \qc \li0\ri0\widctlpar\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0\ipgp10 {\cf0\insrsid11731365\charrsid11731365 {\pict{\*\picprop\shplid1031{\sp{\sn shapeType}{\sv 1}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{\sn fillColor}{\sv 10070188}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fLine}{\sv 0}}{\sp{\sn alignHR}{\sv 1}}{\sp{\sn dxHeightHR}{\sv 30}}{\sp{\sn dxWidthHR}{\sv 13785}}{\sp{\sn fStandardHR}{\sv 1}}{\sp{\sn fHorizRule}{\sv 1}}{\sp{\sn fLayoutInCell}{\sv 1}}}\picscalex1378\picscaley6\piccropl0\piccropr0\piccropt0\piccropb0\picw1764\pich882\picwgoal1000\pichgoal500\wmetafile8\bliptag-144105531\blipupi45{\*\blipuid f7691fc5c97d4172e946f05fa900779c}\bin374  »  X.û¼"SystemÃÕ uîƒ9P€$ -ûœÿ�@Times New Roman-  2
ZbX -ü¬¨™-úÿÿÿ-$ÿÿWbWbÿÿÿÿú-üÿÿÿ-'ÿÿ-}}{\cf0\insrsid11731365\charrsid11731365
\par }\sectd \linex0\headery708\footery708\colsx708\endnhere\pgbrdropt32\sectlinegrid360\sectdefaultcl\sftnbj {\*\pnseclvl1\pnucrm\pnstart1\pnindent720\pnhang {\pntxta .}}{\*\pnseclvl2\pnucltr\pnstart1\pnindent720\pnhang {\pntxta .}}{\*\pnseclvl3\pndec\pnstart1\pnindent720\pnhang {\pntxta .}}{\*\pnseclvl4\pnlcltr\pnstart1\pnindent720\pnhang {\pntxta )}}{\*\pnseclvl5\pndec\pnstart1\pnindent720\pnhang {\pntxtb (}{\pntxta )}}{\*\pnseclvl6\pnlcltr\pnstart1\pnindent720\pnhang {\pntxtb (}{\pntxta )}}{\*\pnseclvl7\pnlcrm\pnstart1\pnindent720\pnhang {\pntxtb (}{\pntxta )}}{\*\pnseclvl8\pnlcltr\pnstart1\pnindent720\pnhang {\pntxtb (}{\pntxta )}}{\*\pnseclvl9\pnlcrm\pnstart1\pnindent720\pnhang {\pntxtb (}{\pntxta )}}\pard\plain \ql \li0\ri0\widctlpar\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0\ipgp10 \fs24\lang3082\langfe3082\cgrid\langnp3082\langfenp3082 {\b\f35\fs20\cf0\insrsid11731365\charrsid11731365 De:}{\f35\fs20\cf0\insrsid11731365\charrsid11731365 Santiago Guzman [}{\field\fldedit{\*\fldinst {\f35\fs20\cf0\insrsid11731365\charrsid11731365 HYPERLINK "mailto:santi@csanz.com" }}{\fldrslt {\cs15\f35\fs20\ul\cf2\insrsid11731365\charrsid11731365 mailto:santi@csanz.com}}}{\f35\fs20\cf0\insrsid11731365\charrsid11731365 ] \line }{\b\f35\fs20\cf0\insrsid11731365\charrsid11731365 Enviado el:}{\f35\fs20\cf0\insrsid11731365\charrsid11731365 Lunes, 13 de Mayo de 2013 11:29\line }{\b\f35\fs20\cf0\insrsid11731365\charrsid11731365 Para:}{\f35\fs20\cf0\insrsid11731365\charrsid11731365 }{\field\fldedit{\*\fldinst {\f35\fs20\cf0\insrsid11731365\charrsid11731365 HYPERLINK "mailto:mariamonti@fdez-insua.com.ar" }}{\fldrslt {\cs15\f35\fs20\ul\cf2\insrsid11731365\charrsid11731365 mariamonti@fdez-insua.com.ar}}}{\f35\fs20\cf0\insrsid11731365\charrsid11731365 \line }{\b\f35\fs20\cf0\insrsid11731365\charrsid11731365 CC:}{\f35\fs20\cf0\insrsid11731365\charrsid11731365 }{\field\fldedit{\*\fldinst {\f35\fs20\cf0\insrsid11731365\charrsid11731365 HYPERLINK "mailto:export@csanz.com" }}{\fldrslt {\cs15\f35\fs20\ul\cf2\insrsid11731365\charrsid11731365 export@csanz.com}}}{\f35\fs20\cf0\insrsid11731365\charrsid11731365 \line }{\b\f35\fs20\cf0\insrsid11731365\charrsid11731365 Asunto:}{\f35\fs20\cf0\insrsid11731365\charrsid11731365 RE: Solicitud de cotización}{\cf0\insrsid11731365\charrsid11731365
\par }\pard \ql \li0\ri0\widctlpar\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0\ipgp5 {\cf0\insrsid11731365\charrsid11731365
\par }{\f37\fs22\cf19\insrsid11731365\charrsid11731365 Buenas tardes Maria\~ ,
\par
\par Atendiendo al email enviado Sr. Irache\~ , procedemos a enviarle los precios solicitados\~ \'3b
\par
\par
\par }{\b\f36\ul\cf2\lang1033\langfe3082\langnp1033\insrsid11731365\charrsid11731365 CANT\~\~\~\~\~\~\~\~\~\~\~\~\~\~ ITEM NR\~\~\~\~\~\~\~\~\~
\par }{\f36\cf0\lang1033\langfe3082\langnp1033\insrsid11731365\charrsid11731365 1\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~ 422 000\~ M11…….715 euros/unit…stock
\par }{\f36\cf0\insrsid11731365\charrsid11731365 1\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~ 423 000\~ N14…….1250 euros/unit…stock
\par 1\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~ 500 002\~ ISBE 150…….500 euros/unidad……..dicimbre 2013
\par }{\f36\cf0\lang1033\langfe3082\langnp1033\insrsid11731365\charrsid11731365 1\~\~\~\~\~\~\~\~\~ \~\~\~\~\~\~\~\~\~\~\~ 501 002\~ ISBe\~ 180……710 euros/unit……….stock
\par 2\~\~\~\~\~\~\~\~\~ \~\~\~\~\~\~\~\~\~\~\~ 507 000\~ ISX……1800 euros/unit…stock
\par }{\f36\cf0\insrsid11731365\charrsid11731365 2\~\~\~\~\~\~\~\~\~ \~\~\~\~\~\~\~\~\~\~\~ 508 003\~ QSB 5.9……500 euros/unit……..septiembre 2013
\par 1\~\~\~\~\~\~\~\~\~ \~\~\~\~\~\~\~\~\~\~\~ 509 000\~ }{\b\f36\cf6\insrsid11731365\charrsid11731365 QSC 8.3……700 euros/unit…….julio 2013}{\f36\cf0\insrsid11731365\charrsid11731365
\par 1\~\~\~\~\~\~\~\~\~ \~\~\~\~\~\~\~\~\~\~\~ 262 003\~ 3408\~ 1W5009……..2250 euros/unit…..septiembre 2013
\par 1\~\~\~\~\~\~\~\~\~ \~\~\~\~\~\~\~\~\~\~\~ 307003 1601799\~ C15……2650 euros/unit……julio 2013
\par 1\~\~\~\~\~\~\~\~\~ \~\~\~\~\~\~\~\~\~\~\~ 309001 \~ 3133996………..2300 euros/unit……julio 2013
\par 1\~\~\~\~\~\~\~\~\~ \~\~\~\~\~\~\~\~\~\~\~ 310001 \~\~3133997………..2350 euros/unit…..julio 2013
\par 1\~\~\~\~\~\~\~\~\~ \~\~\~\~\~\~\~\~\~\~\~ 311003\~\~ 1556632……..2600 euros/unit…….stock
\par }{\f36\cf0\lang1033\langfe3082\langnp1033\insrsid11731365\charrsid11731365 1\~\~\~\~\~\~\~\~\~ \~\~\~\~\~\~\~\~\~\~\~ 312000\~\~\~ 1894918…….3600 euros/unit…..2014
\par 1\~\~\~\~\~\~\~\~\~ \~\~\~\~\~\~\~\~\~\~\~ 313002\~\~\~\~\~\~\~\~\~\~\~\~ 3849907…..3850 euros/unit…..stock
\par 1\~\~\~\~\~\~\~\~\~ \~\~\~\~\~\~\~\~\~\~\~ 314002\~\~\~\~\~\~\~\~\~\~\~\~ 3849908…..3850 euros/unit……stock
\par 1\~\~\~\~\~\~\~\~\~ \~\~\~\~\~\~\~\~\~\~\~ 315002\~\~\~\~\~\~\~\~\~\~\~\~ 2827958…..2300 euros/unit……stock
\par 1\~\~\~\~\~\~\~\~\~ \~\~\~\~\~\~\~\~\~\~\~ 316002\~\~\~\~\~\~\~\~\~\~\~\~ 2827956….950 euros/unit……..stock
\par }{\f36\cf0\insrsid11731365\charrsid11731365 1\~\~\~\~\~\~\~\~\~ \~\~\~\~\~\~\~\~\~\~\~ 318001\~\~\~\~\~\~\~\~\~\~\~\~ 1323211…..2415 euros/unit….julio\~ 2013
\par 1\~\~\~\~\~\~\~\~\~ \~\~\~\~\~\~\~\~\~\~\~ 318002\~\~\~\~\~\~\~\~\~\~\~\~ 3264278…..2450 euros/unit…..julio\~ 2013
\par
\par
\par A la espera de sus comentarios
\par Un cordial saludo
\par }{\f37\fs22\cf19\insrsid11731365\charrsid11731365
\par
\par }\pard \ql \li0\ri0\widctlpar\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0\ipgp9 {\caps\f91\fs20\cf19\insrsid11731365\charrsid11731365
\par }{\caps\f91\fs20\cf19\insrsid11731365\charrsid11731365 {\*\shppict{\pict{\*\picprop\shplid1026{\sp{\sn shapeType}{\sv 75}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{\sn pibFlags}{\sv 66}}{\sp{\sn fLine}{\sv 0}}{\sp{\sn wzDescription}{\sv LOGOTIPO1}}{\sp{\sn fLayoutInCell}{\sv 1}}}\picscalex100\picscaley100\piccropl0\piccropr0\piccropt0\piccropb0\picw6376\pich3201\picwgoal3615\pichgoal1815\jpegblip\bliptag1176076447{\*\blipuid 4619809fe1974716db3325361af31989}\bin3829 ÿØÿàJFIF``ÿÛC


 #%$""!&+7/&)4)!"0A149;>>>%.DIC<H7=>;ÿÛC
 ;("(;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ÿÀyñ"ÿÄ
ÿĵ}!1AQa"q2�‘¡#B±ÁRÑð$3br‚
%&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyzƒ„…†‡ˆ‰Š’“”•–—˜™š¢£¤¥¦§¨©ª²³´µ¶·¸¹ºÂÃÄÅÆÇÈÉÊÒÓÔÕÖרÙÚáâãäåæçèéêñòóôõö÷øùúÿÄ
ÿĵw!1AQaq"2�B‘¡±Á #3RðbrÑ
$4á%ñ&'()*56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz‚ƒ„…†‡ˆ‰Š’“”•–—˜™š¢£¤¥¦§¨©ª²³´µ¶·¸¹ºÂÃÄÅÆÇÈÉÊÒÓÔÕÖרÙÚâãäåæçèéêòóôõö÷øùúÿÚ ?öj(¢€
(¢€
(¢€
(¢€
(¢€
(¢€
(¢€
(¢€
(¢€
(¢€
(¢€
(¢€
(¢€
(¢€
(¢€
(¢€
(¢€
(¢€
(¢€
(¢€
(¢€
(¢€
(¢€
(¢€
(¢€
(¢€
(¢€
(¢€
(¢€
(¢€
(¢€
(¢€
(¢€
(¢€
(¢€
(¢€
)+/Sñ.�¤‚/5‘Çü³S¹¿!Í Ø¸Bu,ß‘«Ep7ÿl¢ÊØXK1ìò°Aùrk øÓÆ:ËÓm
)éö{rßøñÍfêDôá”b¤¹¦”W›±ê• ×Ö–Ã3ÝCûòþuæ?ð�xïWæîæhÔöšçoþ:µ4?
oä;®µHž»Qœþ¸¥Ï'²/êX¾Jço7‹|?nq&¯kŸö_wòªR|AðÔó/þäL¥bEðžÍqæê³·®ÈÕÆ­§ÂÝžæõ¿àj?¥©Ø~Ë+Žõ$ýüÃüKðêô{–úBj#ñC@#¼?öÈ�(øaáÿïÞûl?‘¾è$q-àÿ¶£ü(ýç‘IeßþŽ…ÿ<oïÐÿrüOðùê—ƒþØ�ñªïð¯J?êï¯êTÿJ«/Âx¿åޝ ÿ~‘¥z¦ª;ûR_ù ñ'Ã�ÖiÓýèMY‹Çž—þbhŸï£é\tÿ
õDɃPµ—Ð0e?Ö³.>ø’Ü,ã˜ùå(?¡Å.z‹¡²ÀåU>¶ù¯Õ§‰4KŸõ:­£{y Ö¯Ç4S.è¤GªÀ׃]èZµ—ü}i—1�ÜÄHüÅTŽi`|Å+ÄÃû¬TÒöÍn‹þÀ¥5zUoøþLú–¼2ÓÅÞ ²Ç“ªÎ@þñúÖõ—ÅZ ËK{•îW1·õJ´YÇW!ÅCàj_‡æz­Çiÿ4K²èMdÇþz.åüÇøWSg¨Yê lî¢�xÜ5j¤žÇ“[ ^‡ñ"ÑbŠ(¦s…Q@Q@Q@•Ïø�Æ:w‡”Æíö‹²2°!ä{±ì)6–¬Ö••¦¡M]›òH‘!y*(Éf8W­üIÒôòÐéêoæħ�ø¹'›Å>º(€‹P~è%!�êˆþu×èt½8,·ÿé÷Ÿœb5ú/Ƴ放Øúž®*\ÒþUú³“mSÆ>1r–¢U€ðDËŒ}[¿çZÚg²q&­ÉäÇn?›ð¯EŽ4�"ª*ŒQ€)Ô*k®¦U3z©raâ¡-þóNð~ƒ¦`Á§DÎ?夣{~µ²ªª¡T@)ÔV‰%±åÔ«:Žó“oÌ(¢ŠfaEPEPEPIKE&*�Þ�¦_‚.ì-æÏwŒùÕÚ(*2”]âìr7ÿ ´ ¬˜k7?óÉò?#šæµ…º”9k Èn—²È<¶þ¢½NЇN/¡èÑͱ”¶�מ¿ðOÔ4]OIl_ØÍþó.Tþ#Š«os=¤¢kiä†AÑãb§ô¯¡]D(êO�k™Õþèš gŠe1þ88Šô¬�¶gµC?„½Ú𷦫îÿ‡5ü=<·>°žy ’É3»ubGZѪšU‘Ót«["âCKà1œµn·[-U§RN;]…QLÌ(¢Š)(®Æž)¹¹»ÿ„wCÝ%ćdÏ\ÿpSS)(«�8l4ñ59#ó}î/‹¼za‘´½ ¼Ë‚v<ê7m>‰ê}ꯆþÉrãPñ 9.w}œ·ÌÇÕÏô­ßø&ÛA�n®‚Ϩ0忆/eÿꪵ‘èUÆÃG§yu~��È-á¶…a‚$Š4TA€?
’Š+SÆnú°¢Š(7Z׬4 As)UcµFYÏ Ë¿Åm0“O»aêJ�ëY¿÷ý»N;<·Ç×#?Ò±¼57„#²q¯A3Ýo8 1]½±´ýk MóYK„˰ï õ#)7Ñz�Pø­¦žºuØüTÿZÖѼ{£k7Ij�-¼ïÂ$Ë€ÇÐÆkš2|4•Jùo#¨‚+#HðÍ�æ«ö‰lä‘%‘˜Ý\àçŒã&Ži_tÊ– *rnƒ]ZðO`¬Ý{\µðþœon÷2î
¨˜ÜÄö¥Ú¼{ÇÚÿöƶmá|ÚÙ’‰ŽŒßħáZN\¨òrÜÖ먿…jΨ|TÒ lîÔÉÂñú×k©<),LC+„†¼[Yð�Þ�¡Xêräý ~ù1þ¨žT~#õ®Ãᦿö«ÑçÞÛ Ðäýäôüèj!7{Hô1ù}‡öøWt�™ÜÊâ(šB
8ö®+þ¦“ÿ>7Ÿ’ÿ�vW_ñé7ýsoå^ ¥Ù®¡ªÚÙ3”YåXËÙ8Í:’qµŒ²œ D*J·Ù·ê{‡|a§xŽIb¶Y!š1Ÿ.\ÃÔb·»W„Í¥áMnLWV¯•aÑǯ¸"½�ÃÚí·ˆ4¨ï ·ݖ<ò�ÜQ ßG¹–_=ªÑÖðÿ‡0ÄÍ0^ý—ìw[üß/8\g8õ­ø¦×Ã+nn š_<°_/cr}ëÇ�üŒþ¿?özö�kÚoˆ#P�ÜBIM®WëÓéJ2”“:1Ø<&¥.dùZwîsŸðµ4Ÿùñ¼ü—ühÿ…©¤ÿÏ�çä¿ãSÞxÂVÏsv� (2Î÷ ¯9ÖæÑ¥¹h–RE
œy’HY¤úÃõ©”§ÙÑ„Âeø§jp•»ôüÏC¶ø›¥Ý]Cn–Wa¥p€�¸œz×i^cá\Ë4:–«ºÞ4a$PˆäôÝkÓ«X95ïNeO N¢†ÞÛõÔ(¢Š³Ì
(¢€
(¢€9�ø‰ô{³²Ëê7¿$*¼•‚ßÐ{Ñàï Ç Z}¦ä 5 ÆesÎÌÿ?Ì÷§iþœøžç]ÕfŠy~í¬i’!_Ǿ?™®’¡+»³Ð«^4語úÉ÷}½æ´QVyáEPEPñXÓ-¤ƒOÔô–¼WO5$Iv2ナÂÒ4Oë~{ßͧJƒ ×)‘èy×qâo
ZxšÄÒ43CŸ.TÆz‚;Šä[á<ù;uxÈí˜øÖ2Œ¹¯kŸI‚Äác†Pö®ë»_vÀþ ð¡'‰•~³Fkˆ�VÇSqiqæˆ&ýÔËÆìWiÿ
žó?òƒõÄÿ�hé íí/#¸Ô/¾Ò±°a&Õb=NzT87²±ßK1ÃÑRs®çåoø¯Œ|Bto ‚�¶òí6F;®GÌ߇óÅy ´Íosê‹#FÁ‚ºîRG¨ï^©âoÝx�Tû[ê«j¡"‹ÊÎÁß¿s[ðÕ¿‡´±h
Ï#1y%)�ÇÿÕU(JR8p˜ì. îûÓ–ëUøÛ¡æZ�޵­RÂ[+´¶xe`! ýG=kJÔ¦Ò5H/à'|-œxwˆ¯{òbÿžiÿ|Šå|Qà8¼A~—�\­¤�6Éû½ÁñÐõÒ•9o{šasl.´¥O’/~¿…Ž‚+Øuí–íº) ,§ð¯ðßüŒÚoý}'ó¯Xðׇn´.}>[ñs’cýÞß/#žý;Ö™ðÎM?Tµ½:ªÈ •dÙäã89ÆsU8ÊVv9ð8œ6W‡>�m»›^4ðºx‡Nó P/ ÄßßÔý�y§†µûŸ kc+ùD칄ðHϧ¨¯o5Çø—áüî£öëk¡i+�Þ�/psØõÓœù£¹ž[�§rÃb~ø_™æ+"Ë­¬ˆr¯tbõì~%ñU—†­ÔÎ[‰Aò¡^­ŽäöËAð®Xn#—û]O–á±äuÁÏ­nø·ÁÏâ{‹iVô[ùW=ÙÉúÔÂ2Š}άv'‰¯IJ^â½÷ùt<ËW×u/_©¼�UKb8ËmŠ?óêk²ð½—„´-·7ZÅ•Õðçy–?÷Gõ¨áSËÿA…ÿ¿ýz?áSKÿA…ÿ¿ýz•§vŽªø¼ZJŒ*òG²OüŽÅ|W ;ª.¯jYŽÔÖÅyÌ
¤†â9µÔìpØò:àçÖ½·‹“Ý7‹§†¦×Õæåß@¢Š*Ž ¢Š(¢Š(¢Š(¢Š(¢Š(¢Š(¢Š(¢Š(¢Š(¢Š(¢Š(¢Š(¢Š(¢Š(¢Š(¢Š(¢Š(¢Š(¢Š(¢Š(¢Š(¢Š(¢Š(¢Š(¢Š(¢Š(¢Š(¢Š(¢Š(¢Š(¢Š(¢Š(¢Š(ÿÙ}}{\nonshppict{\pict\picscalex100\picscaley100\piccropl0\piccropr0\piccropt0\piccropb0\picw6376\pich3201\picwgoal3615\pichgoal1815\wmetafile8\bliptag1176076447\blipupi96{\*\blipuid 4619809fe1974716db3325361af31989}\bin87744  `«;«  zò;«A Ìyñyñ(ñy4VÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿLine truncated
\par }{\caps\f45\fs16\cf20\lang1033\langfe3082\langnp1033\insrsid11731365\charrsid11731365 CrANKSHAFTS,CAMSHAFTS,CYLINDER HEADs , ENGINE BLOCKS
\par }{\caps\f45\fs22\cf19\insrsid11731365\charrsid11731365 Santiago Guzman Sancho}{\caps\f45\cf19\insrsid11731365\charrsid11731365
\par }{\f45\fs20\cf19\insrsid11731365\charrsid11731365 Sales manager / Director de ventas}{\caps\f45\fs20\cf19\insrsid11731365\charrsid11731365
\par }{\field\fldedit{\*\fldinst {\f1\fs20\cf19\insrsid11731365\charrsid11731365 HYPERLINK "mailto:santi@csanz.com" }}{\fldrslt {\cs15\f1\fs20\ul\cf2\lang1033\langfe3082\langnp1033\insrsid11731365\charrsid11731365 Direct e-mail\'3b santi@csanz.com}}}{\f1\fs20\cf19\lang1033\langfe3082\langnp1033\insrsid11731365\charrsid11731365
\par }{\f1\fs20\cf19\insrsid11731365\charrsid11731365 Poligono Malpica -Santa Isabel . C/ F Oeste nº44 -45 A. 50016 Zaragoza / España /Spain. .
\par tel: +34 976 571 009 , fax: +34 976 571 645
\par }{\field\fldedit{\*\fldinst {\f1\fs20\cf19\insrsid11731365\charrsid11731365 HYPERLINK "mailto:esport@csanz.com" }}{\fldrslt {\cs15\f1\fs20\ul\cf2\insrsid11731365\charrsid11731365 mailto:export@csanz.com}}}{\f1\fs20\cf19\insrsid11731365\charrsid11731365 \~ ,\~ }{\field\fldedit{\*\fldinst {\f1\fs20\cf19\insrsid11731365\charrsid11731365 HYPERLINK "www.csanz.com" }}{\fldrslt {\cs15\f1\fs20\ul\cf2\insrsid11731365\charrsid11731365 www.csanz.com}}}{\f1\fs20\cf19\insrsid11731365\charrsid11731365
\par }{\f91\fs20\cf19\insrsid11731365\charrsid11731365
\par }\pard \ql \li0\ri0\sb100\sa100\sbauto1\saauto1\widctlpar\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0\ipgp9 {\b\f44\fs15\cf21\insrsid11731365\charrsid11731365 DISCLAIMER:}{\f44\fs15\cf21\insrsid11731365\charrsid11731365 \line Este mensaje se dirige exclusivamente a su destinatario y puede contener información privilegiada o confidencial. Si no es vd. el destinatario indicado, queda notificado de que la utilización, divulgación y/o copia sin autorización esta prohibida en virtud de la legislación vigente. Si ha recibido este mensaje por error, le rogamos que nos lo comunique inmediatamente por esta misma vía y proceda a su destrucción.
\par }\pard \ql \li0\ri0\widctlpar\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0\ipgp9 {\f44\fs15\cf21\lang1033\langfe3082\langnp1033\insrsid11731365\charrsid11731365 This message is intended exclusively for its addressee and may contain information that is CONFIDENTIAL and protected by professional privilege. If you are not the intended recipient you are hereby notified that any dissemination, copy or disclosure of this communication is strictly prohibited by law. If this message has been received in error, please immediately notify us via e-mail and delete it.
\par
\par }{\i\f37\fs12\cf19\insrsid11731365\charrsid11731365 Este mensaje y los archivos adjuntos están dirigidos única y exclusivamente a sus destinatarios y pueden contener información confidencial. Cualquier uso, modificación, difusión y/o reproducción de cualquier persona distinta del destinatario esta prohibida en virtud a la legislación vigente. Si usted ha recibido este mensaje por error, le rogamos que lo comunique inmediatamente al remitente y proceda a su destrucción.
\par Según lo dispuesto en la Ley Orgánica 15/1999 Protección de Datos de Carácter Personal y la Ley 34/2002 de Servicios de la Sociedad de la Información y de Comercio Electrónico, le informamos sobre la posibilidad de que sus datos formen parte de un fichero de carácter personal, cuyo Responsable es }{\b\i\f37\fs12\cf19\insrsid11731365\charrsid11731365 Cigüeñales Sanz, S.L. }{\i\f37\fs12\cf19\insrsid11731365\charrsid11731365 ,y cuya finalidad es la de mantener relaciones profesionales y/o comerciales. En virtud de las Leyes antes mencionadas, usted posee los derechos de, acceso, rectificación, cancelación y oposición de sus datos, dirigiéndose al teléfono 976 571009, o al e-mail }{\field\fldedit{\*\fldinst {\i\f37\fs12\cf19\insrsid11731365\charrsid11731365 HYPERLINK "mailto:export@csanz.com" }}{\fldrslt {\cs15\i\f37\fs12\ul\cf2\insrsid11731365\charrsid11731365 export@csanz.com}}}{\i\f37\fs12\cf19\insrsid11731365\charrsid11731365
\par }\pard \ql \li0\ri0\widctlpar\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0\ipgp5 {\f37\fs22\cf19\insrsid11731365\charrsid11731365
\par }\pard \ql \li0\ri0\widctlpar\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0\ipgp3 {\b\f35\fs20\cf0\insrsid11731365\charrsid11731365 De:}{\f35\fs20\cf0\insrsid11731365\charrsid11731365 Vicente Irache [}{\field\fldedit{\*\fldinst {\f35\fs20\cf0\insrsid11731365\charrsid11731365 HYPERLINK "mailto:virache@csanz.com" }}{\fldrslt {\cs15\f35\fs20\ul\cf2\insrsid11731365\charrsid11731365 mailto:virache@csanz.com}}}{\f35\fs20\cf0\insrsid11731365\charrsid11731365 ] \line }{\b\f35\fs20\cf0\insrsid11731365\charrsid11731365 Enviado el:}{\f35\fs20\cf0\insrsid11731365\charrsid11731365 lunes, 13 de mayo de 2013 11:55\line }{\b\f35\fs20\cf0\insrsid11731365\charrsid11731365 Para:}{\f35\fs20\cf0\insrsid11731365\charrsid11731365 }{\field\fldedit{\*\fldinst {\f35\fs20\cf0\insrsid11731365\charrsid11731365 HYPERLINK "mailto:export@csanz.com" }}{\fldrslt {\cs15\f35\fs20\ul\cf2\insrsid11731365\charrsid11731365 export@csanz.com}}}{\f35\fs20\cf0\insrsid11731365\charrsid11731365 \line }{\b\f35\fs20\cf0\insrsid11731365\charrsid11731365 Asunto:}{\f35\fs20\cf0\insrsid11731365\charrsid11731365 RV: Solicitud de cotización
\par }\pard \ql \li0\ri0\widctlpar\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0\ipgp5 {\cf0\insrsid11731365\charrsid11731365
\par }{\f37\fs22\cf19\insrsid11731365\charrsid11731365
\par
\par }\pard \ql \li0\ri0\widctlpar\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0\ipgp1 {\f37\fs22\cf19\insrsid11731365\charrsid11731365
\par }{\caps\f91\fs20\cf19\insrsid11731365\charrsid11731365 {\*\shppict{\pict{\*\picprop\shplid1032{\sp{\sn shapeType}{\sv 75}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{\sn pibFlags}{\sv 66}}{\sp{\sn fLine}{\sv 0}}{\sp{\sn wzName}{\sv Imagen_x005f_x0020_1}}{\sp{\sn wzDescription}{\sv firma correo}}{\sp{\sn fLayoutInCell}{\sv 1}}}\picscalex100\picscaley100\piccropl0\piccropr0\piccropt0\piccropb0\picw15584\pich2064\picwgoal8835\pichgoal1170\jpegblip\bliptag-711381721{\*\blipuid d5992d2759c6907e7150c04256e8e528}\bin10112 ÿØÿàJFIF``ÿÛC


 #%$""!&+7/&)4)!"0A149;>>>%.DIC<H7=>;ÿÛC
 ;("(;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;ÿÀNM"ÿÄ
ÿĵ}!1AQa"q2�‘¡#B±ÁRÑð$3br‚
%&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyzƒ„…†‡ˆ‰Š’“”•–—˜™š¢£¤¥¦§¨©ª²³´µ¶·¸¹ºÂÃÄÅÆÇÈÉÊÒÓÔÕÖרÙÚáâãäåæçèéêñòóôõö÷øùúÿÄ
ÿĵw!1AQaq"2�B‘¡±Á #3RðbrÑ
$4á%ñ&'()*56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz‚ƒ„…†‡ˆ‰Š’“”•–—˜™š¢£¤¥¦§¨©ª²³´µ¶·¸¹ºÂÃÄÅÆÇÈÉÊÒÓÔÕÖרÙÚâãäåæçèéêòóôõö÷øùúÿÚ ?öj(¢€
(¢€
(¢€
(¢€
(¢€
)*)î­í—tóÇõw
?Z“z"j+çÆ~´È“U€‘Ú2_ùV\ÿ|?|¿´ÌÙ‹õ"¥Î+©Õ & 7÷…ÀKñbÈgÊÒîÓsªÿ�T“âÌßòÏHAþôÿýjŸiçTr|l¾Çâ¿Ìôª+Ë[⾤~æ›j>®Æ˜~*ë¥��ÿ¾¿Æ—µ‰¢Èñ¿Ê¾ôz­åð´õ¯ùô²ü›üiÃâ®®:ØYûëühö±ö7²ûÑê´W—§Åm@}ý2Øý$aV#ø²Ùýî�ÿ|Oþ"Ÿµ‰%Ç/±ø¯ó="Šàáø­¦±ýö�uû¥[ü+F‰˜áçšúé þ™§ÏÔçž[Œ†ôßçù]•kâ�
ô�«lÄö2?‘­4‘$PÈÁ”÷S‘Tš{s§8;M5ê:ŠJZdQ@Q@RPÑIšÍ¾ñ.‡¦¹Ž÷V´�ÇTi†áøu¦“{ ´·4è®mþ!xI:ëp÷Cä)£â7„‰ÿ�ÌCê�þ~ʧò¿¸\ñîtÔV^:ð´ç ®Ùäÿyöÿ:Ù·»·»ˆMm<sÆz<nÄTÊ2Žèi§±5”TŒZ)( ¢’‘¤EeV` p žOÒ€E5$Ir0e=ÁÈ¥ ¢Š(¢Š(¢Š(¢Š(¢Š(¢¢žæ X̓ʑ þ'8:�”ð´Ñ]Dñ§Þeq…úÓ³µì+«Ø³EWûu®#?h‹ýü|ßOZ§e¯Yßj3ÙÂÜÃÆâF÷ÛëŒSP“M¥°œ¢šW5(ª±êV2ÜxîáiGT ¥mBÍ&X^ê%‘‰ Œ“G,»™w,ÑUá¿´�ṊDŒáÙ\¿Z-ï­n£i-î#•ï20 }ir¾ÁtX¢³®u«H쥹¶–;Ÿ(€ÊŽ8ÉúÕˆoí'Y W1H"ûå\¿ZnJí š-Úåš*¬:••Ê»Cw ‚?¾UÁÛõ¤�¬¢U·¸†Y"RYƒ�¯¥²ì>eÜ·EPƒSWžXå ÅJÎ\ù³ßðëRÍ©ØÛ²,×pÆÏʆp3G$¯k ™Z÷-QH##¥-IAEPEPE^öþ×O·7—Áõgl
“nȱMwHÔ³°U’N¯>Ö¾(Åh´k4Ž<ù¸_ÁzŸÆ¹´ƒÅž3“syóDOÞså¿Ðþµ“¨¶ZžÅž«�´®Ô#ç¿Üz§ãÍM% ßÚdÁn7þ½?ZåuŠ×nJéÚ|qÍ3?�Å[Ò¾¡_U¾iüò·Gýôy®·NðÆ‹¥öM>aül»›ó4~ñù¹ex…:�î_×Éžký£ãŸÿ©7¦6ÿžIå'çÇó© ømâæß{<ÔË)‘¿Oñ¯YÅ-Éud¼ê¤t¡Áy/ëò<òÛá< uªÈÇ¸Š ¿©ÍiÃðÇÃñ�Þ©�ûRãù]…^Î=ŽIæ˜ÙïQü´üŽr/øf/ù†«ÿ¿#ëVÁ¾Nš=·â¹­º)òDZÎñx‡½G÷³þ?ÿÐÓþýŠFð‡‡X`èö¿‚b¶h§Ê»õšÿÎþösïào I×IˆºÌ?­U—ῆäû¶ÓGþäÍýkª¢—${GŠŽÕ%÷³†¸øW¤¿ú‹Û¸¾¥[úVlÿ çû6¬�è%ˆ�äkÒè©öqìtÃ7ÆÃíßÖÌñûŸ†Þ!ƒ&$·¸û’àŸÏ‹wáÍnÇ&ãKº@?ˆFX~c5ï4Tº1èvÓâ L~8§ø:0ÁÚÃÐŽj{kÛ»6Ýku4þ™ÈV½êóJÓïÔ­Ý”ƒýøÁ?�s·ÿ ´ ¼˜[7= O‘ùÔ:-lz4óü<ÕªÁ¯Å%��üEe€nÖåGðÎ�¿Qƒ]6ŸñVÂêZ{Çêð6áùk7Qø]©A–°»†éGEqå·øW)¨hú–”ûo즃ý¦_”þ=)^¤w7T2¼oÁkùhþí?#Ú´ÏhÚ¸Îþ'sÿ,ØíoÈÖ¦s_: ƒÈèE{‡ƒåð–œò;;˜¹f9'“ZÓ©Í£<,Ó+Ž*p•Óv³ÿ3rŠ(­O +�ñ¿�O†„VVP �Fàe䄤O°®º¸Ç}3BñŽ¡­ë÷–Öïr+í¹„aFã�Ó&µ¤“•Ú¿—r'{hAáÇñ&¹¦²ë7S@×®r‹‰¢…x8ã ±8Ð]§…t $ ÑO÷š Ì~¤äš´—)wl/tÆ‚è8XIò°ôÈÍgÏâ+»"E߇µ£øí‚οøéÏéMÊRo—O!$’×SMtË[eúD¿áN:}‘ëgÿ¶KþÏ7Ä=#‰ÓP€Ž¢[)ô¤ÿ…‘á³÷gºcè-$?Ò—²«Ù‡<;›²hºTÀ‰4ËGûÐ)þ•—/‡¬´YN¥£Áö6_øø†dïòôÜ:ƒíŠd^6µºâËHÖ.�ªY2�Ͱ+JÒóQ¼ Ë¥ý’#×Ϙ#ýÕÏó¥j‘Ü~ëØàÇ$ð¾·%®¹^éë.Õ¹òvN̬«¿Ôå{ïK.œÍ#MhZ6ÁlãÕG[Ö|3 hÚ®¡j‚TòÚl•þŸ�/†­ntoCmy gµ�ñ$gxd•#׌V³jIIFÏó"7WWº#]U2¡3•Œ¾P †>@ß’?ÛÊñÏJ‡û^Û }G Œ¨H!qô(2Ú&«E­jÚø¥ÓɶÕf�Ÿc2’Øþ»Tš®£%ôˆ‚÷0@°01àŽOÍÏùéZª9­uý[üÌ>±[¤ÿ«ÿ‘i´=HÀûnä-ˆÂ†˜çh$²ç§9ûT¶z=ü:¥¼óÊfHsûǘ–Ç–nÜc9ÉϽQ½Õnb{…M[gÙ Gƒå_ô¢zŸN*ä·wïçJ.šÐÆ#
Âç>¿xÔºS¶ë_øæZ­Û_¡Uô}^Î ÙÊÈ÷h’³+–�åˆì·é]�»[DÑ�Ø Ã4…Ë “žŸJÆžòòkQpîÑ�ÍfTm»cqŸJz]\»[Áw~-Ç”ïæ£©ÞC` 㸨•95vÑJ¬Sµ�Ô•$,ƒ8l‡ÒŸ\ê´ÐÏssËûr!ŒµƒŸÎ’-Nv¾o.y n“`HêH+Ð…+Ï­O°of?n–è處³êIéMIc�°G Tá€=ZçÞâé,�¥¹3ùÖrF†: tç¥-½Ô‘jÓ#?“Ê p3½„kò{qÏ¿J~ÁÙ»‹Û«­ŠŠÁÑïæ¸ÔJ�á’1DެG?ìŽ:ô­êÊppvf°ššº
(¢ °¢Š(›ñqq ¨û�<Ï™Êòýö޵�gctÒjê¶ÓmžÔù{¡òÜ‚8üWyEuSĸC‘/ê÷9çAJ\Íœ ¸¸¹þÃŒX\ªÚI¶GhÈxžÒÀA­jvÉhñÌêâÍ©�{öȮތUËÝÒ_ÕîJÃ-5þ­cÏc´y­l,m´é¢Ô!Ÿt²˜Šàg®ïóÒ·.¬<ËP›RÒIx;9eÊò=º×MŠÅÕu©,u$´W³ˆ4>fû©ŠÎ00**c³·õ{šÑÁ¹¾Xêÿà5k d¹½[XS„Aó…bH¡8íPýŽâòÖ‡í23[„ýä ~s·dã#>õ®ºí²y¨é+É '•2ï ŽzÓÄÚjG›¦`èÏòÂĪ©Ã�ÆZÍb¬­§õoò4ú•FïÊõÿ‡(_˜olç[]&T>Z£;C°ýñòc¿z—T¶h¯. ­’ȦÈ.ÁU¾~˜p9ÅXoÃÝ¡Fv€’‰,]BÜ}8§iÚìw)=¤,ˆÈü¬øÚ9úŠK“I[‘OVÜÍv2sË5Ó„¸‘ZÂDWk_(ýÐõ«·6^ZYy6Åqe*6Ôï°`ƬÅâ+{›ûk{x'tœ¸óLd(+מüÓ¯õKË;�~Ȇ×ÌH÷™0îXãå\sŒ÷÷¦ñ]Rþ¬/©M>W»ïëçæd› —‘g;¥½µ»5»/`�¨ôõ§jM4ó^yvò š!åˆí74Ãov?w1Wìµ¹î%O6Ð,SÄòÛ˜ßs0SÐŒu9–ZþêÁg·°Ds$Šâip±$eˆÏ'©ýo[ÛúÐkG§ÍyÿÁ4´ì�6Ø0 ˆ”Fâ¬Õ]6ïíút~Y�Í@ÛIÎ*Õ`Ýõ‹‹å}Š( AHH$ô¨nï-ìmžæêUŠ(ÆYØà
òßxÇQñ5×öf�ÉnçhD¼›ëè=¿:‰MDîÁàjâ¥îé»{#£ñ/Ä[M8½®–îäpdÏîÐÿSô®:ÓIñ'�îÅÌÍ#ÇŸõó|±§û£¿á]O†¾ÁlëZÛ<ÑnÈŸ_ïÒ»ÄD�"…U
¨å”õ‘éK†À®L$y¥ÖOôþ­êrÚÃÝ#JÛ-Â}ºàs¾Qòƒì½?<×RªB¨©ÔV©%±âÖ¯V¼¹ªI¶QL’T†6’GTEfc€©¦b>Šæçñÿ† b¿ÚaóÎ6aùâ¢ü4åêQõ…¿Â§ž=ε�Å5uN_s:š+›‹Çþ•Âÿh„Ïw�€üñ[ö÷0]À³ÛÊ’Äã*èÙñ¦š{T¡V—ñ"ת±-V^¯â=+Bh×Qº4¹(»KÒ†í¹§:’å‚»ò5(®zÛÇ^»¹ŽÞüÉ+Pc` =9"ºÍ §±U(Ô¤íR-z« E%s’xÿÃqJñ½ù ŒU‡”ÜøPÚ[…:5jßÙÅ»vW:J+NñŽ…ªÞ-¥�ðyœªQ—8ôÈ­ºOaT¥R“婟ž‚ÑYz¿ˆô½ â]FàÂf§È[8ëÐ{Ó´}N×RWÓ§3,$;
àž�hº½‡ì*ò{NWËÞÚ}æ•ÎMãßA4�Ë|Uãb¬<¦àƒƒÚ™ÿ Ã?ô?÷éÿ—4{›,%ê©ËîgML’4•
HŠèz« ƒ\çü,/ ÿÐ@ÿß§ÿ
šÓǾ»ŠÖÞô¼Ó0D_)†Iü(æ�q<&*æTÖ>hš�g‚#c1þ8>î}×§åŠÚÐt×Ò4Km>I�m.rkFŠRwDÔÅV©MSœ›K¸QEG8�«‡Ô>Eâ/_jšÍÄÂU-¡…€;BŽIíÎx®â¼ÓÄu?xºöÀÛÅwf…
£|®¹PN{žâ· ª9?g½Œª8¥ïÖ^½ð�Ù¼ðõÜ·6¬Ò4ùØ|ãÕ³~½3]Œ,ð¤©�¬2 õÈÁñ3G:=¶£w źÜJñ
©\g8íȧϮxÆš}Å•¦³wmäÇçÊðn‰•\är9éNp©-f¾aAiu�4Qÿ¬•ý昷V¤án!'ÙÅy>Ðu›“�ã5º“i}�æÚ:žµCþ? !ËøÞÌýØI?δXjoí?¹�êË·â{ˆ Œƒ‘ê+\:µ÷üKt†¬ã÷÷®8…OdÜþB¸]:ÛÃÔÒK�ßK4[XÁ`ŒÈÈäGzé/þ&h–zlÑEup—éT Êã9É㨬ýŒ”—"¿È¯hš÷´)Ÿ„Z#[0{Ûç¹nLìã–õÛŽk£ðµ…Î�á¸,5Rö»Ó~x(í?Lb¸_üHס±±¹³¶¶±‚ùZH™›Í�…lG~µÞY_I­ø>;ÁónìËl_ïè?ªÞÙA9»¡ÒTÜí ‹>™§ÚVkU·n<ÀÊþ=)²ÞiV²%¬·‘<£ 2©aÛŠá›ÃÚ¯öKébsh–ßjDÇYŠòñìÙj¿wcr°ë6réÜÜj~Ï2Æ@Ø¿‡i¼ïk>Ç·õ
ÙT¿Ýµ×ùÝú_Ÿ¥›Å³ó-MÌc+Wz�aÚ„Ôt¹Då/-\C̤H§g¹ô®Sû7R‹P¸·°Šà}¦'q²y{CÇ'^HSžÙçÐl­âЮ#{…®bh@óUO̪‹ž}éûIv#êT´´··m=%÷Üêc½Òïa;›Yã•öŒ2°fô÷4âúsF½±HäòÀ%p¯éì}«”ºÓ®¯'Ô5k=:h65¼–ðºly^3–;{d{Ó4­P‹V¶Š{i´ò-üîÝ`*}òTþ{I^Ö‚¡ÊåÏ·M/µÚþº�¬žLQ³ÈQ~ffÀÍ"Ã%Õ/É`£æªšÅ¥ÅýºZÂURGVa¸ãò@”¶:Ô¬çUÆ%c
ŽNvû®=«G&žÇ(Âq¿2L輸ñ‚«Œc§oJFH”Á@ÎI8ë\®šº”“`†á„AD‹$Ä k†#wNJœRÉ¢êÒ¤‘ÌUx0iÏ,6ð9õ¨üjyÛZ#g„ŒeiM/ëÔéKÙZʱ—‚$?*ä)cíëN‚öÖå™`¹ŠVO¼Á#ëYº�¬÷P¢Ø‡ƒå2ÊCðržÀòqR[Ø]!žpñÃ4ÓÙMÙŒp«Ûsõ&ªîæ>Κ…ï¯õýסd#i Ü!¶³yƒ
} «
Á€e ƒÈ"¹¯ì»Õ»ûZØGµYÑŒªCaYr§nzÜÓmÞÓM··�‚ñƪqÓ QÞã«NWŒ®Z¢Š*Žp¢Š(¢Š(ªOaêfõÈoÜù[
‚>ösWk˜×D¿ÚEÔJåQ|¸ðãqÉÿVËÀo]ÃÓµL´Fô"ç.Tì^ºÐ~Ó è.vù·>~
^€m#¸â¢´ðâÚÛ<"è°h%‡>X\olçÒ¨O«ë ‡w„m¥LEŒcxŽ0r©Ïj%½ÕVSq“H:ÄL8»×ç#@'뎕�á{ØíTñª<êßð;ؾ<5M$ñÜšA±Ü/ÞM�6ŸÈïGü#Î&B—î±…Þ?,ÍsØM¯õ¦€ºL~DÜ¥`Ï™ó€3�;ÐZ�®õHu9O�3H‹åÆ<Œ¬ø�ã8¼zÑîöCûkþåÿ lC£>Âc¹9´/œ§ßVê=¾´Û�&îmX_ õ …à wÁÏSëY‘ê:ÜÎÊ\ÄÍ"£(‡&,¸dcîç©>µ­ªÃ1N“Mû»˜÷*pdd¶;~•JÍhŒdªÂkšJî뿟n·þ�Ý?E6W)#]´ÑÀŒ–ñ”ËRA9=úQ\èSMh¶Ñ_ùq™ÞWV‹p“s´ŒŽ} »¶¾Ôv¬·Y•
ù�´WœqŒJ£¨Cx’j>\“²¹€’Ù!SqÞÀuÇ4šVØquO�tè¿/™ÐÚÇ$Vé² F *mðíSVn…¼iª¬vNFåÉÁòµiV‹cŽjÓh* ËÈ,-$º¹�GK¹˜ö185æ^ Ô/<o¯®‡¥7ú ™$þGV>ðïJRåGN õ‰êí«}—õ±CQÔ5oˆ:ȳ°�’Î3•C¨þûûûW¡xoÂÖ>µÛù—?y;™½‡ ö«:‡g Ø-¥š`uw?zFõ5¥S[W¹ÑŒÇûHû –šéßÍ…QZXQEWñ2âH|/åÆÅDÓª>;ŽN?Jì+Æ6š~¡¢5¦¡{�v)d`qÓëS=bμ ã L%%¢hò� èöúæ©öK›å³M…·¶2ÇÐf»øe¥7Ý×\ý�spø"öúW�NÔ4Ûâƒ'ɸä¦)íðëÄ©÷m"?îεÍeðÜû EhÎw†%CÊËõ³,ëŸo¬d‹û)ŸRGvÐCù×MðãMÕ´¨¯mõYmâfVˆ9Ï9ÆÒ¼ÿSÐ5½ [è$�¶«¬¹ü vß õÛËÉ.tÛ¹Þe‰‘3œ•ÁôéU síc—«ËýøÎ=í®þNÇ{<ÉoÍ+HÔ³1èë^â-fOk“^v1Ù
z è>§¯ã]×ÄÏ}žÍ4{wýíÀÝ6;'aøŸå\7†®ôÛ f+ÍQex ù‘#]ÛŸ¶}‡ZuewÊg“a]2Å8ݽ——ü¾«¤Þh—‹ovž\¥E#ÐóùŽŸ…z÷ƒ5ñ¯hq¼Œ Ô»œz‘Ñ¿ýk‡ñŸ‰´?YDm£¹K¸ägŒTõçñ¬¯ëÇA×£’G"ÚÝÎ=füõ©‹P–›¬=\v š¤mR?×ãùžÙ_=ßñ¨Ý×gÿÐ�}`9¸¯žõù]ÿ×gÿÐ�]n‡|u>_©5å�ˆäÝñí’7SÔu zOˆ´ßÞ[È ïèÃØÕoxa<E [˜€[Ø!S úð2§Ø×—iz•e¹ˆæ…ŠÉq¸wSS­9y2PÍðÎÚT�õ÷?Á��Å�øúÓ?Ü“ù­ZøOÿšŸýt�ùÈøƒªÛkVÚ=õ«f9#“ õS•È>âµþǦ§ÿ]#þFšÖ©•XÊ/,•šÿä„»øZn¯'¸þÖÛæÈÏ·ÉÎ2s޵V…ñÚÂó\k©H2Îðàù×gâiÞ·Ýu&é˜~î9vÿîkÊ5¯jÞ+½X˜1FlEi$gúŸz&¡𑀩™bR—?,[/ÃC7PŠÎ ¦ŽÆéî¢^<Ö�`cì3Òº_x[Q½Õ-uRžE¥¼‚@î0dÇeÖ·<-ðå Ù{®*É/T¶*¿ïzŸn•ߪª(U0
!K«+0Îb èÐ|Ý¿ËüöEWAò�EP•á¾:„\üH¹·=%–$üÕE{•x—‹ÙGÅVÉñóoü’»p_ô9ñ
õ9ËU–êk}-‡È“¹Ç¹À?ú t??ÖkŸö
—úS,4ñÄ{ë^ÖÏtøôX�æ)~02k˜ ÿĪ_é]õ$œ»/Äå‚´�߆ò3Éÿ^3!\ݽ·ŸÛ�ÌÿÇÕOþ…]'Ã6SâwÁñå7òCÂÖâõu¨F þË•‡ÕYOôªo–r~Ÿ¨’¼Rõ(JÒ_Åu}/-‰?öQú-uúO„çñ?èÍ”]Ú]ÊȬp$\ö<
çma_øAµ¾>kè#讨«“[Ý?Ã�>òÙ¥A{2ÊѱCÁ8íÇëJ¥Ý”]µýï°hþ#Ô|)yýŸ©éëqoaí.££ÏR„Ž?‘¯mÒ¯,ï´«{» ÖXÃFízcµx&­¬Ûj:�h‘¹º²Ii_�ùl¨©¯bðm¤ö^³‚å$3a‚$�Ð×. •I«;›Ð“»]‡Í‹b¿˜»_Nî=1NfTRÎÁT ’N®Ú-I<?áÇžæÝí|ûm±¤8ãŽwsùV}ƵqwÔFöI¢º±¹gŽYUˆ |¿"�Ýž¼dšåTnôfþÐô…t|í`ÛNpi#ž‹¥I
6Öiô5‡¢yBÛY36ȾÖûÛ8ÀòÓ'=ª‡‡fÑÞõõ -,í"¶Gº‡‘2™ σ<òsÖ£“r¹¶:ÒÊ) Ðg­G=ͽ¬~eÄñ™Æé(ÏÔÖ-åª'ŒtË­ò3ɈrU@QÐt‰ÔìY®­í®$1}¶-öògäa½;ã4”nÐ_s¢Ic‘U‘Õƒ © �jupÞ$ZÞ#›%†Öð$v§|R2°9Œ0äHÞ”ÛmkPwšÚNBÚâO9'd/.ÖÁ
ÈíÎ+Obúíè4Ã<K”È‚1ÕË Ƹö½¹·½m:ïW¸‚Ê+·CvÌ¡ø�P¾1Õ›ëŒS_iøXçz¸1±Þë€ß½êG¥O²ÛPç;n`¸RÐM ŒÊ•§‰�¤EDûÌX>¦¹G/ˆ®aŠk&Y`É¥ ‰øºüÇ<cPÅ ­®™mÆ?³âÖfyÇrã/´¹=Fí¼žø§ìõµÇÎvmsF²<Ѫ66±`Ï¡©+ÎfH%Ø«-¥µ–ë³k-ä{à(XqÎrAôè vúÐ,Ç$gìéòÈrÃ�ÔÒ�>UpŒ®Í
(¢²,(¬_ÞÜiÞ¾¼´‘£š$@$|æk.ãÅ2ëš\1Øj6�°™¦[ˆB ¶ÆH“×#Ú´�9I]yþnÇ]Epü@’÷OÔa‚8­îc±{˜d‚àM³i ÆsÛ"º T¸–ËV¸¹�Ëö[¹U
ªΜ¨Î*ìJI›ô˜®šþ«{©i×…Åìqjq»*Oy20€‹o̸ÞûÀV¿‹oõ‹Í%¬çŠ)oáŠ~ ’MÍ÷G`¸ëÞ›£%>K‡2µÎšH£•6H�— àŒŽ9ì
Åñ]Æ£o¢±Ò›/"(Û·Ì*OͰ7ñœ\�lj5[ 'S6:•ÔÓB±2Áª[ˆ®`ÜáY¾î×S�=Žh…M]•�HÀ£ÆÞøüiÚÀÓ®láVIcŠU@É—ÇÌ«ŽTÜ‚}(´ñäòIo5æ‘ö{ ›‰m㸆;“vI\tùMÂ¥¯`æGe�F+�°ñ«©ëú3=™³ÓXÿ|Ê¡A]Ã)ïøÕ]wT»Oê6ÂûXŠ;{hžôûq( Cd·Ê}¥
Œ¯oë{2;š0+…¼Ôõ9¼7g¬ÍâjÑ|¨¬£Vk‹£ž0AÈÎÑïSjɬÈÚT1ê÷–š¦¤<1@A•ðTž:uêEÅõÒc´¥¦¢•@¥‹1“ÔÓ«ŽGÇzÜÖÖ‘hú~ZÿP;/UCÁ?�Oδü-áÈ<;¥$
\>y?¼ÞŸAڵ̆5.:1Q‘øÔ•<ºÜê–'÷
„–ïÍôù ¢Š*ŽP¢Š(¢Š(®cǺη¡³O2x$*wa‚ü×OII««P­*#R;£Áì¤ÖôÃ-¬wV“ãk~äò="´��üZ¼ÉÖÙ½›…TõÖJ“[3ÜžuJ£æ©A7ýy©ëZþ»C}$÷�¹QaÀϯºïi:�ö»©A$+äâ8Ê�ì$ã߀+Ñv�ÐbŒSTìîÙŽ#7ö”}„)¨ÅïoømÔN©­jÒÝËipÓ\IÀòÛ°;p+¼¶øW§›h�ÍíלPy›
íÝßt®ò–…I-õ|ê´ãÑ\‰v8oøUZGüþÞ~kþÅxŸÂ÷¬ÖÐÇ4öî¡¢�!$ŽààuÍ{u&)Ê”ZМ>s‰¥>i¾eÙœ§€5‰ïôagx’%Åž.¤nOá<þUå—öwfþè‹IÈ3>1xûW¿bŒQ*wI\0ÙªÃÖ©Rþ.—Ûð ²è01û¥þUÃüBð‘¹S¬éñ2�ôˆÔrãûÀzŽõßãUJ*JÌàÃbªa«*°ÿ‡ò>{û%îпe¸À9Ël*ôo…�Ë ž§æÄñ“"½HÏÖ»ê1Q\®÷=<frñT].K_ÏÎý�¼‹Pº¼šiá¹–Gs—hØ“ÍI§Ï¬éR4¶ s°Áe„çR+Þ¨©ö>gKÏïGI[×þâ¿ð’ø»þ/ÿï×ÿZ­é!ñLÚÍ”SÝÞ˜žáÃG€T‘œñ^¿F)û7Üç–oJQkØGðÿ!h¢ŠØðBŠ( «>�e,Þt–p<¹{D¥²:sгEW6‚f˜ZÃæ¸!ŸË›=ri#Ó¬aÝåYÁáµ¶D£#ÐñÒ¬ÑNì,U‹M±·}ðY[ÄØÆä‰TãÓ�K�e &+8#,6’±(Èî:t«4Qv+"·öuˆˆÄ,íü²wò—n}qŠzZ[E †8#H�TTOáSQEÇc:èÐOçÃ¥YÇ.s½`PGéZã´PÛ{‰$†yi€»F ÇJO".vœœŸ”sRQHc<´ÚWhÃuëL¶ë�°F3ÁÂjj(» àdt8éMš®dѤ‰ý×PGëRQ@ù1€ "€Ÿt`|¿OJ(F€˜QRQ@ 1FÀ‚ŠA9 Ž´�¦Â ©íŽ)ôP#†8�¢ =•@ Ä…J•R§¨ÇŸE1¢��#"•
}PEP=WMƒXÓf°¹."˜ÅPxüªOC³ÕÞ»Þ‘B«`0t(Ùü iQT¤Ö±˯€tì0–ûPœV´I� Çã æ¶´ý&ÛNK”‡s-ÌÍ4�Î~fʽE9T”·adŽsOðe®�yÑßÞ<Vêëinî
Zï볌ôàg8­ ½
ëK+{«‹‰~Ç<s¬…†÷t黎}úV�:’ní…‘CWÑí5»/²Ý‡
dG�¶¼nC)ìEe¿‚l'·»KËÛûÉ®âXšâi�‘[p €äg¥ttQ’вadÎ^_ióHìÚ†£²I–y#²J¸ùÏËÎp8éíVSÁÚjZYZ–�â²¹{” ÀîgÝ�Ür>s[ôU:³z\9QÎé~ ±ÒoínἿ�Y#¥¼3Mº8•º€1ýj{Ï ¥Ö©6£©¨YËpˆ’­´ŠªÁsŽªyäÖÝ�I·vÂÈæÀ– qk5¥ýý™³‡É€E"�€’Iù”üÄžMkE£C£o~óM5ޱ·W‘�È$NS�Z4Ru$÷adQE@ÏÿÙ}}{\nonshppict{\pict\picscalex100\picscaley100\piccropl0\piccropr0\piccropt0\piccropb0\picw15584\pich2064\picwgoal8835\pichgoal1170\wmetafile8\bliptag-711381721\blipupi96{\*\blipuid d5992d2759c6907e7150c04256e8e528}\bin138044  ž y   ONy A ÌNMNM(MN°÷ÿ÷ÿÿÿÿÿÿÿÿÿÿÿïÿÿïÿÿïÿÿ÷ÿÿÿÿÿÿÿÿÿÿÿÿÿÿ÷ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ÷ÿÿÿÿÿ÷ÿÿÿÿÿ÷ÿÿÿÿÿ÷ÿÿ÷ÿÿ÷ÿÿ÷ÿÿïÿÿ÷ÿÿïÿÿ÷ÿÿïÿÿÿÿÿÿÿÿÿÿ÷ÿÿÿÿÿÿÿÿÿÿÿÿ÷ÿÿïÿÿÞÿÿçÿÿïÿÿ÷ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ÷ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ÷ÿÿ÷ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ÷ÿÿÿÿÿ÷ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ÷ÿÿ÷ÿÿ÷ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ÷ÿÿ÷ÿÿ÷ÿÿ÷ÿÿ÷ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ÷ÿÿÿÿÿÿÿÿÿÿÿÿïÿÿïÿÿïÿÿ÷ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ÷ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ÷ÿÿÿÿÿ÷ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ÷ÿÿÿÿÿÿ÷ÿÿ÷ÿÿïÿÿ÷ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ÷ÿÿÿÿÿÿÿÿÿÿ÷ÿÿÿÿÿ÷ÿÿÿÿÿ÷ÿÿÿÿÿÿÿÿÿ÷ÿÿ÷ÿÿ÷ÿÿÿÿÿÿÿ÷ÿÿÿÿÿÿÿÿÿÿÿÿ÷ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ÷ÿÿÿÿÿ÷ÿÿÿ÷ÿÿÿÿÿ÷ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ÷ÿÿ÷ÿÿ÷ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ÷ÿÿÿÿÿ÷ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿïÿÿ÷ÿÿ÷ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ÷ÿÿïÿÿ÷ÿÿÿÿÿ÷ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ÷ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ÷ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿLine truncated
\par }{\caps\f45\cf19\insrsid11731365\charrsid11731365 vicente irache asin
\par }{\f45\fs20\cf19\insrsid11731365\charrsid11731365 General Manager
\par }{\field\fldedit{\*\fldinst {\f1\fs20\cf19\insrsid11731365\charrsid11731365 HYPERLINK "mailto:santi@csanz.com" }}{\fldrslt {\cs15\f1\fs20\ul\cf19\lang1033\langfe3082\langnp1033\insrsid11731365\charrsid11731365 Direct e-mail\'3b virache@csanz.com}}}{\f1\fs20\cf19\lang1033\langfe3082\langnp1033\insrsid11731365\charrsid11731365
\par }{\f1\fs20\cf19\insrsid11731365\charrsid11731365 Poligono Malpica -Santa Isabel . C/ F Oeste nº44 -45 A. 50016 Zaragoza / España /Spain.
\par tel: +34 976 571 009 , fax: +34 976 571 645
\par }{\field\fldedit{\*\fldinst {\f1\fs20\cf19\insrsid11731365\charrsid11731365 HYPERLINK "mailto:esport@csanz.com" }}{\fldrslt {\cs15\f1\fs20\ul\cf19\insrsid11731365\charrsid11731365 mailto:export@csanz.com}}}{\f1\fs20\cf19\insrsid11731365\charrsid11731365 \~ ,\~ }{\field\fldedit{\*\fldinst {\f1\fs20\cf19\insrsid11731365\charrsid11731365 HYPERLINK "www.csanz.com" }}{\fldrslt {\cs15\f1\fs20\ul\cf19\insrsid11731365\charrsid11731365 www.csanz.com}}}{\f1\fs20\cf19\insrsid11731365\charrsid11731365
\par }{\f91\fs20\cf19\insrsid11731365\charrsid11731365
\par }\pard \ql \li0\ri0\sb100\sa100\sbauto1\saauto1\widctlpar\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0\ipgp1 {\b\f44\fs15\cf19\insrsid11731365\charrsid11731365 DISCLAIMER:}{\f44\fs15\cf19\insrsid11731365\charrsid11731365 \line Este mensaje se dirige exclusivamente a su destinatario y puede contener información privilegiada o confidencial. Si no es vd. el destinatario indicado, queda notificado de que la utilización, divulgación y/o copia sin autorización esta prohibida en virtud de la legislación vigente. Si ha recibido este mensaje por error, le rogamos que nos lo comunique inmediatamente por esta misma vía y proceda a su destrucción.
\par }\pard \ql \li0\ri0\widctlpar\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0\ipgp1 {\f44\fs15\cf19\lang1033\langfe3082\langnp1033\insrsid11731365\charrsid11731365 This message is intended exclusively for its addressee and may contain information that is CONFIDENTIAL and protected by professional privilege. If you are not the intended recipient you are hereby notified that any dissemination, copy or disclosure of this communication is strictly prohibited by law. If this message has been received in error, please immediately notify us via e-mail and delete it.
\par
\par }{\i\f37\fs12\cf19\insrsid11731365\charrsid11731365 Este mensaje y los archivos adjuntos están dirigidos única y exclusivamente a sus destinatarios y pueden contener información confidencial. Cualquier uso, modificación, difusión y/o reproducción de cualquier persona distinta del destinatario esta prohibida en virtud a la legislación vigente. Si usted ha recibido este mensaje por error, le rogamos que lo comunique inmediatamente al remitente y proceda a su destrucción.
\par Según lo dispuesto en la Ley Orgánica 15/1999 Protección de Datos de Carácter Personal y la Ley 34/2002 de Servicios de la Sociedad de la Información y de Comercio Electrónico, le informamos sobre la posibilidad de que sus datos formen parte de un fichero de carácter personal, cuyo Responsable es }{\b\i\f37\fs12\cf19\insrsid11731365\charrsid11731365 Cigüeñales Sanz, S.L. }{\i\f37\fs12\cf19\insrsid11731365\charrsid11731365 ,y cuya finalidad es la de mantener relaciones profesionales y/o comerciales. En virtud de las Leyes antes mencionadas, usted posee los derechos de, acceso, rectificación, cancelación y oposición de sus datos, dirigiéndose al teléfono 976 571009, o al e-mail }{\field\fldedit{\*\fldinst {\i\f37\fs12\cf19\insrsid11731365\charrsid11731365 HYPERLINK "mailto:export@csanz.com" }}{\fldrslt {\cs15\i\f37\fs12\ul\cf2\insrsid11731365\charrsid11731365 export@csanz.com}}}{\i\f37\fs12\cf19\insrsid11731365\charrsid11731365
\par }\pard \ql \li0\ri0\widctlpar\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0\ipgp5 {\f37\fs22\cf19\insrsid11731365\charrsid11731365
\par }\pard \ql \li0\ri0\widctlpar\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0\ipgp11 {\b\f35\fs20\cf0\insrsid11731365\charrsid11731365 De:}{\f35\fs20\cf0\insrsid11731365\charrsid11731365 María Monti [}{\field\fldedit{\*\fldinst {\f35\fs20\cf0\insrsid11731365\charrsid11731365 HYPERLINK "mailto:mariamonti@fdez-insua.com.ar" }}{\fldrslt {\cs15\f35\fs20\ul\cf2\insrsid11731365\charrsid11731365 mailto:mariamonti@fdez-insua.com.ar}}}{\f35\fs20\cf0\insrsid11731365\charrsid11731365 ] \line }{\b\f35\fs20\cf0\insrsid11731365\charrsid11731365 Enviado el:}{\f35\fs20\cf0\insrsid11731365\charrsid11731365 viernes, 10 de mayo de 2013 16:32\line }{\b\f35\fs20\cf0\insrsid11731365\charrsid11731365 Para:}{\f35\fs20\cf0\insrsid11731365\charrsid11731365 CIGÜENALES SANZ- Vicente Irache Asín\line }{\b\f35\fs20\cf0\insrsid11731365\charrsid11731365 Asunto:}{\f35\fs20\cf0\insrsid11731365\charrsid11731365 RV: Solicitud de cotización
\par }\pard \ql \li0\ri0\widctlpar\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0\ipgp5 {\cf0\insrsid11731365\charrsid11731365
\par }{\f36\fs22\cf0\insrsid11731365\charrsid11731365 Buenos días,
\par Espero se encuentren bien.
\par Estamos a la espera de su cotización.
\par Saludos cordiales,
\par
\par
\par
\par }\pard \qc \li0\ri0\widctlpar\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0\ipgp12 {\cf0\insrsid11731365\charrsid11731365 {\pict{\*\picprop\shplid1033{\sp{\sn shapeType}{\sv 1}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{\sn fillColor}{\sv 10070188}}{\sp{\sn fFilled}{\sv 1}}{\sp{\sn fLine}{\sv 0}}{\sp{\sn alignHR}{\sv 1}}{\sp{\sn dxHeightHR}{\sv 30}}{\sp{\sn dxWidthHR}{\sv 13785}}{\sp{\sn fStandardHR}{\sv 1}}{\sp{\sn fHorizRule}{\sv 1}}{\sp{\sn fLayoutInCell}{\sv 1}}}\picscalex1378\picscaley6\piccropl0\piccropr0\piccropt0\piccropb0\picw1764\pich882\picwgoal1000\pichgoal500\wmetafile8\bliptag-144105531\blipupi45{\*\blipuid f7691fc5c97d4172e946f05fa900779c}\bin374  »  X.û¼"SystemÃÕ uîƒ9P€$ -ûœÿ�@Times New Roman-  2
ZbX -ü¬¨™-úÿÿÿ-$ÿÿWbWbÿÿÿÿú-üÿÿÿ-'ÿÿ-}}{\cf0\insrsid11731365\charrsid11731365
\par }\sectd \linex0\headery708\footery708\colsx708\endnhere\pgbrdropt32\sectlinegrid360\sectdefaultcl\sftnbj {\*\pnseclvl1\pnucrm\pnstart1\pnindent720\pnhang {\pntxta .}}{\*\pnseclvl2\pnucltr\pnstart1\pnindent720\pnhang {\pntxta .}}{\*\pnseclvl3\pndec\pnstart1\pnindent720\pnhang {\pntxta .}}{\*\pnseclvl4\pnlcltr\pnstart1\pnindent720\pnhang {\pntxta )}}{\*\pnseclvl5\pndec\pnstart1\pnindent720\pnhang {\pntxtb (}{\pntxta )}}{\*\pnseclvl6\pnlcltr\pnstart1\pnindent720\pnhang {\pntxtb (}{\pntxta )}}{\*\pnseclvl7\pnlcrm\pnstart1\pnindent720\pnhang {\pntxtb (}{\pntxta )}}{\*\pnseclvl8\pnlcltr\pnstart1\pnindent720\pnhang {\pntxtb (}{\pntxta )}}{\*\pnseclvl9\pnlcrm\pnstart1\pnindent720\pnhang {\pntxtb (}{\pntxta )}}\pard\plain \ql \li0\ri0\widctlpar\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0\ipgp12 \fs24\lang3082\langfe3082\cgrid\langnp3082\langfenp3082 {\b\f35\fs20\cf0\insrsid11731365\charrsid11731365 De:}{\f35\fs20\cf0\insrsid11731365\charrsid11731365 María Monti [}{\field\fldedit{\*\fldinst {\f35\fs20\cf0\insrsid11731365\charrsid11731365 HYPERLINK "mailto:mariamonti@fdez-insua.com.ar" }}{\fldrslt {\cs15\f35\fs20\ul\cf2\insrsid11731365\charrsid11731365 mailto:mariamonti@fdez-insua.com.ar}}}{\f35\fs20\cf0\insrsid11731365\charrsid11731365 ] \line }{\b\f35\fs20\cf0\insrsid11731365\charrsid11731365 Enviado el:}{\f35\fs20\cf0\insrsid11731365\charrsid11731365 Miércoles, 08 de Mayo de 2013 16:30\line }{\b\f35\fs20\cf0\insrsid11731365\charrsid11731365 Para:}{\f35\fs20\cf0\insrsid11731365\charrsid11731365 CIGÜENALES SANZ- Vicente Irache Asín\line }{\b\f35\fs20\cf0\insrsid11731365\charrsid11731365 Asunto:}{\f35\fs20\cf0\insrsid11731365\charrsid11731365 Solicitud de cotización}{\cf0\insrsid11731365\charrsid11731365
\par }\pard \ql \li0\ri0\widctlpar\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0\ipgp5 {\cf0\insrsid11731365\charrsid11731365
\par }{\f36\cf0\insrsid11731365\charrsid11731365 Buenas tardes,
\par
\par Mucho agradeceremos su cotización y plazo de entrega por los ítems que detallo debajo
\par
\par
\par }{\b\f36\ul\cf2\insrsid11731365\charrsid11731365 CANT\~\~\~\~\~\~\~\~\~\~\~\~\~\~ ITEM NR\~\~\~\~\~\~\~\~\~
\par }{\f36\cf0\insrsid11731365\charrsid11731365 1\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~ 422 000\~ M11
\par 1\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~ 423 000\~ N14
\par 1\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~\~ 500 002\~ ISBE 150
\par 1\~\~\~\~\~\~\~\~\~ \~\~\~\~\~\~\~\~\~\~\~ 501 002\~ ISBe\~ 180
\par 2\~\~\~\~\~\~\~\~\~ \~\~\~\~\~\~\~\~\~\~\~ 507 000\~ ISX
\par 2\~\~\~\~\~\~\~\~\~ \~\~\~\~\~\~\~\~\~\~\~ 508 003\~ QSB 5.9
\par 1\~\~\~\~\~\~\~\~\~ \~\~\~\~\~\~\~\~\~\~\~ 509 000\~ ISL\~ 8.3
\par 1\~\~\~\~\~\~\~\~\~ \~\~\~\~\~\~\~\~\~\~\~ 262 003\~ 3408\~ 1W5009
\par 1\~\~\~\~\~\~\~\~\~ \~\~\~\~\~\~\~\~\~\~\~ 307003 1601799\~ C15
\par 1\~\~\~\~\~\~\~\~\~ \~\~\~\~\~\~\~\~\~\~\~ 309001 \~ 3133996
\par 1\~\~\~\~\~\~\~\~\~ \~\~\~\~\~\~\~\~\~\~\~ 310001 \~\~3133997
\par 1\~\~\~\~\~\~\~\~\~ \~\~\~\~\~\~\~\~\~\~\~ 311003\~\~ 1556632
\par 1\~\~\~\~\~\~\~\~\~ \~\~\~\~\~\~\~\~\~\~\~ 312000\~\~\~ 1894918
\par 1\~\~\~\~\~\~\~\~\~ \~\~\~\~\~\~\~\~\~\~\~ 313002\~\~\~\~\~\~\~\~\~\~\~\~ 3849907
\par 1\~\~\~\~\~\~\~\~\~ \~\~\~\~\~\~\~\~\~\~\~ 314002\~\~\~\~\~\~\~\~\~\~\~\~ 3849908
\par 1\~\~\~\~\~\~\~\~\~ \~\~\~\~\~\~\~\~\~\~\~ 315002\~\~\~\~\~\~\~\~\~\~\~\~ 2827958
\par 1\~\~\~\~\~\~\~\~\~ \~\~\~\~\~\~\~\~\~\~\~ 316002\~\~\~\~\~\~\~\~\~\~\~\~ 2827956
\par 1\~\~\~\~\~\~\~\~\~ \~\~\~\~\~\~\~\~\~\~\~ 318001\~\~\~\~\~\~\~\~\~\~\~\~ 1323211
\par 1\~\~\~\~\~\~\~\~\~ \~\~\~\~\~\~\~\~\~\~\~ 318002\~\~\~\~\~\~\~\~\~\~\~\~ 3264278
\par
\par Quedamos a la espera de su respuesta.
\par Saludos cordiales,
\par
\par
\par }{\f36\cf9\lang11274\langfe3082\langnp11274\insrsid11731365\charrsid11731365 María Monti de Prados }{\cf0\insrsid11731365\charrsid11731365
\par }{\cf9\insrsid11731365\charrsid11731365 Compras/ Purch Dep\line }{\f36\cf9\lang11274\langfe3082\langnp11274\insrsid11731365\charrsid11731365 FERNANDEZ INSUA SA}{\f36\cf0\insrsid11731365\charrsid11731365 \line }{\f36\cf9\lang11274\langfe3082\langnp11274\insrsid11731365\charrsid11731365 Avda Pavón 1402 (B1870EDQ) Avellaneda}{\f36\cf9\insrsid11731365\charrsid11731365 \line }{\f36\cf9\lang11274\langfe3082\langnp11274\insrsid11731365\charrsid11731365 Pcia de Buenos Aires- Argentina}{\f36\cf9\insrsid11731365\charrsid11731365 \line }{\f36\cf9\lang11274\langfe3082\langnp11274\insrsid11731365\charrsid11731365 Te: 54-11-4208-6224/\~\~ 4209-6676}{\f36\cf9\insrsid11731365\charrsid11731365 \line }{\f36\cf9\lang11274\langfe3082\langnp11274\insrsid11731365\charrsid11731365 Fax:54-11-4209-4927\~ }{\cf0\insrsid11731365\charrsid11731365
\par }\pard\plain \s17\ql \li0\ri0\sb100\sa100\sbauto1\saauto1\widctlpar\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0\ipgp5 \fs24\lang3082\langfe3082\cgrid\langnp3082\langfenp3082 {\cf0\insrsid11731365\charrsid11731365 {\*\shppict{\pict{\*\picprop\shplid1029{\sp{\sn shapeType}{\sv 75}}{\sp{\sn fFlipH}{\sv 0}}{\sp{\sn fFlipV}{\sv 0}}{\sp{\sn pibFlags}{\sv 66}}{\sp{\sn fLine}{\sv 0}}{\sp{\sn wzDescription}{\sv }}{\sp{\sn fLayoutInCell}{\sv 1}}}\picscalex100\picscaley100\piccropl0\piccropr0\piccropt0\piccropb0\picw1958\pich1958\picwgoal1110\pichgoal1110\pngblip\bliptag66810105{\*\blipuid 03fb70f930df6061941de99daa5105a7}\bin186 ‰PNG

IHDRJJ&P2tEXtSoftwareMicrosoft Officeí5qPLTEšàÀtRNS@æØf pHYs@@bCc[ cmPPJCmp0712Om·¥IDAT8Ëc`£`.œùÍYIEND®B`‚}}{\nonshppict{\pict\picscalex100\picscaley100\piccropl0\piccropr0\piccropt0\piccropb0\picw1958\pich1958\picwgoal1110\pichgoal1110\wmetafile8\bliptag66810105{\*\blipuid 03fb70f930df6061941de99daa5105a7}\bin66  !  KK'ÿÿ}}}{\cf0\insrsid11731365\charrsid11731365
\par }{\field\fldedit{\*\fldinst {\f36\cf0\insrsid11731365\charrsid11731365 HYPERLINK "http://www.fernandezinsua.com" }}{\fldrslt {\cs15\f36\ul\cf2\insrsid11731365\charrsid11731365 www.fernandezinsua.com}}}{\cf0\insrsid11731365\charrsid11731365 \~
\par \~
\par }\pard\plain \ql \li0\ri0\widctlpar\aspalpha\aspnum\faauto\adjustright\rin0\lin0\itap0\ipgp5 \fs24\lang3082\langfe3082\cgrid\langnp3082\langfenp3082 {\cf0\insrsid11731365
\par }}
-674
View File
@@ -1,674 +0,0 @@
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The GNU General Public License is a free, copyleft license for
software and other kinds of works.
The licenses for most software and other practical works are designed
to take away your freedom to share and change the works. By contrast,
the GNU General Public License is intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users. We, the Free Software Foundation, use the
GNU General Public License for most of our software; it applies also to
any other work released this way by its authors. You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.
To protect your rights, we need to prevent others from denying you
these rights or asking you to surrender the rights. Therefore, you have
certain responsibilities if you distribute copies of the software, or if
you modify it: responsibilities to respect the freedom of others.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must pass on to the recipients the same
freedoms that you received. You must make sure that they, too, receive
or can get the source code. And you must show them these terms so they
know their rights.
Developers that use the GNU GPL protect your rights with two steps:
(1) assert copyright on the software, and (2) offer you this License
giving you legal permission to copy, distribute and/or modify it.
For the developers' and authors' protection, the GPL clearly explains
that there is no warranty for this free software. For both users' and
authors' sake, the GPL requires that modified versions be marked as
changed, so that their problems will not be attributed erroneously to
authors of previous versions.
Some devices are designed to deny users access to install or run
modified versions of the software inside them, although the manufacturer
can do so. This is fundamentally incompatible with the aim of
protecting users' freedom to change the software. The systematic
pattern of such abuse occurs in the area of products for individuals to
use, which is precisely where it is most unacceptable. Therefore, we
have designed this version of the GPL to prohibit the practice for those
products. If such problems arise substantially in other domains, we
stand ready to extend this provision to those domains in future versions
of the GPL, as needed to protect the freedom of users.
Finally, every program is threatened constantly by software patents.
States should not allow patents to restrict development and use of
software on general-purpose computers, but in those that do, we wish to
avoid the special danger that patents applied to a free program could
make it effectively proprietary. To prevent this, the GPL assures that
patents cannot be used to render the program non-free.
The precise terms and conditions for copying, distribution and
modification follow.
TERMS AND CONDITIONS
0. Definitions.
"This License" refers to version 3 of the GNU General Public License.
"Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.
"The Program" refers to any copyrightable work licensed under this
License. Each licensee is addressed as "you". "Licensees" and
"recipients" may be individuals or organizations.
To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of an
exact copy. The resulting work is called a "modified version" of the
earlier work or a work "based on" the earlier work.
A "covered work" means either the unmodified Program or a work based
on the Program.
To "propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy. Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.
To "convey" a work means any kind of propagation that enables other
parties to make or receive copies. Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.
An interactive user interface displays "Appropriate Legal Notices"
to the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License. If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.
1. Source Code.
The "source code" for a work means the preferred form of the work
for making modifications to it. "Object code" means any non-source
form of a work.
A "Standard Interface" means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.
The "System Libraries" of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major
Component, and (b) serves only to enable use of the work with that
Major Component, or to implement a Standard Interface for which an
implementation is available to the public in source code form. A
"Major Component", in this context, means a major essential component
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.
The "Corresponding Source" for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
control those activities. However, it does not include the work's
System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
which are not part of the work. For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.
The Corresponding Source need not include anything that users
can regenerate automatically from other parts of the Corresponding
Source.
The Corresponding Source for a work in source code form is that
same work.
2. Basic Permissions.
All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met. This License explicitly affirms your unlimited
permission to run the unmodified Program. The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work. This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.
You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains
in force. You may convey covered works to others for the sole purpose
of having them make modifications exclusively for you, or provide you
with facilities for running those works, provided that you comply with
the terms of this License in conveying all material for which you do
not control copyright. Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.
Conveying under any other circumstances is permitted solely under
the conditions stated below. Sublicensing is not allowed; section 10
makes it unnecessary.
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.
When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to
the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.
4. Conveying Verbatim Copies.
You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.
You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.
5. Conveying Modified Source Versions.
You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these conditions:
a) The work must carry prominent notices stating that you modified
it, and giving a relevant date.
b) The work must carry prominent notices stating that it is
released under this License and any conditions added under section
7. This requirement modifies the requirement in section 4 to
"keep intact all notices".
c) You must license the entire work, as a whole, under this
License to anyone who comes into possession of a copy. This
License will therefore apply, along with any applicable section 7
additional terms, to the whole of the work, and all its parts,
regardless of how they are packaged. This License gives no
permission to license the work in any other way, but it does not
invalidate such permission if you have separately received it.
d) If the work has interactive user interfaces, each must display
Appropriate Legal Notices; however, if the Program has interactive
interfaces that do not display Appropriate Legal Notices, your
work need not make them do so.
A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
"aggregate" if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
beyond what the individual works permit. Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.
6. Conveying Non-Source Forms.
You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License,
in one of these ways:
a) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by the
Corresponding Source fixed on a durable physical medium
customarily used for software interchange.
b) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by a
written offer, valid for at least three years and valid for as
long as you offer spare parts or customer support for that product
model, to give anyone who possesses the object code either (1) a
copy of the Corresponding Source for all the software in the
product that is covered by this License, on a durable physical
medium customarily used for software interchange, for a price no
more than your reasonable cost of physically performing this
conveying of source, or (2) access to copy the
Corresponding Source from a network server at no charge.
c) Convey individual copies of the object code with a copy of the
written offer to provide the Corresponding Source. This
alternative is allowed only occasionally and noncommercially, and
only if you received the object code with such an offer, in accord
with subsection 6b.
d) Convey the object code by offering access from a designated
place (gratis or for a charge), and offer equivalent access to the
Corresponding Source in the same way through the same place at no
further charge. You need not require recipients to copy the
Corresponding Source along with the object code. If the place to
copy the object code is a network server, the Corresponding Source
may be on a different server (operated by you or a third party)
that supports equivalent copying facilities, provided you maintain
clear directions next to the object code saying where to find the
Corresponding Source. Regardless of what server hosts the
Corresponding Source, you remain obligated to ensure that it is
available for as long as needed to satisfy these requirements.
e) Convey the object code using peer-to-peer transmission, provided
you inform other peers where the object code and Corresponding
Source of the work are being offered to the general public at no
charge under subsection 6d.
A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.
A "User Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal, family,
or household purposes, or (2) anything designed or sold for incorporation
into a dwelling. In determining whether a product is a consumer product,
doubtful cases shall be resolved in favor of coverage. For a particular
product received by a particular user, "normally used" refers to a
typical or common use of that class of product, regardless of the status
of the particular user or of the way in which the particular user
actually uses, or expects or is expected to use, the product. A product
is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.
"Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from
a modified version of its Corresponding Source. The information must
suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because
modification has been made.
If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information. But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).
The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for
the User Product in which it has been modified or installed. Access to a
network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and
protocols for communication across the network.
Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.
7. Additional Terms.
"Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent
that they are valid under applicable law. If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.
When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it. (Additional permissions may be written to require their own
removal in certain cases when you modify the work.) You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.
Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders of
that material) supplement the terms of this License with terms:
a) Disclaiming warranty or limiting liability differently from the
terms of sections 15 and 16 of this License; or
b) Requiring preservation of specified reasonable legal notices or
author attributions in that material or in the Appropriate Legal
Notices displayed by works containing it; or
c) Prohibiting misrepresentation of the origin of that material, or
requiring that modified versions of such material be marked in
reasonable ways as different from the original version; or
d) Limiting the use for publicity purposes of names of licensors or
authors of the material; or
e) Declining to grant rights under trademark law for use of some
trade names, trademarks, or service marks; or
f) Requiring indemnification of licensors and authors of that
material by anyone who conveys the material (or modified versions of
it) with contractual assumptions of liability to the recipient, for
any liability that these contractual assumptions directly impose on
those licensors and authors.
All other non-permissive additional terms are considered "further
restrictions" within the meaning of section 10. If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further
restriction, you may remove that term. If a license document contains
a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.
If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.
Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions;
the above requirements apply either way.
8. Termination.
You may not propagate or modify a covered work except as expressly
provided under this License. Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).
However, if you cease all violation of this License, then your
license from a particular copyright holder is reinstated (a)
provisionally, unless and until the copyright holder explicitly and
finally terminates your license, and (b) permanently, if the copyright
holder fails to notify you of the violation by some reasonable means
prior to 60 days after the cessation.
Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.
Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License. If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.
9. Acceptance Not Required for Having Copies.
You are not required to accept this License in order to receive or
run a copy of the Program. Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
to receive a copy likewise does not require acceptance. However,
nothing other than this License grants you permission to propagate or
modify any covered work. These actions infringe copyright if you do
not accept this License. Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.
10. Automatic Licensing of Downstream Recipients.
Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License. You are not responsible
for enforcing compliance by third parties with this License.
An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations. If propagation of a covered
work results from an entity transaction, each party to that
transaction who receives a copy of the work also receives whatever
licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.
You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License. For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.
11. Patents.
A "contributor" is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based. The
work thus licensed is called the contributor's "contributor version".
A contributor's "essential patent claims" are all patent claims
owned or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
by this License, of making, using, or selling its contributor version,
but do not include claims that would be infringed only as a
consequence of further modification of the contributor version. For
purposes of this definition, "control" includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.
Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.
In the following three paragraphs, a "patent license" is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
sue for patent infringement). To "grant" such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.
If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
publicly available network server or other readily accessible means,
then you must either (1) cause the Corresponding Source to be so
available, or (2) arrange to deprive yourself of the benefit of the
patent license for this particular work, or (3) arrange, in a manner
consistent with the requirements of this License, to extend the patent
license to downstream recipients. "Knowingly relying" means you have
actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.
If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.
A patent license is "discriminatory" if it does not include within
the scope of its coverage, prohibits the exercise of, or is
conditioned on the non-exercise of one or more of the rights that are
specifically granted under this License. You may not convey a covered
work if you are a party to an arrangement with a third party that is
in the business of distributing software, under which you make payment
to the third party based on the extent of your activity of conveying
the work, and under which the third party grants, to any of the
parties who would receive the covered work from you, a discriminatory
patent license (a) in connection with copies of the covered work
conveyed by you (or copies made from those copies), or (b) primarily
for and in connection with specific products or compilations that
contain the covered work, unless you entered into that arrangement,
or that patent license was granted, prior to 28 March 2007.
Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.
12. No Surrender of Others' Freedom.
If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot convey a
covered work so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you may
not convey it at all. For example, if you agree to terms that obligate you
to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.
13. Use with the GNU Affero General Public License.
Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU Affero General Public License into a single
combined work, and to convey the resulting work. The terms of this
License will continue to apply to the part which is the covered work,
but the special requirements of the GNU Affero General Public License,
section 13, concerning interaction through a network will apply to the
combination as such.
14. Revised Versions of this License.
The Free Software Foundation may publish revised and/or new versions of
the GNU General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the
Program specifies that a certain numbered version of the GNU General
Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation. If the Program does not specify a version number of the
GNU General Public License, you may choose any version ever published
by the Free Software Foundation.
If the Program specifies that a proxy can decide which future
versions of the GNU General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.
Later license versions may give you additional or different
permissions. However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.
15. Disclaimer of Warranty.
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. Limitation of Liability.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.
17. Interpretation of Sections 15 and 16.
If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
Also add information on how to contact you by electronic and paper mail.
If the program does terminal interaction, make it output a short
notice like this when it starts in an interactive mode:
<program> Copyright (C) <year> <name of author>
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, your program's commands
might be different; for a GUI interface, you would use an "about box".
You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU GPL, see
<http://www.gnu.org/licenses/>.
The GNU General Public License does not permit incorporating your program
into proprietary programs. If your program is a subroutine library, you
may consider it more useful to permit linking proprietary applications with
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
<http://www.gnu.org/philosophy/why-not-lgpl.html>.
-34
View File
@@ -1,34 +0,0 @@
/* Codepages.h - this file is part of SOGo
*
* Copyright (C) 2014 Jesús García Sáez
*
* This file is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3, or (at your option)
* any later version.
*
* This file is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#import <Foundation/NSDictionary.h>
#import <Foundation/NSValue.h>
#import <Foundation/NSString.h>
@interface Codepages
+ (NSDictionary *) getCodepagesTable;
+ (NSDictionary *) getReverseCodepagesTable;
+ (NSNumber *) getCodepageFromName: (NSString *) name;
+ (NSString *) getNameFromCodepage: (NSNumber *) codepage;
@end
-214
View File
@@ -1,214 +0,0 @@
/* Codepages.m - this file is part of SOGo
*
* Copyright (C) 2014 Jesús García Sáez
*
* This file is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3, or (at your option)
* any later version.
*
* This file is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#import "Codepages.h"
#import <Foundation/NSArray.h>
@implementation Codepages
+ (NSDictionary *) getCodepagesTable
{
static NSDictionary *table = nil;
if (table == nil)
{
/* http://msdn.microsoft.com/en-us/library/dd317756%28v=vs.85%29.aspx */
table = [[NSDictionary dictionaryWithObjectsAndKeys:
[NSNumber numberWithInt: 37], @"ibm037",
[NSNumber numberWithInt: 437], @"ibm437",
[NSNumber numberWithInt: 500], @"ibm500",
[NSNumber numberWithInt: 708], @"asmo-708",
[NSNumber numberWithInt: 720], @"dos-720",
[NSNumber numberWithInt: 737], @"ibm737",
[NSNumber numberWithInt: 775], @"ibm775",
[NSNumber numberWithInt: 850], @"ibm850",
[NSNumber numberWithInt: 852], @"ibm852",
[NSNumber numberWithInt: 855], @"ibm855",
[NSNumber numberWithInt: 857], @"ibm857",
[NSNumber numberWithInt: 858], @"ibm00858",
[NSNumber numberWithInt: 860], @"ibm860",
[NSNumber numberWithInt: 861], @"ibm861",
[NSNumber numberWithInt: 862], @"dos-862",
[NSNumber numberWithInt: 863], @"ibm863",
[NSNumber numberWithInt: 864], @"ibm864",
[NSNumber numberWithInt: 865], @"ibm865",
[NSNumber numberWithInt: 866], @"cp866",
[NSNumber numberWithInt: 869], @"ibm869",
[NSNumber numberWithInt: 870], @"ibm870",
[NSNumber numberWithInt: 874], @"windows-874",
[NSNumber numberWithInt: 875], @"cp875",
[NSNumber numberWithInt: 932], @"shift_jis",
[NSNumber numberWithInt: 936], @"gb2312",
[NSNumber numberWithInt: 949], @"ks_c_5601-1987",
[NSNumber numberWithInt: 950], @"big5",
[NSNumber numberWithInt: 1026], @"ibm1026",
[NSNumber numberWithInt: 1047], @"ibm01047",
[NSNumber numberWithInt: 1140], @"ibm01140",
[NSNumber numberWithInt: 1141], @"ibm01141",
[NSNumber numberWithInt: 1142], @"ibm01142",
[NSNumber numberWithInt: 1143], @"ibm01143",
[NSNumber numberWithInt: 1144], @"ibm01144",
[NSNumber numberWithInt: 1145], @"ibm01145",
[NSNumber numberWithInt: 1146], @"ibm01146",
[NSNumber numberWithInt: 1147], @"ibm01147",
[NSNumber numberWithInt: 1148], @"ibm01148",
[NSNumber numberWithInt: 1149], @"ibm01149",
[NSNumber numberWithInt: 1200], @"utf-16",
[NSNumber numberWithInt: 1201], @"unicodefffe",
[NSNumber numberWithInt: 1250], @"windows-1250",
[NSNumber numberWithInt: 1251], @"windows-1251",
[NSNumber numberWithInt: 1252], @"windows-1252",
[NSNumber numberWithInt: 1253], @"windows-1253",
[NSNumber numberWithInt: 1254], @"windows-1254",
[NSNumber numberWithInt: 1255], @"windows-1255",
[NSNumber numberWithInt: 1256], @"windows-1256",
[NSNumber numberWithInt: 1257], @"windows-1257",
[NSNumber numberWithInt: 1258], @"windows-1258",
[NSNumber numberWithInt: 1361], @"johab",
[NSNumber numberWithInt: 10000], @"macintosh",
[NSNumber numberWithInt: 10001], @"x-mac-japanese",
[NSNumber numberWithInt: 10002], @"x-mac-chinesetrad",
[NSNumber numberWithInt: 10003], @"x-mac-korean",
[NSNumber numberWithInt: 10004], @"x-mac-arabic",
[NSNumber numberWithInt: 10005], @"x-mac-hebrew",
[NSNumber numberWithInt: 10006], @"x-mac-greek",
[NSNumber numberWithInt: 10007], @"x-mac-cyrillic",
[NSNumber numberWithInt: 10008], @"x-mac-chinesesimp",
[NSNumber numberWithInt: 10010], @"x-mac-romanian",
[NSNumber numberWithInt: 10017], @"x-mac-ukrainian",
[NSNumber numberWithInt: 10021], @"x-mac-thai",
[NSNumber numberWithInt: 10029], @"x-mac-ce",
[NSNumber numberWithInt: 10079], @"x-mac-icelandic",
[NSNumber numberWithInt: 10081], @"x-mac-turkish",
[NSNumber numberWithInt: 10082], @"x-mac-croatian",
[NSNumber numberWithInt: 12000], @"utf-32",
[NSNumber numberWithInt: 12001], @"utf-32be",
[NSNumber numberWithInt: 20000], @"x-chinese-cns",
[NSNumber numberWithInt: 20001], @"x-cp20001",
[NSNumber numberWithInt: 20002], @"x-chinese-eten",
[NSNumber numberWithInt: 20003], @"x-cp20003",
[NSNumber numberWithInt: 20004], @"x-cp20004",
[NSNumber numberWithInt: 20005], @"x-cp20005",
[NSNumber numberWithInt: 20105], @"x-ia5",
[NSNumber numberWithInt: 20106], @"x-ia5-german",
[NSNumber numberWithInt: 20107], @"x-ia5-swedish",
[NSNumber numberWithInt: 20108], @"x-ia5-norwegian",
[NSNumber numberWithInt: 20127], @"us-ascii",
[NSNumber numberWithInt: 20261], @"x-cp20261",
[NSNumber numberWithInt: 20269], @"x-cp20269",
[NSNumber numberWithInt: 20273], @"ibm273",
[NSNumber numberWithInt: 20277], @"ibm277",
[NSNumber numberWithInt: 20278], @"ibm278",
[NSNumber numberWithInt: 20280], @"ibm280",
[NSNumber numberWithInt: 20284], @"ibm284",
[NSNumber numberWithInt: 20285], @"ibm285",
[NSNumber numberWithInt: 20290], @"ibm290",
[NSNumber numberWithInt: 20297], @"ibm297",
[NSNumber numberWithInt: 20420], @"ibm420",
[NSNumber numberWithInt: 20423], @"ibm423",
[NSNumber numberWithInt: 20424], @"ibm424",
[NSNumber numberWithInt: 20833], @"x-ebcdic-koreanextended",
[NSNumber numberWithInt: 20838], @"ibm-thai",
[NSNumber numberWithInt: 20866], @"koi8-r",
[NSNumber numberWithInt: 20871], @"ibm871",
[NSNumber numberWithInt: 20880], @"ibm880",
[NSNumber numberWithInt: 20905], @"ibm905",
[NSNumber numberWithInt: 20924], @"ibm00924",
[NSNumber numberWithInt: 20932], @"euc-jp",
[NSNumber numberWithInt: 20936], @"x-cp20936",
[NSNumber numberWithInt: 20949], @"x-cp20949",
[NSNumber numberWithInt: 21025], @"cp1025",
[NSNumber numberWithInt: 21866], @"koi8-u",
[NSNumber numberWithInt: 28591], @"iso-8859-1",
[NSNumber numberWithInt: 28592], @"iso-8859-2",
[NSNumber numberWithInt: 28593], @"iso-8859-3",
[NSNumber numberWithInt: 28594], @"iso-8859-4",
[NSNumber numberWithInt: 28595], @"iso-8859-5",
[NSNumber numberWithInt: 28596], @"iso-8859-6",
[NSNumber numberWithInt: 28597], @"iso-8859-7",
[NSNumber numberWithInt: 28598], @"iso-8859-8",
[NSNumber numberWithInt: 28599], @"iso-8859-9",
[NSNumber numberWithInt: 28603], @"iso-8859-13",
[NSNumber numberWithInt: 28605], @"iso-8859-15",
[NSNumber numberWithInt: 29001], @"x-europa",
[NSNumber numberWithInt: 38598], @"iso-8859-8-i",
[NSNumber numberWithInt: 50220], @"iso-2022-jp",
[NSNumber numberWithInt: 50221], @"csiso2022jp",
[NSNumber numberWithInt: 50222], @"iso-2022-jp",
[NSNumber numberWithInt: 50225], @"iso-2022-kr",
[NSNumber numberWithInt: 50227], @"x-cp50227",
[NSNumber numberWithInt: 51932], @"euc-jp",
[NSNumber numberWithInt: 51936], @"euc-cn",
[NSNumber numberWithInt: 51949], @"euc-kr",
[NSNumber numberWithInt: 52936], @"hz-gb-2312",
[NSNumber numberWithInt: 54936], @"gb18030",
[NSNumber numberWithInt: 57002], @"x-iscii-de",
[NSNumber numberWithInt: 57003], @"x-iscii-be",
[NSNumber numberWithInt: 57004], @"x-iscii-ta",
[NSNumber numberWithInt: 57005], @"x-iscii-te",
[NSNumber numberWithInt: 57006], @"x-iscii-as",
[NSNumber numberWithInt: 57007], @"x-iscii-or",
[NSNumber numberWithInt: 57008], @"x-iscii-ka",
[NSNumber numberWithInt: 57009], @"x-iscii-ma",
[NSNumber numberWithInt: 57010], @"x-iscii-gu",
[NSNumber numberWithInt: 57011], @"x-iscii-pa",
[NSNumber numberWithInt: 65000], @"utf-7",
[NSNumber numberWithInt: 65001], @"utf-8",
nil] retain];
}
return table;
}
+ (NSDictionary *) getReverseCodepagesTable
{
static NSDictionary *table = nil;
if (table == nil)
{
NSDictionary *codepages_table;
NSEnumerator *enumerator;
NSMutableArray *codepages, *names;
id key;
// Build reverse table: (NSNumber) codepage -> (NSString) encoding name
codepages_table = [self getCodepagesTable];
codepages = [NSMutableArray arrayWithCapacity: [codepages_table count]];
names = [NSMutableArray arrayWithCapacity: [codepages_table count]];
enumerator = [codepages_table keyEnumerator];
while ((key = [enumerator nextObject]))
{
[names addObject: key];
[codepages addObject: [codepages_table objectForKey: key]];
}
table = [[NSDictionary dictionaryWithObjects: names forKeys: codepages] retain];
}
return table;
}
+ (NSNumber *) getCodepageFromName: (NSString *) name
{
return [[self getCodepagesTable] objectForKey: [name lowercaseString]];
}
+ (NSString *) getNameFromCodepage: (NSNumber *) codepage
{
return [[self getReverseCodepagesTable] objectForKey: codepage];
}
@end
-200
View File
@@ -1,200 +0,0 @@
# GNUstep makefile
include ../config.make
include $(GNUSTEP_MAKEFILES)/common.make
include ../Version
BACKEND_VERSION = 1.0.0
### bootstrap library
MAPISTORESOGO = MAPIStoreSOGo
LIBRARY_NAME = $(MAPISTORESOGO)
$(MAPISTORESOGO)_VERSION = $(BACKEND_VERSION)
$(MAPISTORESOGO)_OBJC_FILES += \
MAPIStoreSOGo.m
### backend bundle
SOGOBACKEND = SOGoBackend
BUNDLE_NAME = $(SOGOBACKEND)
BUNDLE_EXTENSION = .MAPIStore
BUNDLE_INSTALL_DIR = $(SOGO_LIBDIR)
PYTHON = /usr/bin/python
PYTHON_IS_GOOD = $(shell $(PYTHON) -c 'from sys import version_info; a=version_info; print a[0] == 2 and a[1] >= 6')
ifeq (${PYTHON_IS_GOOD},False)
PYTHON = /usr/bin/python2.6
endif
all::
@echo " Python executable: ${PYTHON}"
SAMBA_PRIVATE_DIR = $(shell $(PYTHON) ./samba-get-config.py 'private dir' || echo /var/lib/samba/private)
$(SOGOBACKEND)_PRINCIPAL_CLASS = MAPIApplication
$(SOGOBACKEND)_OBJC_FILES += \
MAPIApplication.m \
MAPIStoreActiveTables.m \
MAPIStoreAuthenticator.m \
MAPIStoreMapping.m \
MAPIStoreMIME.m \
MAPIStoreTypes.m \
MAPIStorePropertySelectors.m \
MAPIStoreSamDBUtils.m \
MAPIStoreUserContext.m \
\
SOGoMAPIDBMessage.m \
SOGoCacheGCSObject+MAPIStore.m \
\
MAPIStoreAppointmentWrapper.m \
MAPIStoreAttachment.m \
MAPIStoreAttachmentTable.m \
MAPIStoreContext.m \
MAPIStoreEmbeddedMessage.m \
MAPIStoreFolder.m \
MAPIStoreMessage.m \
MAPIStoreObject.m \
MAPIStoreObjectProxy.m \
MAPIStoreSOGoObject.m \
MAPIStoreTable.m \
MAPIStoreMessageTable.m \
MAPIStoreFolderTable.m \
MAPIStorePermissionsTable.m \
\
MAPIStoreDBBaseContext.m \
MAPIStoreDBFolder.m \
MAPIStoreDBFolderTable.m \
MAPIStoreDBMessage.m \
MAPIStoreDBMessageTable.m \
\
MAPIStoreFAIMessage.m \
MAPIStoreFAIMessageTable.m \
\
MAPIStoreGCSBaseContext.m \
MAPIStoreGCSFolder.m \
MAPIStoreGCSMessage.m \
MAPIStoreGCSMessageTable.m \
\
MAPIStoreCalTaskFolder.m \
MAPIStoreCalTaskMessage.m \
\
MAPIStoreCalendarAttachment.m \
MAPIStoreCalendarContext.m \
MAPIStoreCalendarFolder.m \
MAPIStoreCalendarMessage.m \
MAPIStoreCalendarEmbeddedMessage.m \
MAPIStoreCalendarMessageTable.m \
MAPIStoreRecurrenceUtils.m \
\
MAPIStoreContactsAttachment.m \
MAPIStoreContactsContext.m \
MAPIStoreContactsFolder.m \
MAPIStoreContactsMessage.m \
MAPIStoreContactsMessageTable.m \
\
MAPIStoreTasksContext.m \
MAPIStoreTasksFolder.m \
MAPIStoreTasksMessage.m \
MAPIStoreTasksMessageTable.m \
\
MAPIStoreMailAttachment.m \
MAPIStoreMailContext.m \
MAPIStoreMailFolder.m \
MAPIStoreMailFolderTable.m \
MAPIStoreMailMessage.m \
MAPIStoreMailVolatileMessage.m \
MAPIStoreMailMessageTable.m \
\
MAPIStoreNotesContext.m \
MAPIStoreNotesFolder.m \
MAPIStoreNotesMessage.m \
\
MAPIStoreFallbackContext.m \
\
MAPIStoreSharingMessage.m \
\
NSArray+MAPIStore.m \
NSData+MAPIStore.m \
NSDate+MAPIStore.m \
NSObject+MAPIStore.m \
NSString+MAPIStore.m \
NSValue+MAPIStore.m \
\
iCalEvent+MAPIStore.m \
iCalTimeZone+MAPIStore.m \
\
RTFHandler.m \
\
Codepages.m
$(SOGOBACKEND)_RESOURCE_FILES += \
product.plist
### pl reader
PLREADER_TOOL = plreader
$(PLREADER_TOOL)_OBJC_FILES += \
plreader.m \
DBMSGREADER_TOOL = dbmsgreader
$(DBMSGREADER_TOOL)_OBJC_FILES += \
dbmsgreader.m \
NSObject+PropertyList.m
$(DBMSGREADER_TOOL)_LIB_DIRS += \
-L../SoObjects/SOGo/SOGo.framework/sogo -lSOGo \
-L../SOPE/GDLContentStore/obj/ -lGDLContentStore \
-L../SOPE/NGCards/obj/ -lNGCards \
-lNGObjWeb \
$(LIBMAPI_LIBS)
TEST_TOOL_NAME += $(PLREADER_TOOL) $(DBMSGREADER_TOOL)
### cflags and libs
LIBMAPI_CFLAGS = $(shell pkg-config libmapi --cflags)
ifeq ($(LIBMAPI_CFLAGS),)
all install::
@echo "Cannot build the OpenChange SOGo backend (empty CFLAGS for libmapistore)"
else
SAMBA_LIB_DIR = $(shell pkg-config libmapistore --variable=libdir)
LIBMAPI_LIBS = $(shell pkg-config libmapi --libs)
LIBMAPISTORE_CFLAGS = $(shell pkg-config libmapistore --cflags) -DSAMBA_PREFIX="\"$(shell pkg-config libmapistore --variable=prefix)\""
LIBMAPISTORE_LIBS = $(shell pkg-config libmapistore --libs) -lmapiproxy -lWEExtensions
$(MAPISTORESOGO)_INSTALL_DIR = $(DESTDIR)/$(SAMBA_LIB_DIR)/mapistore_backends
$(MAPISTORESOGO)_LIB_DIRS += \
-L../SoObjects/SOGo/SOGo.framework/sogo/ -lSOGo -lgnustep-base -lobjc -lNGObjWeb \
$(LIBMAPI_LIBS) \
$(LIBMAPISTORE_LIBS)
$(SOGOBACKEND)_LIB_DIRS += \
-L../SoObjects/SOGo/SOGo.framework/sogo/ -lSOGo \
$(LIBMAPI_LIBS) \
$(LIBMAPISTORE_LIBS)
ADDITIONAL_INCLUDE_DIRS += \
-Wall \
-DSAMBA_PRIVATE_DIR=@"\"$(SAMBA_PRIVATE_DIR)\"" \
$(LIBMAPI_CFLAGS) \
$(LIBMAPISTORE_CFLAGS) \
-I../SoObjects -I../SOPE \
-DBACKEND_BUNDLE_NAME="@\"$(BUNDLE_NAME)$(BUNDLE_EXTENSION)\"" \
-DSOGO_BUNDLES_DIR="@\"$(BUNDLE_INSTALL_DIR)\""
ADDITIONAL_LDFLAGS += -Wl,--rpath,$(SOGO_SYSLIBDIR)/sogo
-include GNUmakefile.preamble
include $(GNUSTEP_MAKEFILES)/bundle.make
include $(GNUSTEP_MAKEFILES)/library.make
include $(GNUSTEP_MAKEFILES)/test-tool.make
include $(GNUSTEP_MAKEFILES)/aggregate.make
-include GNUmakefile.postamble
endif
-8
View File
@@ -1,8 +0,0 @@
all:: MAPIStorePropertySelectors.m MAPIStorePropertySelectors.h
MAPIStorePropertySelectors.m MAPIStorePropertySelectors.h: gen-property-selectors.py code-MAPIStorePropertySelectors.m code-MAPIStorePropertySelectors.h
@echo " Auto-generating MAPIStorePropertySelectors.[hm]..."
@$(PYTHON) ./gen-property-selectors.py -o MAPIStorePropertySelectors $(LIBMAPISTORE_CFLAGS)
distclean clean::
-rm -f MAPIStorePropertySelectors.m MAPIStorePropertySelectors.h
-44
View File
@@ -1,44 +0,0 @@
/* MAPIApplication.h - this file is part of SOGo
*
* Copyright (C) 2010-2012 Inverse inc.
*
* Author: Wolfgang Sourdeau <wsourdeau@inverse.ca>
*
* This file is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3, or (at your option)
* any later version.
*
* This file is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#ifndef MAPIAPPLICATION_H
#define MAPIAPPLICATION_H
#import <NGObjWeb/SoApplication.h>
@class MAPIStoreUserContext;
@interface MAPIApplication : SoApplication
{
MAPIStoreUserContext *userContext;
}
- (id) authenticatorInContext: (id) context;
- (MAPIStoreUserContext *) userContext;
- (void) setUserContext: (MAPIStoreUserContext *) newContext;
- (void) cleanup;
@end
extern MAPIApplication *MAPIApp;
#endif /* MAPIAPPLICATION_H */
-101
View File
@@ -1,101 +0,0 @@
/* MAPIApplication.m - this file is part of SOGo
*
* Copyright (C) 2010 Inverse inc.
*
* Author: Wolfgang Sourdeau <wsourdeau@inverse.ca>
*
* This file is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3, or (at your option)
* any later version.
*
* This file is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#import <Foundation/NSUserDefaults.h>
#import <Foundation/NSTimeZone.h>
#import <WEExtensions/WEResourceManager.h>
#import <SOGo/SOGoProductLoader.h>
#import <SOGo/SOGoSystemDefaults.h>
#import <Appointments/iCalEntityObject+SOGo.h>
#import "MAPIStoreUserContext.h"
#import "MAPIStoreTypes.h"
#import "MAPIApplication.h"
MAPIApplication *MAPIApp = nil;
@implementation MAPIApplication
+ (BOOL) isCachingEnabled;
{
return NO;
}
- (NSString *) name
{
return @"SOGo";
}
- (id) init
{
if (!MAPIApp)
{
WEResourceManager *rm;
// TODO publish
[iCalEntityObject initializeSOGoExtensions];
MAPIApp = [super init];
[MAPIApp retain];
rm = [[WEResourceManager alloc] init];
[self setResourceManager:rm];
[rm release];
utcTZ = [NSTimeZone timeZoneWithName: @"UTC"];
[utcTZ retain];
}
return MAPIApp;
}
- (BOOL) shouldSetupSignalHandlers
{
return NO;
}
- (MAPIStoreUserContext *) userContext
{
return userContext;
}
- (void) setUserContext: (MAPIStoreUserContext *) newContext
{
/* user contexts must not be retained here ad their holder (mapistore)
contexts must be active when any operation occurs. */
userContext = newContext;
}
- (id) authenticatorInContext: (id) context
{
return [userContext authenticator];
}
- (void) cleanup
{
[userContext deactivate];
}
@end
-47
View File
@@ -1,47 +0,0 @@
/* MAPIStoreActiveTables.h - this file is part of SOGo
*
* Copyright (C) 2011-2012 Inverse inc
*
* Author: Wolfgang Sourdeau <wsourdeau@inverse.ca>
*
* This file is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3, or (at your option)
* any later version.
*
* This file is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#ifndef MAPISTOREACTIVETABLES_H
#define MAPISTOREACTIVETABLES_H
#import <Foundation/NSObject.h>
@class NSMutableArray;
@class MAPIStoreTable;
@interface MAPIStoreActiveTables : NSObject
{
NSMutableArray *records;
}
+ (id) activeTables;
- (void) registerTable: (MAPIStoreTable *) table;
- (void) unregisterTable: (MAPIStoreTable *) table;
- (NSArray *) activeTablesForFMID: (uint64_t) fmid
andType: (uint8_t) tableType;
@end
#endif /* MAPISTOREACTIVETABLES_H */
-198
View File
@@ -1,198 +0,0 @@
/* MAPIStoreActiveTables.m - this file is part of SOGo
*
* Copyright (C) 2011-2012 Inverse inc
*
* Author: Wolfgang Sourdeau <wsourdeau@inverse.ca>
*
* This file is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3, or (at your option)
* any later version.
*
* This file is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
/* MAPIStoreActiveTables provides an interface to keep accounting of all
instances of a given table, independently from its store and context.
Primary useful for notifications across different connections. */
#import <Foundation/NSArray.h>
#import <Foundation/NSString.h>
#import "MAPIStoreFolder.h"
#import "MAPIStoreTable.h"
#import "MAPIStoreActiveTables.h"
@interface MAPIStoreActiveTableRecord : NSObject
{
uint64_t folderId;
uint8_t tableType;
MAPIStoreTable *table;
}
+ (id) recordForTable: (MAPIStoreTable *) newTable;
- (id) initWithTable: (MAPIStoreTable *) newTable;
- (MAPIStoreTable *) table;
- (BOOL) exactlyMatchesTable: (MAPIStoreTable *) otherTable;
- (BOOL) matchesFMID: (uint64_t) otherFMid
andTableType: (uint8_t) otherTableType;
- (BOOL) matchesTable: (MAPIStoreTable *) otherTable;
@end
@implementation MAPIStoreActiveTableRecord : NSObject
+ (id) recordForTable: (MAPIStoreTable *) newTable
{
MAPIStoreActiveTableRecord *record;
record = [[self alloc] initWithTable: newTable];
[record autorelease];
return record;
}
- (id) init
{
if ((self = [super init]))
{
folderId = 0;
tableType = 0;
table = nil;
}
return self;
}
- (id) initWithTable: (MAPIStoreTable *) newTable
{
if ((self = [self init]))
{
table = newTable;
folderId = [[table container] objectId];
tableType = [table tableType];
}
return self;
}
- (MAPIStoreTable *) table
{
return table;
}
- (BOOL) exactlyMatchesTable: (MAPIStoreTable *) otherTable
{
return (table == otherTable);
}
- (BOOL) matchesFMID: (uint64_t) otherFMid
andTableType: (uint8_t) otherTableType
{
return (tableType == otherTableType
&& folderId == otherFMid);
}
- (BOOL) matchesTable: (MAPIStoreTable *) otherTable
{
uint64_t otherFMid;
BOOL rc;
rc = [self exactlyMatchesTable: otherTable];
if (!rc)
{
otherFMid = [[otherTable container] objectId];
rc = [self matchesFMID: otherFMid andTableType: [otherTable tableType]];
}
return rc;
}
@end
@implementation MAPIStoreActiveTables
+ (id) activeTables
{
static MAPIStoreActiveTables *activeTables = nil;
if (!activeTables)
activeTables = [self new];
return activeTables;
}
- (id) init
{
if ((self = [super init]))
{
records = [NSMutableArray new];
}
return self;
}
- (void) dealloc
{
[records release];
[super dealloc];
}
- (void) registerTable: (MAPIStoreTable *) table
{
MAPIStoreActiveTableRecord *newRecord;
newRecord = [MAPIStoreActiveTableRecord recordForTable: table];
[records addObject: newRecord];
}
- (void) unregisterTable: (MAPIStoreTable *) table
{
MAPIStoreActiveTableRecord *currentRecord;
NSUInteger count, max;
BOOL done = NO;
max = [records count];
for (count = 0; !done && count < max; count++)
{
currentRecord = [records objectAtIndex: count];
if ([currentRecord exactlyMatchesTable: table])
{
[records removeObject: currentRecord];
done = YES;
}
}
}
- (NSArray *) activeTablesForFMID: (uint64_t) fmid
andType: (uint8_t) tableType
{
NSUInteger count, max;
NSMutableArray *tables;
MAPIStoreActiveTableRecord *currentRecord;
tables = [NSMutableArray arrayWithCapacity: 5];
max = [records count];
for (count = 0; count < max; count++)
{
currentRecord = [records objectAtIndex: count];
if ([currentRecord matchesFMID: fmid andTableType: tableType])
[tables addObject: [currentRecord table]];
}
return tables;
}
@end
@@ -1,177 +0,0 @@
/* MAPIStoreAppointmentWrapper.h - this file is part of SOGo
*
* Copyright (C) 2011-2012 Inverse inc
*
* Author: Wolfgang Sourdeau <wsourdeau@inverse.ca>
*
* This file is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This file is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#ifndef MAPISTORECALENDARWRAPPER_H
#define MAPISTORECALENDARWRAPPER_H
#import <NGCards/iCalPerson.h>
#import <NGCards/iCalTimeZone.h>
#import <Appointments/iCalEntityObject+SOGo.h>
#import "MAPIStoreObjectProxy.h"
@class NSTimeZone;
@class iCalAlarm;
@class iCalCalendar;
@class iCalEvent;
@class SOGoUser;
@interface MAPIStoreAppointmentWrapper : MAPIStoreObjectProxy
{
struct mapistore_connection_info *connInfo;
iCalCalendar *calendar;
iCalEvent *firstEvent;
iCalEvent *event;
iCalTimeZone *timeZone;
SOGoUser *user;
NSString *senderEmail;
NSData *globalObjectId;
NSData *cleanGlobalObjectId;
BOOL alarmSet;
iCalAlarm *alarm;
BOOL itipSetup;
NSString *method;
iCalPersonPartStat partstat;
}
+ (id) wrapperWithICalEvent: (iCalEvent *) newEvent
andUser: (SOGoUser *) newUser
andSenderEmail: (NSString *) newSenderEmail
withConnectionInfo: (struct mapistore_connection_info *) newConnInfo;
- (id) initWithICalEvent: (iCalEvent *) newEvent
andUser: (SOGoUser *) newUser
andSenderEmail: (NSString *) newSenderEmail
withConnectionInfo: (struct mapistore_connection_info *) newConnInfo;
/* getters */
- (void) fillMessageData: (struct mapistore_message *) dataPtr
inMemCtx: (TALLOC_CTX *) memCtx;
- (NSString *) creator;
- (NSString *) owner;
- (NSUInteger) sensitivity;
- (enum mapistore_error) getPidTagSenderEmailAddress: (void **) data
inMemCtx: (TALLOC_CTX *) memCtx;
- (enum mapistore_error) getPidTagSenderAddressType: (void **) data
inMemCtx: (TALLOC_CTX *) memCtx;
- (enum mapistore_error) getPidTagSenderName: (void **) data
inMemCtx: (TALLOC_CTX *) memCtx;
- (enum mapistore_error) getPidTagSenderEntryId: (void **) data
inMemCtx: (TALLOC_CTX *) memCtx;
- (enum mapistore_error) getPidTagReceivedByAddressType: (void **) data
inMemCtx: (TALLOC_CTX *) memCtx;
- (enum mapistore_error) getPidTagReceivedByEmailAddress: (void **) data
inMemCtx: (TALLOC_CTX *) memCtx;
- (enum mapistore_error) getPidTagReceivedByName: (void **) data
inMemCtx: (TALLOC_CTX *) memCtx;
- (enum mapistore_error) getPidTagReceivedByEntryId: (void **) data
inMemCtx: (TALLOC_CTX *) memCtx;
- (enum mapistore_error) getPidTagIconIndex: (void **) data
inMemCtx: (TALLOC_CTX *) memCtx;
- (enum mapistore_error) getPidTagOwnerAppointmentId: (void **) data
inMemCtx: (TALLOC_CTX *) memCtx;
- (enum mapistore_error) getPidLidMeetingType: (void **) data
inMemCtx: (TALLOC_CTX *) memCtx;
- (enum mapistore_error) getPidTagMessageClass: (void **) data
inMemCtx: (TALLOC_CTX *) memCtx;
- (enum mapistore_error) getPidTagStartDate: (void **) data
inMemCtx: (TALLOC_CTX *) memCtx;
- (enum mapistore_error) getPidLidAppointmentSequence: (void **) data
inMemCtx: (TALLOC_CTX *) memCtx;
- (enum mapistore_error) getPidLidAppointmentStateFlags: (void **) data
inMemCtx: (TALLOC_CTX *) memCtx;
- (enum mapistore_error) getPidLidResponseStatus: (void **) data
inMemCtx: (TALLOC_CTX *) memCtx;
- (enum mapistore_error) getPidLidAppointmentStartWhole: (void **) data
inMemCtx: (TALLOC_CTX *) memCtx;
- (enum mapistore_error) getPidLidCommonStart: (void **) data
inMemCtx: (TALLOC_CTX *) memCtx;
- (enum mapistore_error) getPidTagEndDate: (void **) data
inMemCtx: (TALLOC_CTX *) memCtx;
- (enum mapistore_error) getPidLidAppointmentEndWhole: (void **) data
inMemCtx: (TALLOC_CTX *) memCtx;
- (enum mapistore_error) getPidLidCommonEnd: (void **) data
inMemCtx: (TALLOC_CTX *) memCtx;
- (enum mapistore_error) getPidLidAppointmentDuration: (void **) data
inMemCtx: (TALLOC_CTX *) memCtx;
- (enum mapistore_error) getPidLidAppointmentSubType: (void **) data
inMemCtx: (TALLOC_CTX *) memCtx;
- (enum mapistore_error) getPidLidBusyStatus: (void **) data // TODO
inMemCtx: (TALLOC_CTX *) memCtx;
- (enum mapistore_error) getPidLidIndentedBusyStatus: (void **) data // TODO
inMemCtx: (TALLOC_CTX *) memCtx;
- (enum mapistore_error) getPidTagNormalizedSubject: (void **) data // SUMMARY
inMemCtx: (TALLOC_CTX *) memCtx;
- (enum mapistore_error) getPidLidLocation: (void **) data // LOCATION
inMemCtx: (TALLOC_CTX *) memCtx;
- (enum mapistore_error) getPidLidPrivate: (void **) data // private (bool), should depend on CLASS and permissions
inMemCtx: (TALLOC_CTX *) memCtx;
- (enum mapistore_error) getPidTagSensitivity: (void **) data // not implemented, depends on CLASS
inMemCtx: (TALLOC_CTX *) memCtx;
- (enum mapistore_error) getPidTagImportance: (void **) data
inMemCtx: (TALLOC_CTX *) memCtx;
- (enum mapistore_error) getPidTagBody: (void **) data
inMemCtx: (TALLOC_CTX *) memCtx;
- (enum mapistore_error) getPidLidIsRecurring: (void **) data
inMemCtx: (TALLOC_CTX *) memCtx;
- (enum mapistore_error) getPidLidRecurring: (void **) data
inMemCtx: (TALLOC_CTX *) memCtx;
- (enum mapistore_error) getPidLidAppointmentRecur: (void **) data
inMemCtx: (TALLOC_CTX *) memCtx;
- (enum mapistore_error) getPidLidGlobalObjectId: (void **) data
inMemCtx: (TALLOC_CTX *) memCtx;
- (enum mapistore_error) getPidLidCleanGlobalObjectId: (void **) data
inMemCtx: (TALLOC_CTX *) memCtx;
- (enum mapistore_error) getPidLidServerProcessed: (void **) data
inMemCtx: (TALLOC_CTX *) memCtx;
- (enum mapistore_error) getPidLidServerProcessingActions: (void **) data
inMemCtx: (TALLOC_CTX *) memCtx;
- (enum mapistore_error) getPidLidAppointmentReplyTime: (void **) data
inMemCtx: (TALLOC_CTX *) memCtx;
/* reminders */
- (enum mapistore_error) getPidLidReminderSet: (void **) data
inMemCtx: (TALLOC_CTX *) memCtx;
- (enum mapistore_error) getPidLidReminderDelta: (void **) data
inMemCtx: (TALLOC_CTX *) memCtx;
- (enum mapistore_error) getPidLidReminderTime: (void **) data
inMemCtx: (TALLOC_CTX *) memCtx;
- (enum mapistore_error) getPidLidReminderSignalTime: (void **) data
inMemCtx: (TALLOC_CTX *) memCtx;
- (enum mapistore_error) getPidLidReminderOverride: (void **) data
inMemCtx: (TALLOC_CTX *) memCtx;
- (enum mapistore_error) getPidLidReminderType: (void **) data
inMemCtx: (TALLOC_CTX *) memCtx;
- (enum mapistore_error) getPidLidReminderPlaySound: (void **) data
inMemCtx: (TALLOC_CTX *) memCtx;
- (enum mapistore_error) getPidLidReminderFileParameter: (void **) data
inMemCtx: (TALLOC_CTX *) memCtx;
@end
#endif /* MAPISTORECALENDARWRAPPER_H */
File diff suppressed because it is too large. Load diff
-59
View File
@@ -1,59 +0,0 @@
/* MAPIStoreAttachment.h - this file is part of SOGo
*
* Copyright (C) 2011-2012 Inverse inc
*
* Author: Wolfgang Sourdeau <wsourdeau@inverse.ca>
*
* This file is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This file is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#ifndef MAPISTOREATTACHMENT_H
#define MAPISTOREATTACHMENT_H
#import "MAPIStoreObject.h"
@class NSData;
@class MAPIStoreEmbeddedMessage;
@interface MAPIStoreAttachment : MAPIStoreObject
{
uint32_t aid;
}
- (void) setAID: (uint32_t) newAID;
- (uint32_t) AID;
- (enum mapistore_error) openEmbeddedMessage: (MAPIStoreEmbeddedMessage **) messagePtr
withMID: (uint64_t *) mid
withMAPIStoreMsg: (struct mapistore_message **) mapistoreMsgPtr
inMemCtx: (TALLOC_CTX *) memCtx;
- (enum mapistore_error) createEmbeddedMessage: (MAPIStoreEmbeddedMessage **) messagePtr
withMAPIStoreMsg: (struct mapistore_message **) mapistoreMsgPtr
inMemCtx: (TALLOC_CTX *) memCtx;
/* helpers */
- (NSData *) mimeAttachTag;
/* move & copy operations */
- (void) copyToAttachment: (MAPIStoreAttachment *) newAttachment inMemCtx: (TALLOC_CTX *) memCtx;
/* subclasses */
- (MAPIStoreEmbeddedMessage *) openEmbeddedMessage;
- (MAPIStoreEmbeddedMessage *) createEmbeddedMessage;
@end
#endif /* MAPISTOREATTACHMENT_H */
-194
View File
@@ -1,194 +0,0 @@
/* MAPIStoreAttachment.m - this file is part of SOGo
*
* Copyright (C) 2011-2012 Inverse inc
*
* Author: Wolfgang Sourdeau <wsourdeau@inverse.ca>
*
* This file is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3, or (at your option)
* any later version.
*
* This file is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#import <Foundation/NSData.h>
#import "MAPIStoreAttachment.h"
#import "MAPIStoreEmbeddedMessage.h"
#import "MAPIStoreContext.h"
#import "MAPIStoreMapping.h"
#import "MAPIStoreMessage.h"
#import "MAPIStoreTypes.h"
#import "NSObject+MAPIStore.h"
#undef DEBUG
#include <stdbool.h>
#include <gen_ndr/exchange.h>
#include <mapistore/mapistore.h>
#include <mapistore/mapistore_errors.h>
@implementation MAPIStoreAttachment
- (void) setAID: (uint32_t) newAID
{
aid = newAID;
}
- (uint32_t) AID
{
return aid;
}
- (NSString *) nameInContainer
{
return [NSString stringWithFormat: @"%d", aid];
}
- (NSData *) mimeAttachTag
{
static NSData *mimeAttachTag = nil;
char tagBytes[] = {0x2a, 0x86, 0x48, 0x86, 0xf7, 0x14, 0x03, 0x0a, 0x04};
if (!mimeAttachTag)
{
mimeAttachTag = [NSData dataWithBytes: tagBytes length: 9];
[mimeAttachTag retain];
}
return mimeAttachTag;
}
- (enum mapistore_error) getPidTagMid: (void **) data
inMemCtx: (TALLOC_CTX *) memCtx
{
*data = MAPILongLongValue (memCtx, [container objectId]);
return MAPISTORE_SUCCESS;
}
- (enum mapistore_error) getPidTagAttachNumber: (void **) data
inMemCtx: (TALLOC_CTX *) memCtx
{
*data = MAPILongValue (memCtx, aid);
return MAPISTORE_SUCCESS;
}
- (enum mapistore_error) getPidTagRenderingPosition: (void **) data
inMemCtx: (TALLOC_CTX *) memCtx
{
*data = MAPILongValue (memCtx, 0xffffffff);
return MAPISTORE_SUCCESS;
}
- (enum mapistore_error) getPidTagAccessLevel: (void **) data
inMemCtx: (TALLOC_CTX *) memCtx
{
return [self getLongZero: data inMemCtx: memCtx];
}
- (enum mapistore_error) openEmbeddedMessage: (MAPIStoreEmbeddedMessage **) messagePtr
withMID: (uint64_t *) mid
withMAPIStoreMsg: (struct mapistore_message **) mapistoreMsgPtr
inMemCtx: (TALLOC_CTX *) memCtx
{
MAPIStoreEmbeddedMessage *attMessage;
struct mapistore_message *mapistoreMsg;
mapistoreMsg = talloc_zero (memCtx, struct mapistore_message);
attMessage = [self openEmbeddedMessage];
if (attMessage)
{
*mid = [attMessage objectId];
*messagePtr = attMessage;
*mapistoreMsgPtr = mapistoreMsg;
}
return (attMessage ? MAPISTORE_SUCCESS : MAPISTORE_ERROR);
}
- (enum mapistore_error) createEmbeddedMessage: (MAPIStoreEmbeddedMessage **) messagePtr
withMAPIStoreMsg: (struct mapistore_message **) mapistoreMsgPtr
inMemCtx: (TALLOC_CTX *) memCtx
{
MAPIStoreEmbeddedMessage *attMessage;
struct mapistore_message *mapistoreMsg;
mapistoreMsg = talloc_zero (memCtx, struct mapistore_message);
attMessage = [self createEmbeddedMessage];
if (attMessage)
{
*messagePtr = attMessage;
*mapistoreMsgPtr = mapistoreMsg;
}
return (attMessage ? MAPISTORE_SUCCESS : MAPISTORE_ERROR);
}
- (NSDate *) creationTime
{
return [container creationTime];
}
- (NSDate *) lastModificationTime
{
return [container lastModificationTime];
}
- (uint64_t) objectVersion
{
/* attachments have no version number */
return ULLONG_MAX;
}
- (void) copyToAttachment: (MAPIStoreAttachment *) newAttachment inMemCtx: (TALLOC_CTX *) memCtx
{
void *attachMethod;
enum mapistore_error error;
MAPIStoreEmbeddedMessage *embeddedMessage, *newEmbeddedMessage;
[self copyPropertiesToObject: newAttachment inMemCtx: memCtx];
attachMethod = NULL;
error = [self getProperty: &attachMethod
withTag: PidTagAttachMethod
inMemCtx: NULL];
if (error == MAPISTORE_SUCCESS && attachMethod)
{
if (*(uint32_t *) attachMethod == afEmbeddedMessage)
{
embeddedMessage = [self openEmbeddedMessage];
newEmbeddedMessage = [newAttachment createEmbeddedMessage];
[embeddedMessage copyToMessage: newEmbeddedMessage inMemCtx: memCtx];
}
talloc_free (attachMethod);
}
}
/* subclasses */
- (MAPIStoreEmbeddedMessage *) openEmbeddedMessage
{
// [self subclassResponsibility: _cmd];
return nil;
}
- (MAPIStoreEmbeddedMessage *) createEmbeddedMessage
{
[self subclassResponsibility: _cmd];
return nil;
}
@end
@@ -1,31 +0,0 @@
/* MAPIStoreAttachmentTable.h - this file is part of SOGo
*
* Copyright (C) 2011-2012 Inverse inc
*
* Author: Wolfgang Sourdeau <wsourdeau@inverse.ca>
*
* This file is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This file is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#ifndef MAPISTOREATTACHMENTTABLE_H
#define MAPISTOREATTACHMENTTABLE_H
#import "MAPIStoreTable.h"
@interface MAPIStoreAttachmentTable : MAPIStoreTable
@end
#endif /* MAPISTOREATTACHMENTTABLE_H */
@@ -1,73 +0,0 @@
/* MAPIStoreAttachmentTable.m - this file is part of SOGo
*
* Copyright (C) 2011-2012 Inverse inc
*
* Author: Wolfgang Sourdeau <wsourdeau@inverse.ca>
*
* This file is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3, or (at your option)
* any later version.
*
* This file is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#import <Foundation/NSArray.h>
#import "MAPIStoreMessage.h"
#import "MAPIStoreAttachmentTable.h"
@implementation MAPIStoreAttachmentTable
- (NSArray *) childKeys
{
if (!childKeys)
{
childKeys = [(MAPIStoreMessage *)
container attachmentKeysMatchingQualifier: nil
andSortOrderings: sortOrderings];
[childKeys retain];
}
return childKeys;
}
- (NSArray *) restrictedChildKeys
{
NSArray *keys;
if (!restrictedChildKeys)
{
if (restrictionState != MAPIRestrictionStateAlwaysTrue)
{
if (restrictionState == MAPIRestrictionStateNeedsEval)
keys = [(MAPIStoreMessage *)
container attachmentKeysMatchingQualifier: restriction
andSortOrderings: sortOrderings];
else
keys = [NSArray array];
}
else
keys = [self childKeys];
ASSIGN (restrictedChildKeys, keys);
}
return restrictedChildKeys;
}
- (id) lookupChild: (NSString *) childKey
{
return [(MAPIStoreMessage *) container lookupAttachment: childKey];
}
@end
-54
View File
@@ -1,54 +0,0 @@
/* MAPIStoreAuthenticator.h - this file is part of SOGo
*
* Copyright (C) 2010-2012 Inverse inc.
*
* Author: Wolfgang Sourdeau <wsourdeau@inverse.ca>
*
* This file is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3, or (at your option)
* any later version.
*
* This file is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#ifndef MAPISTOREAUTHENTICATOR_H
#define MAPISTOREAUTHENTICATOR_H
#import <Foundation/NSObject.h>
@class NSString;
@class NSURL;
@class WOContext;
@interface MAPIStoreAuthenticator : NSObject
{
NSString *username;
NSString *password;
}
- (void) setUsername: (NSString *) newUsername;
- (NSString *) username;
- (void) setPassword: (NSString *) newPassword;
- (NSString *) imapPasswordInContext: (WOContext *) context
forURL: (NSURL *) server
forceRenew: (BOOL) renew;
- (NSString *) passwordInContext: (WOContext *) context;
@end
#endif /* MAPISTOREAUTHENTICATOR_H */
-79
View File
@@ -1,79 +0,0 @@
/* MAPIStoreAuthenticator.m - this file is part of SOGo
*
* Copyright (C) 2010-2012 Inverse inc
*
* Author: Wolfgang Sourdeau <wsourdeau@inverse.ca>
*
* This file is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3, or (at your option)
* any later version.
*
* This file is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#import <Foundation/NSArray.h>
#import <Foundation/NSURL.h>
#import <SOGo/SOGoUser.h>
#import <SOGo/SOGoPermissions.h>
#import "MAPIStoreAuthenticator.h"
@implementation MAPIStoreAuthenticator
- (void) dealloc
{
[username release];
[password release];
[super dealloc];
}
- (void) setUsername: (NSString *) newUsername
{
ASSIGN (username, newUsername);
}
- (NSString *) username
{
return username;
}
- (void) setPassword: (NSString *) newPassword
{
ASSIGN (password, newPassword);
}
- (SOGoUser *) userInContext: (WOContext *)_ctx
{
return [SOGoUser userWithLogin: username
roles: [NSArray arrayWithObject: SoRole_Authenticated]];
}
- (NSString *) imapPasswordInContext: (WOContext *) context
forURL: (NSURL *) server
forceRenew: (BOOL) renew
{
NSString *imapPassword;
if (renew)
imapPassword = nil;
else
imapPassword = password;
return imapPassword;
}
- (NSString *) passwordInContext: (WOContext *) context
{
return password;
}
@end
-35
View File
@@ -1,35 +0,0 @@
/* MAPIStoreCalTaskFolder.h - this file is part of SOGo
*
* Copyright (C) 2016 Enrique J. Hernandez
*
* Author: Enrique J. Hernandez <ejhernandez@zentyal.com>
*
* This file is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This file is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#ifndef MAPISTORECALTASKFOLDER_H
#define MAPISTORECALTASKFOLDER_H
#import "MAPIStoreGCSFolder.h"
/* This class is intended to share code between Calendar and Tasks as
of nowadays share the table */
@interface MAPIStoreCalTaskFolder : MAPIStoreGCSFolder
@end
#endif /* MAPISTORECALTASKFOLDER_H */
-101
View File
@@ -1,101 +0,0 @@
/* MAPIStoreCalTaskFolder.m - this file is part of SOGo
*
* Copyright (C) 2016 Enrique J. Hernandez
*
* Author: Enrique J. Hernandez <ejhernandez@zentyal.com>
*
* This file is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3, or (at your option)
* any later version.
*
* This file is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#import <Foundation/NSArray.h>
#import <Foundation/NSDictionary.h>
#import <Foundation/NSSet.h>
#import <Foundation/NSString.h>
#import <SOGo/SOGoPermissions.h>
#import "MAPIStoreCalTaskFolder.h"
@implementation MAPIStoreCalTaskFolder
- (NSArray *) expandRoles: (NSArray *) roles
{
static NSDictionary *rolesMap = nil;
NSArray *subRoles;
NSMutableSet *expandedRoles;
NSString *role, *subRole;
NSUInteger i, max, j;
if (!rolesMap)
{
/* Build the map of array permissions */
rolesMap = [[NSDictionary alloc] initWithObjects: [NSArray arrayWithObjects:
[NSArray arrayWithObjects: SOGoCalendarRole_PublicDAndTViewer,
SOGoCalendarRole_PublicViewer,
SOGoCalendarRole_PublicResponder,
SOGoCalendarRole_PublicModifier, nil],
[NSArray arrayWithObjects: SOGoCalendarRole_ConfidentialDAndTViewer,
SOGoCalendarRole_ConfidentialViewer,
SOGoCalendarRole_ConfidentialResponder,
SOGoCalendarRole_ConfidentialModifier, nil],
[NSArray arrayWithObjects: SOGoCalendarRole_PrivateDAndTViewer,
SOGoCalendarRole_PrivateViewer,
SOGoCalendarRole_PrivateResponder,
SOGoCalendarRole_PrivateModifier, nil],
[NSArray arrayWithObjects: SOGoCalendarRole_ComponentDAndTViewer,
SOGoCalendarRole_ComponentViewer,
SOGoCalendarRole_ComponentResponder,
SOGoCalendarRole_ComponentModifier, nil],
nil]
forKeys: [NSArray arrayWithObjects: @"Public", @"Confidential", @"Private",
@"Component", nil]];
}
max = [roles count];
expandedRoles = [NSMutableSet set];
for (i = 0; i < max; i++)
{
role = [roles objectAtIndex: i];
subRoles = nil;
if ([role hasPrefix: @"Public"])
subRoles = [rolesMap objectForKey: @"Public"];
else if ([role hasPrefix: @"Confidential"])
subRoles = [rolesMap objectForKey: @"Confidential"];
else if ([role hasPrefix: @"Private"])
subRoles = [rolesMap objectForKey: @"Private"];
else if ([role hasPrefix: @"Component"])
subRoles = [rolesMap objectForKey: @"Component"];
if (subRoles)
{
for (j = 0; j < [subRoles count]; j++)
{
subRole = [subRoles objectAtIndex: j];
[expandedRoles addObject: subRole];
if ([subRole isEqualToString: role])
break;
}
}
else
{
[expandedRoles addObject: role];
}
}
return [expandedRoles allObjects];
}
@end
@@ -1,40 +0,0 @@
/* MAPIStoreCalTaskMessage.h - this file is part of SOGo
*
* Copyright (C) 2016 Enrique J. Hernandez
*
* Author: Enrique J. Hernandez <ejhernandez@zentyal.com>
*
* This file is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This file is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#ifndef MAPISTORECALTASKMESSAGE_H
#define MAPISTORECALTASKMESSAGE_H
#import "MAPIStoreGCSMessage.h"
/* This class is intended to share common logic for Calendar and Tasks
as of today they are stored in the same table. This is relevant for
permissions */
@interface MAPIStoreCalTaskMessage : MAPIStoreGCSMessage
{
}
/* Get the sensitivity (access class) from a message */
- (NSUInteger) sensitivity;
@end
#endif /* MAPISTORECALTASKMESSAGE_H */
-107
View File
@@ -1,107 +0,0 @@
/* MAPIStoreCalTaskMessage.h - this file is part of SOGo
*
* Copyright (C) 2016 Enrique J. Hernandez
*
* Author: Enrique J. Hernandez <ejhernandez@zentyal.com>
*
* This file is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This file is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#import <Foundation/NSArray.h>
#import <Foundation/NSString.h>
#import <NGObjWeb/WOContext+SoObjects.h>
#import <SOGo/SOGoPermissions.h>
#import "MAPIStoreFolder.h"
#import "MAPIStoreCalTaskMessage.h"
@implementation MAPIStoreCalTaskMessage
/* It must be implemented by subclasses */
- (NSUInteger) sensitivity
{
[self subclassResponsibility: _cmd];
return 0;
}
- (NSArray *) expandRoles: (NSArray *) roles
{
return [container expandRoles: roles];
}
- (BOOL) subscriberCanModifyMessage
{
BOOL rc;
NSArray *roles;
roles = [self activeUserRoles];
if (isNew)
rc = [roles containsObject: SOGoRole_ObjectCreator];
else
rc = ([roles containsObject: SOGoCalendarRole_ComponentModifier]
|| [roles containsObject: SOGoCalendarRole_ComponentResponder]);
/* Check if the message is owned and it has permission to edit it */
if (!rc && [roles containsObject: MAPIStoreRightEditOwn])
{
NSString *currentUser;
currentUser = [[container context] activeUser];
rc = [currentUser isEqual: [self ownerUser]];
}
if (!rc)
{
NSUInteger sensitivity;
/* Get sensitivity of the message to check if the user can
modify the message */
sensitivity = [self sensitivity];
/* FIXME: Use OpenChange constant names */
switch (sensitivity)
{
case 0: /* PUBLIC */
rc = [roles containsObject: SOGoCalendarRole_PublicModifier]
|| [roles containsObject: SOGoCalendarRole_PublicResponder];
break;
case 1: /* PERSONAL */
case 2: /* PRIVATE */
rc = [roles containsObject: SOGoCalendarRole_PrivateModifier]
|| [roles containsObject: SOGoCalendarRole_PrivateResponder];
break;
case 3: /* CONFIDENTIAL */
rc = [roles containsObject: SOGoCalendarRole_ConfidentialModifier]
|| [roles containsObject: SOGoCalendarRole_ConfidentialResponder];
}
}
return rc;
}
- (BOOL) subscriberCanReadMessage
{
NSArray *roles;
roles = [self activeUserRoles];
return ([roles containsObject: SOGoCalendarRole_ComponentViewer]
|| [roles containsObject: SOGoCalendarRole_ComponentDAndTViewer]
|| [self subscriberCanModifyMessage]);
}
@end
@@ -1,43 +0,0 @@
/* MAPIStoreCalendarAttachment.h - this file is part of SOGo
*
* Copyright (C) 2011-2012 Inverse inc
*
* Author: Wolfgang Sourdeau <wsourdeau@inverse.ca>
*
* This file is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This file is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#ifndef MAPISTORECALENDARATTACHMENT_H
#define MAPISTORECALENDARATTACHMENT_H
#import "MAPIStoreAttachment.h"
@class NSTimeZone;
@class iCalEvent;
@interface MAPIStoreCalendarAttachment : MAPIStoreAttachment
{
iCalEvent *event;
NSTimeZone *timeZone;
}
- (void) setEvent: (iCalEvent *) newEvent;
- (iCalEvent *) event;
@end
#endif /* MAPISTORECALENDARATTACHMENT_H */
@@ -1,255 +0,0 @@
/* MAPIStoreCalendarAttachment.m - this file is part of SOGo
*
* Copyright (C) 2011-2012 Inverse inc
*
* Author: Wolfgang Sourdeau <wsourdeau@inverse.ca>
*
* This file is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3, or (at your option)
* any later version.
*
* This file is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#import <Foundation/NSCalendarDate.h>
#import <Foundation/NSData.h>
#import <Foundation/NSDictionary.h>
#import <Foundation/NSTimeZone.h>
#import <NGObjWeb/WOContext+SoObjects.h>
#import <NGExtensions/NSObject+Logs.h>
#import "iCalEvent+MAPIStore.h"
#import "MAPIStoreCalendarEmbeddedMessage.h"
#import "MAPIStoreTypes.h"
#import "MAPIStoreUserContext.h"
#import "NSDate+MAPIStore.h"
#import "NSData+MAPIStore.h"
#import "NSObject+MAPIStore.h"
#import "NSString+MAPIStore.h"
#import "MAPIStoreCalendarAttachment.h"
#undef DEBUG
#include <stdbool.h>
#include <gen_ndr/exchange.h>
#include <mapistore/mapistore.h>
#include <mapistore/mapistore_errors.h>
@implementation MAPIStoreCalendarAttachment
- (id) init
{
if ((self = [super init]))
{
event = nil;
timeZone = nil;
}
return self;
}
- (id) initInContainer: (MAPIStoreObject *) newContainer
{
MAPIStoreUserContext *userContext;
if ((self = [super initInContainer: newContainer]))
{
userContext = [newContainer userContext];
ASSIGN (timeZone, [userContext timeZone]);
}
return self;
}
- (void) dealloc
{
[event release];
[timeZone release];
[super dealloc];
}
- (void) setEvent: (iCalEvent *) newEvent
{
ASSIGN (event, newEvent);
}
- (iCalEvent *) event
{
return event;
}
- (NSString *) nameInContainer
{
return [[event uniqueChildWithTag: @"recurrence-id"]
flattenedValuesForKey: @""];
}
- (enum mapistore_error) getPidTagAttachmentHidden: (void **) data
inMemCtx: (TALLOC_CTX *) localMemCtx
{
return [self getYes: data inMemCtx: localMemCtx];
}
- (enum mapistore_error) getPidTagAttachmentFlags: (void **) data
inMemCtx: (TALLOC_CTX *) localMemCtx
{
*data = MAPILongValue (localMemCtx, 0x00000002); /* afException */
return MAPISTORE_SUCCESS;
}
- (enum mapistore_error) getPidTagAttachmentLinkId: (void **) data
inMemCtx: (TALLOC_CTX *) localMemCtx
{
return [self getLongZero: data inMemCtx: localMemCtx];
}
- (enum mapistore_error) getPidTagAttachFlags: (void **) data
inMemCtx: (TALLOC_CTX *) localMemCtx
{
return [self getLongZero: data inMemCtx: localMemCtx];
}
- (enum mapistore_error) getPidTagAttachMethod: (void **) data
inMemCtx: (TALLOC_CTX *) localMemCtx
{
*data = MAPILongValue (localMemCtx, afEmbeddedMessage);
return MAPISTORE_SUCCESS;
}
- (enum mapistore_error) getPidTagAttachEncoding: (void **) data
inMemCtx: (TALLOC_CTX *) localMemCtx
{
*data = [[NSData data] asBinaryInMemCtx: localMemCtx];
return MAPISTORE_SUCCESS;
}
- (enum mapistore_error) getPidTagDisplayName: (void **) data
inMemCtx: (TALLOC_CTX *) localMemCtx
{
*data = [@"Untitled" asUnicodeInMemCtx: localMemCtx];
return MAPISTORE_SUCCESS;
}
- (enum mapistore_error) getPidTagAttachmentContactPhoto: (void **) data
inMemCtx: (TALLOC_CTX *) memCtx
{
return [self getNo: data inMemCtx: memCtx];
}
- (enum mapistore_error) getPidTagExceptionReplaceTime: (void **) data
inMemCtx: (TALLOC_CTX *) memCtx
{
enum mapistore_error rc;
NSCalendarDate *dateValue;
NSInteger offset;
dateValue = [event recurrenceId];
if (dateValue)
{
rc = MAPISTORE_SUCCESS;
if ([event isAllDay])
{
offset = -[timeZone secondsFromGMTForDate: dateValue];
dateValue = [dateValue dateByAddingYears: 0 months: 0 days: 0
hours: 0 minutes: 0
seconds: offset];
}
[dateValue setTimeZone: utcTZ];
*data = [dateValue asFileTimeInMemCtx: memCtx];
}
else
rc = MAPISTORE_ERR_NOT_FOUND;
return rc;
}
- (enum mapistore_error) getPidTagExceptionStartTime: (void **) data
inMemCtx: (TALLOC_CTX *) localMemCtx
{
enum mapistore_error rc;
NSCalendarDate *dateValue;
NSInteger offset;
if ([event recurrenceId] != nil)
{
dateValue = [event startDate];
[dateValue setTimeZone: timeZone];
if (![event isAllDay])
{
offset = [timeZone secondsFromGMTForDate: dateValue];
dateValue = [dateValue dateByAddingYears: 0 months: 0 days: 0
hours: 0 minutes: 0
seconds: offset];
}
*data = [dateValue asFileTimeInMemCtx: localMemCtx];
rc = MAPISTORE_SUCCESS;
}
else
rc = MAPISTORE_ERR_NOT_FOUND;
return rc;
}
- (enum mapistore_error) getPidTagExceptionEndTime: (void **) data
inMemCtx: (TALLOC_CTX *) localMemCtx
{
enum mapistore_error rc;
NSCalendarDate *dateValue;
NSInteger offset;
if ([event recurrenceId] != nil)
{
dateValue = [event startDate];
[dateValue setTimeZone: timeZone];
offset = [event durationAsTimeInterval];
if (![event isAllDay])
offset += [timeZone secondsFromGMTForDate: dateValue];
dateValue = [dateValue dateByAddingYears: 0 months: 0 days: 0
hours: 0 minutes: 0
seconds: offset];
*data = [dateValue asFileTimeInMemCtx: localMemCtx];
rc = MAPISTORE_SUCCESS;
}
else
rc = MAPISTORE_ERR_NOT_FOUND;
return rc;
}
/* subclasses */
- (MAPIStoreCalendarEmbeddedMessage *) openEmbeddedMessage
{
MAPIStoreCalendarEmbeddedMessage *msg;
msg = [MAPIStoreCalendarEmbeddedMessage
mapiStoreObjectInContainer: self];
return msg;
}
- (MAPIStoreCalendarEmbeddedMessage *) createEmbeddedMessage
{
MAPIStoreCalendarEmbeddedMessage *msg;
msg = [self openEmbeddedMessage];
[msg setIsNew: YES];
return msg;
}
@end
@@ -1,32 +0,0 @@
/* MAPIStoreCalendarContext.h - this file is part of SOGo
*
* Copyright (C) 2010-2012 Inverse inc.
*
* Author: Wolfgang Sourdeau <wsourdeau@inverse.ca>
*
* This file is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3, or (at your option)
* any later version.
*
* This file is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#ifndef MAPISTORECALENDARCONTEXT_H
#define MAPISTORECALENDARCONTEXT_H
#import "MAPIStoreGCSBaseContext.h"
@interface MAPIStoreCalendarContext : MAPIStoreGCSBaseContext
@end
#endif /* MAPISTORECALENDARCONTEXT_H */
@@ -1,64 +0,0 @@
/* MAPIStoreCalendarContext.m - this file is part of SOGo
*
* Copyright (C) 2010-2012 Inverse inc
*
* Author: Wolfgang Sourdeau <wsourdeau@inverse.ca>
*
* This file is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3, or (at your option)
* any later version.
*
* This file is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#import <Foundation/NSString.h>
#import <Appointments/SOGoAppointmentFolders.h>
#import "MAPIStoreMapping.h"
#import "MAPIStoreCalendarFolder.h"
#import "MAPIStoreUserContext.h"
#import "MAPIStoreCalendarContext.h"
#undef DEBUG
#include <mapistore/mapistore.h>
static Class MAPIStoreCalendarFolderK;
@implementation MAPIStoreCalendarContext
+ (void) initialize
{
MAPIStoreCalendarFolderK = [MAPIStoreCalendarFolder class];
}
+ (NSString *) MAPIModuleName
{
return @"calendar";
}
+ (enum mapistore_context_role) MAPIContextRole
{
return MAPISTORE_CALENDAR_ROLE;
}
- (Class) MAPIStoreFolderClass
{
return MAPIStoreCalendarFolderK;
}
+ (NSString *) folderNameSuffix
{
return @"c";
}
@end
@@ -1,34 +0,0 @@
/* MAPIStoreCalendarEmbeddedMessage.h - this file is part of SOGo
*
* Copyright (C) 2012 Inverse inc
*
* Author: Wolfgang Sourdeau <wsourdeau@inverse.ca>
*
* This file is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This file is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#ifndef MAPISTORECALENDAREMBEDDEDMESSAGE_H
#define MAPISTORECALENDAREMBEDDEDMESSAGE_H
#import "MAPIStoreEmbeddedMessage.h"
@class MAPIStoreAppointmentWrapper;
@interface MAPIStoreCalendarEmbeddedMessage : MAPIStoreEmbeddedMessage
@end
#endif /* MAPISTORECALENDAREMBEDDEDMESSAGE_H */
@@ -1,215 +0,0 @@
/* MAPIStoreCalendarEmbeddedMessage.m - this file is part of SOGo
*
* Copyright (C) 2012 Inverse inc
*
* Author: Wolfgang Sourdeau <wsourdeau@inverse.ca>
*
* This file is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This file is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#include <talloc.h>
#import <Foundation/NSCalendarDate.h>
#import <Foundation/NSDictionary.h>
#import <NGObjWeb/WOContext+SoObjects.h>
#import <SOGo/SOGoUser.h>
#import "iCalEvent+MAPIStore.h"
#import "MAPIStoreAppointmentWrapper.h"
#import "MAPIStoreCalendarAttachment.h"
#import "MAPIStoreContext.h"
#import "MAPIStoreUserContext.h"
#import "MAPIStoreTypes.h"
#import "NSObject+MAPIStore.h"
#import "MAPIStoreCalendarEmbeddedMessage.h"
#include <mapistore/mapistore_errors.h>
@implementation MAPIStoreCalendarEmbeddedMessage
- (id) initInContainer: (id) newContainer
{
MAPIStoreContext *context;
MAPIStoreUserContext *userContext;
MAPIStoreAppointmentWrapper *appointmentWrapper;
if ((self = [super initInContainer: newContainer]))
{
context = [self context];
userContext = [self userContext];
appointmentWrapper
= [MAPIStoreAppointmentWrapper
wrapperWithICalEvent: [newContainer event]
andUser: [userContext sogoUser]
andSenderEmail: nil
withConnectionInfo: [context connectionInfo]];
[self addProxy: appointmentWrapper];
}
return self;
}
- (NSDate *) creationTime
{
return [[container event] created];
}
- (NSDate *) lastModificationTime
{
return [[container event] lastModified];
}
- (void) getMessageData: (struct mapistore_message **) dataPtr
inMemCtx: (TALLOC_CTX *) memCtx
{
struct mapistore_message *msgData;
[super getMessageData: &msgData inMemCtx: memCtx];
/* HACK: we know the first (and only) proxy is our appointment wrapper
instance, but this might not always be true */
[[proxies objectAtIndex: 0] fillMessageData: msgData
inMemCtx: memCtx];
*dataPtr = msgData;
}
- (enum mapistore_error) getPidTagMessageClass: (void **) data
inMemCtx: (TALLOC_CTX *) memCtx
{
*data = talloc_strdup (memCtx, "IPM.OLE.CLASS.{00061055-0000-0000-C000-000000000046}");
return MAPISTORE_SUCCESS;
}
- (enum mapistore_error) getPidTagMessageFlags: (void **) data // TODO
inMemCtx: (TALLOC_CTX *) memCtx
{
*data = MAPILongValue (memCtx, MSGFLAG_UNMODIFIED);
return MAPISTORE_SUCCESS;
}
- (enum mapistore_error) getPidTagProcessed: (void **) data inMemCtx: (TALLOC_CTX *) memCtx
{
return [self getYes: data inMemCtx: memCtx];
}
- (enum mapistore_error) getPidTagResponseRequested: (void **) data
inMemCtx: (TALLOC_CTX *) memCtx
{
return [self getYes: data inMemCtx: memCtx];
}
/* discarded properties */
- (enum mapistore_error) getPidLidAppointmentLastSequence: (void **)
inMemCtx: (TALLOC_CTX *) memCtx
{
return MAPISTORE_ERR_NOT_FOUND;
}
- (enum mapistore_error) getPidLidMeetingWorkspaceUrl: (void **)
inMemCtx: (TALLOC_CTX *) memCtx
{
return MAPISTORE_ERR_NOT_FOUND;
}
- (enum mapistore_error) getPidLidContacts: (void **)
inMemCtx: (TALLOC_CTX *) memCtx
{
return MAPISTORE_ERR_NOT_FOUND;
}
- (enum mapistore_error) getPidTagSensitivity: (void **)
inMemCtx: (TALLOC_CTX *) memCtx
{
return MAPISTORE_ERR_NOT_FOUND;
}
- (enum mapistore_error) getPidLidPrivate: (void **)
inMemCtx: (TALLOC_CTX *) memCtx
{
return MAPISTORE_ERR_NOT_FOUND;
}
- (enum mapistore_error) getPidNameKeywords: (void **)
inMemCtx: (TALLOC_CTX *) memCtx
{
return MAPISTORE_ERR_NOT_FOUND;
}
- (enum mapistore_error) getPidLidFExceptionalBody: (void **) data
inMemCtx: (TALLOC_CTX *) memCtx
{
return [self getNo: data inMemCtx: memCtx];
}
- (void) save: (TALLOC_CTX *) memCtx
{
// (gdb) po embeddedMessage->properties
// 2442592320 = "2012-07-11 22:30:00 +0000";
// 2448359488 = "2012-07-11 22:30:00 +0000";
// 2442723392 = "2012-07-11 22:30:00 +0000";
// 2442068032 = "2012-07-11 22:30:00 +0000";
// 2441740352 = "2012-07-11 23:00:00 +0000";
// 131083 = 1; 2442330115 = 2;
// 235339779 = 9;
// 6291520 = "2012-07-11 16:00:00 +0000";
// 2442526784 = "2012-07-11 23:00:00 +0000";
// 2818059 = 0;
// 1703967 = "IPM.OLE.CLASS.{00061055-0000-0000-C000-000000000046}";
// 3538947 = 0;
// 1071513603 = 28591; 805830720 = "2012-07-10 16:42:00 +0000";
// 2485977346 = <02013000 02001500 45006100 73007400
// 65007200 6e002000 53007400 61006e00 64006100 72006400 20005400 69006d00
// 65000200 02013e00 0000d607 00000000 00000000 00000000 00002c01 00000000
// 0000c4ff ffff0000 0a000000 05000200 00000000 00000000 04000000 01000200
// 00000000 00000201 3e000200 d7070000 00000000 00000000 00000000 2c010000
// 00000000 c4ffffff 00000b00 00000100 02000000 00000000 00000300 00000200
// 02000000 00000000>; 2454257728 = "2012-07-11 16:00:00 +0000"; 2442985475 =
// 118330; 1507331 = 1; 805765184 = "2012-07-09 18:32:00 +0000"; 2442657856 =
// "2012-07-11 23:00:00 +0000"; 2443051039 = "11.0"; 236912651 = 1; 2485911810 =
// <02013000 02001500 45006100 73007400 65007200 6e002000 53007400 61006e00
// 64006100 72006400 20005400 69006d00 65000200 02013e00 0000d607 00000000
// 00000000 00000000 00002c01 00000000 0000c4ff ffff0000 0a000000 05000200
// 00000000 00000000 04000000 01000200 00000000 00000201 3e000200 d7070000
// 00000000 00000000 00000000 2c010000 00000000 c4ffffff 00000b00 00000100
// 02000000 00000000 00000300 00000200 02000000 00000000>; 2441543683 = 30;
// 2442068032 = "2012-07-11 22:30:00 +0000";
// 1073348639 = "OpenChange User";
// 806027522 = <2d64f6f5 89a59243 992d29d1 49173b3a>; 6357056 = "2012-07-11
// 16:30:00 +0000";
// */
// // 0x92490040 = 2454257728
// }
SOGoUser *activeUser;
activeUser = [[self context] activeUser];
[[container event] updateFromMAPIProperties: properties
inUserContext: [self userContext]
withActiveUser: activeUser
isNew: NO
inMemCtx: memCtx];
}
@end
@@ -1,32 +0,0 @@
/* MAPIStoreCalendarFolder.h - this file is part of SOGo
*
* Copyright (C) 2011-2012 Inverse inc
*
* Author: Wolfgang Sourdeau <wsourdeau@inverse.ca>
*
* This file is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This file is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#ifndef MAPISTORECALENDARFOLDER_H
#define MAPISTORECALENDARFOLDER_H
#import "MAPIStoreCalTaskFolder.h"
@interface MAPIStoreCalendarFolder : MAPIStoreCalTaskFolder
@end
#endif /* MAPISTORECALENDARFOLDER_H */
-226
View File
@@ -1,226 +0,0 @@
/* MAPIStoreCalendarFolder.m - this file is part of SOGo
*
* Copyright (C) 2011-2012 Inverse inc
*
* Author: Wolfgang Sourdeau <wsourdeau@inverse.ca>
*
* This file is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3, or (at your option)
* any later version.
*
* This file is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#import <Foundation/NSArray.h>
#import <Foundation/NSString.h>
#import <Foundation/NSURL.h>
#import <NGObjWeb/WOContext+SoObjects.h>
#import <NGExtensions/NSObject+Logs.h>
#import <EOControl/EOQualifier.h>
#import <SOGo/SOGoPermissions.h>
#import <Appointments/SOGoAppointmentFolder.h>
#import <Appointments/SOGoAppointmentFolders.h>
#import <Appointments/SOGoAppointmentObject.h>
#import "MAPIApplication.h"
#import "MAPIStoreCalendarContext.h"
#import "MAPIStoreCalendarMessage.h"
#import "MAPIStoreCalendarMessageTable.h"
#import "MAPIStoreUserContext.h"
#import "NSString+MAPIStore.h"
#import "MAPIStoreCalendarFolder.h"
#include <mapistore/mapistore_errors.h>
#include <util/time.h>
#include <gen_ndr/exchange.h>
@implementation MAPIStoreCalendarFolder
- (MAPIStoreMessageTable *) messageTable
{
[self synchroniseCache];
return [MAPIStoreCalendarMessageTable tableForContainer: self];
}
- (NSString *) component
{
return @"vevent";
}
- (MAPIStoreMessage *) createMessage
{
MAPIStoreMessage *newMessage;
SOGoAppointmentObject *newEntry;
NSString *name;
[[self userContext] activate];
name = [NSString stringWithFormat: @"%@.ics",
[SOGoObject globallyUniqueObjectId]];
newEntry = [SOGoAppointmentObject objectWithName: name
inContainer: sogoObject];
[newEntry setIsNew: YES];
newMessage = [MAPIStoreCalendarMessage mapiStoreObjectWithSOGoObject: newEntry
inContainer: self];
return newMessage;
}
- (NSArray *) rolesForExchangeRights: (uint32_t) rights
{
/* Limitations
Following rights are not supported by SOGo specifically:
- CreateSubfolders: No calendar subfolders
- FolderVisible: It is inferred by other rights when extracting
*/
NSMutableArray *roles;
roles = [NSMutableArray arrayWithCapacity: 6];
if (rights & RightsCreateItems)
[roles addObject: SOGoRole_ObjectCreator];
if (rights & RightsDeleteAll)
[roles addObject: SOGoRole_ObjectEraser];
if (rights & RightsDeleteOwn)
[roles addObject: MAPIStoreRightDeleteOwn];
if (rights & RightsEditAll)
{
[roles addObject: SOGoCalendarRole_PublicModifier];
[roles addObject: SOGoCalendarRole_PrivateModifier];
[roles addObject: SOGoCalendarRole_ConfidentialModifier];
}
if (rights & RightsEditOwn)
[roles addObject: MAPIStoreRightEditOwn];
if (rights & RightsReadItems)
{
[roles addObject: SOGoCalendarRole_PublicViewer];
[roles addObject: SOGoCalendarRole_PrivateViewer];
[roles addObject: SOGoCalendarRole_ConfidentialViewer];
}
if (rights & RightsFreeBusySimple)
[roles addObject: SOGoCalendarRole_PublicDAndTViewer];
if (rights & RightsFreeBusyDetailed)
[roles addObject: SOGoCalendarRole_ConfidentialDAndTViewer];
if (rights & RightsFolderOwner)
[roles addObject: MAPIStoreRightFolderOwner];
if (rights & RightsFolderContact)
[roles addObject: MAPIStoreRightFolderContact];
// [self logWithFormat: @"roles for rights %.8x = (%@)", rights, roles];
return roles;
}
- (uint32_t) exchangeRightsForRoles: (NSArray *) roles
{
uint32_t rights = 0;
if ([roles containsObject: SOGoRole_ObjectCreator])
rights |= RightsCreateItems;
if ([roles containsObject: SOGoRole_ObjectEraser])
rights |= RightsDeleteAll | RightsDeleteOwn;
if ([roles containsObject: SOGoCalendarRole_PublicModifier]
&& [roles containsObject: SOGoCalendarRole_PrivateModifier]
&& [roles containsObject: SOGoCalendarRole_ConfidentialModifier])
rights |= RightsReadItems | RightsEditAll | RightsEditOwn | RightsFreeBusySimple | RightsFreeBusyDetailed;
else if ([roles containsObject: SOGoCalendarRole_PublicViewer]
&& [roles containsObject: SOGoCalendarRole_PrivateViewer]
&& [roles containsObject: SOGoCalendarRole_ConfidentialViewer])
rights |= RightsReadItems;
if ([roles containsObject: MAPIStoreRightEditOwn])
rights |= RightsEditOwn;
if ([roles containsObject: MAPIStoreRightDeleteOwn])
rights |= RightsDeleteOwn;
if ([roles containsObject: SOGoCalendarRole_PublicDAndTViewer])
rights |= RightsFreeBusySimple;
if ([roles containsObject: SOGoCalendarRole_ConfidentialDAndTViewer])
rights |= RightsFreeBusySimple | RightsFreeBusyDetailed;
if ((rights & RightsReadItems) != 0 || (rights & RightsCreateItems) != 0 || (rights & RightsDeleteAll) != 0)
rights |= RoleNone; /* actually "folder visible" */
if ([roles containsObject: MAPIStoreRightFolderOwner])
rights |= RightsFolderOwner | RoleNone;
if ([roles containsObject: MAPIStoreRightFolderContact])
rights |= RightsFolderContact;
// [self logWithFormat: @"rights for roles (%@) = %.8x", roles, rights];
return rights;
}
- (BOOL) subscriberCanReadMessages
{
static NSArray *viewerRoles = nil;
if (!viewerRoles)
viewerRoles = [[NSArray alloc] initWithObjects:
SOGoCalendarRole_PublicViewer,
SOGoCalendarRole_PublicDAndTViewer,
SOGoCalendarRole_PrivateViewer,
SOGoCalendarRole_PrivateDAndTViewer,
SOGoCalendarRole_ConfidentialViewer,
SOGoCalendarRole_ConfidentialDAndTViewer,
nil];
return ([[self activeUserRoles] firstObjectCommonWithArray: viewerRoles]
!= nil);
}
- (BOOL) subscriberCanModifyMessages
{
static NSArray *modifierRoles = nil;
if (!modifierRoles)
modifierRoles = [[NSArray alloc] initWithObjects:
SOGoCalendarRole_PublicModifier,
SOGoCalendarRole_PrivateModifier,
SOGoCalendarRole_ConfidentialModifier,
nil];
return ([[self activeUserRoles] firstObjectCommonWithArray: modifierRoles]
!= nil);
}
- (EOQualifier *) aclQualifier
{
return [EOQualifier qualifierWithQualifierFormat:
[(SOGoAppointmentFolder *) sogoObject aclSQLListingFilter]];
}
- (enum mapistore_error) getPidTagContainerClass: (void **) data
inMemCtx: (TALLOC_CTX *) memCtx
{
*data = [@"IPF.Appointment" asUnicodeInMemCtx: memCtx];
return MAPISTORE_SUCCESS;
}
- (enum mapistore_error) getPidTagDefaultPostMessageClass: (void **) data
inMemCtx: (TALLOC_CTX *) memCtx
{
*data = [@"IPM.Appointment" asUnicodeInMemCtx: memCtx];
return MAPISTORE_SUCCESS;
}
@end
@@ -1,40 +0,0 @@
/* MAPIStoreCalendarMessage.h - this file is part of SOGo
*
* Copyright (C) 2011-2012 Inverse inc
*
* Author: Wolfgang Sourdeau <wsourdeau@inverse.ca>
*
* This file is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This file is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#ifndef MAPISTORECALENDARMESSAGE_H
#define MAPISTORECALENDARMESSAGE_H
#import "MAPIStoreCalTaskMessage.h"
@class iCalCalendar;
@class iCalEvent;
@class MAPIStoreAppointmentWrapper;
@interface MAPIStoreCalendarMessage : MAPIStoreCalTaskMessage
{
iCalCalendar *calendar;
iCalEvent *masterEvent;
}
@end
#endif /* MAPISTORECALENDARMESSAGE_H */
-669
View File
@@ -1,669 +0,0 @@
/* MAPIStoreCalendarMessage.m - this file is part of SOGo
*
* Copyright (C) 2011-2012 Inverse inc
*
* Author: Wolfgang Sourdeau <wsourdeau@inverse.ca>
*
* This file is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3, or (at your option)
* any later version.
*
* This file is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
/* TODO:
- merge common code with tasks
- take the tz definitions from Outlook */
#include <talloc.h>
#include <util/attr.h>
#import <Foundation/NSArray.h>
#import <Foundation/NSCalendarDate.h>
#import <Foundation/NSData.h>
#import <Foundation/NSDictionary.h>
#import <Foundation/NSString.h>
#import <Foundation/NSTimeZone.h>
#import <EOControl/EOQualifier.h>
#import <EOControl/EOFetchSpecification.h>
#import <NGObjWeb/WOContext+SoObjects.h>
#import <NGExtensions/NSObject+Logs.h>
#import <GDLContentStore/GCSFolder.h>
#import <NGCards/iCalAlarm.h>
#import <NGCards/iCalCalendar.h>
#import <NGCards/iCalEvent.h>
#import <NGCards/iCalDateTime.h>
#import <NGCards/iCalPerson.h>
#import <NGCards/iCalTimeZone.h>
#import <NGCards/iCalTrigger.h>
#import <SOGo/SOGoPermissions.h>
#import <SOGo/SOGoUser.h>
#import <SOGo/SOGoUserManager.h>
#import <Appointments/SOGoAppointmentFolder.h>
#import <Appointments/SOGoAppointmentObject.h>
#import <Appointments/iCalEntityObject+SOGo.h>
#import <Mailer/NSString+Mail.h>
#import "iCalEvent+MAPIStore.h"
#import "MAPIStoreAppointmentWrapper.h"
#import "MAPIStoreCalendarAttachment.h"
#import "MAPIStoreCalendarFolder.h"
#import "MAPIStoreContext.h"
#import "MAPIStoreMapping.h"
#import "MAPIStoreRecurrenceUtils.h"
#import "MAPIStoreTypes.h"
#import "MAPIStoreUserContext.h"
#import "NSDate+MAPIStore.h"
#import "NSData+MAPIStore.h"
#import "NSObject+MAPIStore.h"
#import "NSString+MAPIStore.h"
#import "NSValue+MAPIStore.h"
#import "MAPIStoreCalendarMessage.h"
#undef DEBUG
#include <stdbool.h>
#include <gen_ndr/exchange.h>
#include <gen_ndr/property.h>
#include <libmapi/libmapi.h>
#include <mapistore/mapistore.h>
#include <mapistore/mapistore_errors.h>
#include <mapistore/mapistore_nameid.h>
// extern void ndr_print_AppointmentRecurrencePattern(struct ndr_print *ndr, const char *name, const struct AppointmentRecurrencePattern *r);
static Class NSArrayK, MAPIStoreAppointmentWrapperK;
@implementation SOGoAppointmentObject (MAPIStoreExtension)
- (Class) mapistoreMessageClass
{
return [MAPIStoreCalendarMessage class];
}
@end
@implementation MAPIStoreCalendarMessage
+ (void) initialize
{
NSArrayK = [NSArray class];
MAPIStoreAppointmentWrapperK = [MAPIStoreAppointmentWrapper class];
}
+ (enum mapistore_error) getAvailableProperties: (struct SPropTagArray **) propertiesP
inMemCtx: (TALLOC_CTX *) memCtx
{
BOOL listedProperties[65536];
NSUInteger count;
uint16_t propId;
memset (listedProperties, NO, 65536 * sizeof (BOOL));
[super getAvailableProperties: propertiesP inMemCtx: memCtx];
for (count = 0; count < (*propertiesP)->cValues; count++)
{
propId = ((*propertiesP)->aulPropTag[count] >> 16) & 0xffff;
listedProperties[propId] = YES;
}
[MAPIStoreAppointmentWrapper fillAvailableProperties: *propertiesP
withExclusions: listedProperties];
return MAPISTORE_SUCCESS;
}
- (id) init
{
if ((self = [super init]))
{
calendar = nil;
masterEvent = nil;
}
return self;
}
- (void) _setupAttachmentParts
{
NSUInteger count, max;
NSArray *events;
NSString *newKey;
MAPIStoreCalendarAttachment *attachment;
NSUInteger aid;
iCalEvent *event;
events = [calendar events];
max = [events count];
for (count = 1; count < max; count++)
{
attachment = [MAPIStoreCalendarAttachment
mapiStoreObjectInContainer: self];
/* we now that there are no attachments yet, so we can assume that the
right AID is 0 from the start */
aid = count - 1;
[attachment setAID: aid];
event = [events objectAtIndex: count];
[attachment setEvent: event];
newKey = [[event uniqueChildWithTag: @"recurrence-id"]
flattenedValuesForKey: @""];
[attachmentParts setObject: attachment forKey: newKey];
}
}
- (id) initWithSOGoObject: (id) newSOGoObject
inContainer: (MAPIStoreObject *) newFolder
{
MAPIStoreContext *context;
MAPIStoreUserContext *userContext;
iCalCalendar *origCalendar;
MAPIStoreAppointmentWrapper *appointmentWrapper;
if ((self = [super initWithSOGoObject: newSOGoObject
inContainer: newFolder]))
{
if ([newSOGoObject isNew])
{
ASSIGN (calendar, [iCalCalendar groupWithTag: @"vcalendar"]);
[calendar setVersion: @"2.0"];
[calendar setProdID: @"-//Inverse inc.//OpenChange+SOGo//EN"];
masterEvent = [iCalEvent groupWithTag: @"vevent"];
[calendar addChild: masterEvent];
[masterEvent setCreated: [NSCalendarDate date]];
}
else
{
origCalendar = [sogoObject calendar: YES secure: YES];
if (!origCalendar)
{
[self errorWithFormat: @"Incorrect calendar event %@. Empty message is created",
[self url]];
return self;
}
calendar = [origCalendar mutableCopy];
masterEvent = [[calendar events] objectAtIndex: 0];
[self _setupAttachmentParts];
}
context = [self context];
userContext = [self userContext];
appointmentWrapper
= [MAPIStoreAppointmentWrapper wrapperWithICalEvent: masterEvent
andUser: [userContext sogoUser]
andSenderEmail: nil
withConnectionInfo: [context connectionInfo]];
[self addProxy: appointmentWrapper];
}
return self;
}
- (void) dealloc
{
//NSLog(@"MAPIStoreCalendarMessage: -dealloc (%p)", self);
[calendar release];
[super dealloc];
}
- (MAPIStoreAppointmentWrapper *) _appointmentWrapper
{
NSUInteger i, max;
id proxy;
max = [proxies count];
for (i = 0; i < max; i++) {
proxy = [proxies objectAtIndex: i];
if ([proxy isKindOfClass: MAPIStoreAppointmentWrapperK])
{
return proxy;
}
}
return nil;
}
/* getters */
- (enum mapistore_error) getPidTagMessageClass: (void **) data
inMemCtx: (TALLOC_CTX *) memCtx
{
SOGoUser *owner;
owner = [[self userContext] sogoUser];
if ([masterEvent userAsAttendee: owner])
*data = talloc_strdup (memCtx, "IPM.Schedule.Meeting.Request");
else
*data = talloc_strdup (memCtx, "IPM.Appointment");
return MAPISTORE_SUCCESS;
}
- (enum mapistore_error) getPidLidSideEffects: (void **) data // TODO
inMemCtx: (TALLOC_CTX *) memCtx
{
*data = MAPILongValue (memCtx,
seOpenToDelete | seOpenToCopy | seOpenToMove
| seCoerceToInbox | seOpenForCtxMenu);
return MAPISTORE_SUCCESS;
}
- (enum mapistore_error) getPidTagProcessed: (void **) data inMemCtx: (TALLOC_CTX *) memCtx
{
return [self getYes: data inMemCtx: memCtx];
}
- (void) getMessageData: (struct mapistore_message **) dataPtr
inMemCtx: (TALLOC_CTX *) memCtx
{
static NSString *recTypes[] = {@"orig", @"to", @"cc", @"bcc"};
static NSInteger recTypesValue[] = {MAPI_ORIG, MAPI_TO, MAPI_CC, MAPI_BCC};
struct mapistore_message *msgData;
NSDictionary *recipients, *contactInfos;
NSString *email;
NSArray *attendees;
NSDictionary *attendee;
SOGoUserManager *mgr;
struct mapistore_message_recipient *recipient;
NSUInteger nRecType, maxRecTypes, count, max, propCount;
NSObject *currentValue;
[super getMessageData: &msgData inMemCtx: memCtx];
/* The presence of the "recipients" meta-property means that our most recent
list of recipients has not been saved yet and that we must return that
one instead of the one stored in the event. */
recipients = [properties objectForKey: @"recipients"];
if (recipients)
{
mgr = [SOGoUserManager sharedUserManager];
/* TODO: this code might need to be moved into MAPIStoreMessage */
msgData->columns = set_SPropTagArray (msgData, 9,
PR_OBJECT_TYPE,
PR_DISPLAY_TYPE,
PR_7BIT_DISPLAY_NAME_UNICODE,
PR_SMTP_ADDRESS_UNICODE,
PR_SEND_INTERNET_ENCODING,
PR_RECIPIENT_DISPLAY_NAME_UNICODE,
PR_RECIPIENT_FLAGS,
PR_RECIPIENT_ENTRYID,
PR_RECIPIENT_TRACKSTATUS);
maxRecTypes = sizeof(recTypes) / sizeof(recTypes[0]);
for (nRecType = 0; nRecType < maxRecTypes; nRecType++)
{
attendees = [recipients objectForKey: recTypes[nRecType]];
max = [attendees count];
if (max > 0)
{
msgData->recipients_count += max;
msgData->recipients = talloc_realloc(msgData,
msgData->recipients, struct
mapistore_message_recipient, msgData->recipients_count);
recipient = msgData->recipients;
for (count = 0; count < max; count++)
{
attendee = [attendees objectAtIndex: count];
recipient->type = recTypesValue[nRecType];
email = [attendee objectForKey: @"email"];
if (email)
{
contactInfos
= [mgr contactInfosForUserWithUIDorEmail: email];
recipient->username = [[contactInfos
objectForKey: @"c_uid"]
asUnicodeInMemCtx: msgData];
}
else
recipient->username = NULL;
recipient->data = talloc_array(msgData, void *,
msgData->columns->cValues);
for (propCount = 0;
propCount < msgData->columns->cValues;
propCount++)
{
currentValue = [attendee objectForKey: MAPIPropertyKey (msgData->columns->aulPropTag[propCount])];
[currentValue getValue: recipient->data + propCount
forTag: msgData->columns->aulPropTag[propCount]
inMemCtx: msgData];
}
recipient++;
}
}
}
}
else
{
[[self _appointmentWrapper] fillMessageData: msgData
inMemCtx: memCtx];
}
*dataPtr = msgData;
}
- (enum mapistore_error) getPidTagResponseRequested: (void **) data
inMemCtx: (TALLOC_CTX *) memCtx
{
return [self getYes: data inMemCtx: memCtx];
}
/* This three methods: getPidTagNormalizedSubject,
getPidTagSensitivity and getPidTagImportance are implemented in
MAPIStoreMessage base class, then the proxy method is not reached
(see MAPIStoreObject).
*/
- (enum mapistore_error) getPidTagNormalizedSubject: (void **) data
inMemCtx: (TALLOC_CTX *) memCtx
{
MAPIStoreAppointmentWrapper *appointmentWrapper;
appointmentWrapper = [self _appointmentWrapper];
if (appointmentWrapper)
return [appointmentWrapper getPidTagNormalizedSubject: data inMemCtx: memCtx];
return MAPISTORE_ERR_NOT_FOUND;
}
- (enum mapistore_error) getPidTagSensitivity: (void **) data
inMemCtx: (TALLOC_CTX *) memCtx
{
MAPIStoreAppointmentWrapper *appointmentWrapper;
appointmentWrapper = [self _appointmentWrapper];
if (appointmentWrapper)
return [appointmentWrapper getPidTagSensitivity: data inMemCtx: memCtx];
return [self getLongZero: data inMemCtx: memCtx];
}
- (enum mapistore_error) getPidTagImportance: (void **) data
inMemCtx: (TALLOC_CTX *) memCtx
{
MAPIStoreAppointmentWrapper *appointmentWrapper;
appointmentWrapper = [self _appointmentWrapper];
if (appointmentWrapper)
return [appointmentWrapper getPidTagImportance: data inMemCtx: memCtx];
*data = MAPILongValue (memCtx, 1);
return MAPISTORE_SUCCESS;
}
- (NSString *) _uidFromGlobalObjectId: (TALLOC_CTX *) memCtx
{
NSData *objectId;
NSString *uid = nil;
char *bytesDup, *uidStart;
NSUInteger length;
/* NOTE: we only handle the generic case at the moment, see
MAPIStoreAppointmentWrapper */
objectId = [properties
objectForKey: MAPIPropertyKey (PidLidGlobalObjectId)];
if (objectId)
{
length = [objectId length];
bytesDup = talloc_array (memCtx, char, length + 1);
memcpy (bytesDup, [objectId bytes], length);
bytesDup[length] = 0;
uidStart = bytesDup + length - 1;
while (uidStart != bytesDup && *(uidStart - 1))
uidStart--;
if (uidStart > bytesDup && *uidStart)
uid = [NSString stringWithUTF8String: uidStart];
talloc_free (bytesDup);
}
return uid;
}
- (SOGoAppointmentObject *) _resurrectRecord: (NSString *) cname
fromFolder: (SOGoAppointmentFolder *) folder
{
NSArray *records;
EOQualifier *qualifier;
EOFetchSpecification *fs;
GCSFolder *ocsFolder;
SOGoAppointmentObject *newObject;
NSMutableDictionary *newRecord;
static NSArray *childRecordFields = nil;
if (!childRecordFields)
{
childRecordFields = [NSArray arrayWithObjects: @"c_name",
@"c_creationdate", @"c_lastmodified",
@"c_content", nil];
[childRecordFields retain];
}
ocsFolder = [folder ocsFolder];
qualifier
= [EOQualifier qualifierWithQualifierFormat:
[NSString stringWithFormat: @"c_name='%@'", cname]];
fs = [EOFetchSpecification fetchSpecificationWithEntityName: [ocsFolder folderName]
qualifier: qualifier
sortOrderings: nil];
records = [ocsFolder fetchFields: childRecordFields
fetchSpecification: fs
ignoreDeleted: NO];
if ([records isKindOfClass: NSArrayK] && [records count])
{
newRecord = [[records objectAtIndex: 0] mutableCopy];
[newRecord setObject: [NSNumber numberWithInt: 0]
forKey: @"c_version"];
newObject = [SOGoAppointmentObject objectWithRecord: newRecord
inContainer: folder];
[newRecord autorelease];
[newObject setIsNew: NO];
}
else
newObject = nil;
return newObject;
}
- (void) _fixupAppointmentObjectWithUID: (NSString *) uid
{
NSString *cname, *url;
MAPIStoreMapping *mapping;
uint64_t objectId;
WOContext *woContext;
SOGoAppointmentFolder *folder;
SOGoAppointmentObject *newObject;
cname = [[container sogoObject] resourceNameForEventUID: uid];
if (cname)
isNew = NO;
else
cname = [NSString stringWithFormat: @"%@.ics", uid];
mapping = [self mapping];
url = [NSString stringWithFormat: @"%@%@", [container url], cname];
folder = [sogoObject container];
/* reinstantiate the old sogo object and attach it to self */
[[self userContext] activate];
woContext = [[self userContext] woContext];
if (isNew)
{
/* event could have been deleted, let's try to resurrect it */
newObject = [self _resurrectRecord: cname fromFolder: folder];
if (!newObject)
{
newObject = [SOGoAppointmentObject objectWithName: cname
inContainer: folder];
[newObject setIsNew: YES];
}
}
else
{
/* dissociate the object url from the old object's id */
objectId = [mapping idFromURL: url];
[mapping unregisterURLWithID: objectId];
newObject = [folder lookupName: cname
inContext: woContext
acquire: NO];
}
/* dissociate the object url associated with this object, as we want to
discard it */
objectId = [self objectId];
[mapping unregisterURLWithID: objectId];
/* associate the new object url with this object id */
[mapping registerURL: url withID: objectId];
[newObject setContext: woContext];
ASSIGN (sogoObject, newObject);
}
- (NSUInteger) sensitivity
{
return [[self _appointmentWrapper] sensitivity];
}
- (NSString *) creator
{
return [[self _appointmentWrapper] creator];
}
- (NSString *) owner
{
return [[self _appointmentWrapper] owner];
}
- (void) _updateAttachedEvents
{
NSArray *allAttachments;
NSUInteger count, max;
NSString *uid, *summary;
iCalEvent *event;
MAPIStoreCalendarAttachment *attachment;
/* ensure that all exception events have the same UID as the master */
uid = [masterEvent uid];
summary = [masterEvent summary];
allAttachments = [attachmentParts allValues];
max = [allAttachments count];
for (count = 0; count < max; count++)
{
attachment = [allAttachments objectAtIndex: count];
event = [attachment event];
if ([[event summary] length] == 0)
[event setSummary: summary];
[event setUid: uid];
}
}
- (void) save: (TALLOC_CTX *) memCtx
{
// iCalCalendar *vCalendar;
// NSCalendarDate *now;
NSString *uid, *nameInContainer;
// iCalEvent *newEvent;
// iCalPerson *userPerson;
SOGoUser *activeUser;
NSRange rangeOfDot;
if (isNew)
{
uid = [self _uidFromGlobalObjectId: memCtx];
if (uid)
{
/* Hack required because of what's explained in oxocal 3.1.4.7.1:
basically, Outlook creates a copy of the event and then removes
the old instance. We perform a trickery to avoid performing those
operations in the backend, in a way that enables us to recover
the initial instance and act solely on it. */
[self _fixupAppointmentObjectWithUID: uid];
}
else
{
/* We create a UID from the nameInContainer, or the reverse if the
latter is already set... */
nameInContainer = [sogoObject nameInContainer];
if (nameInContainer)
{
rangeOfDot = [nameInContainer rangeOfString: @"."
options: NSBackwardsSearch];
if (rangeOfDot.location == NSNotFound)
uid = nameInContainer;
else
uid = [nameInContainer substringToIndex: rangeOfDot.location];
}
else
{
uid = [SOGoObject globallyUniqueObjectId];
nameInContainer = [NSString stringWithFormat: @"%@.ics", uid];
[sogoObject setNameInContainer: nameInContainer];
}
}
[masterEvent setUid: uid];
}
// [self logWithFormat: @"-save, event props:"];
// MAPIStoreDumpMessageProperties (newProperties);
// now = [NSCalendarDate date];
activeUser = [[self context] activeUser];
[masterEvent updateFromMAPIProperties: properties
inUserContext: [self userContext]
withActiveUser: activeUser
isNew: isNew
inMemCtx: memCtx];
[self _updateAttachedEvents];
[[self userContext] activate];
[sogoObject updateContentWithCalendar: calendar
fromRequest: nil];
[self updateVersions];
}
- (id) lookupAttachment: (NSString *) childKey
{
return [attachmentParts objectForKey: childKey];
}
- (MAPIStoreAttachment *) createAttachment
{
MAPIStoreCalendarAttachment *newAttachment;
uint32_t newAid;
NSString *newKey;
iCalEvent *newEvent;
newAid = [[self attachmentKeys] count];
newAttachment = [MAPIStoreCalendarAttachment
mapiStoreObjectInContainer: self];
[newAttachment setAID: newAid];
newEvent = [iCalEvent groupWithTag: @"vevent"];
[newAttachment setEvent: newEvent];
[calendar addToEvents: newEvent];
newKey = [NSString stringWithFormat: @"%ul", newAid];
[attachmentParts setObject: newAttachment
forKey: newKey];
[attachmentKeys release];
attachmentKeys = nil;
return newAttachment;
}
- (enum mapistore_error) setReadFlag: (uint8_t) flag
{
return MAPISTORE_SUCCESS;
}
@end
@@ -1,32 +0,0 @@
/* MAPIStoreCalendarMessageTable.h - this file is part of SOGo
*
* Copyright (C) 2010-2012 Inverse inc
*
* Author: Wolfgang Sourdeau <wsourdeau@inverse.ca>
*
* This file is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3, or (at your option)
* any later version.
*
* This file is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#ifndef MAPISTORECALENDARMESSAGETABLE_H
#define MAPISTORECALENDARMESSAGETABLE_H
#import "MAPIStoreGCSMessageTable.h"
@interface MAPIStoreCalendarMessageTable : MAPIStoreGCSMessageTable
@end
#endif /* MAPISTORECALENDARMESSAGETABLE_H */
@@ -1,193 +0,0 @@
/* MAPIStoreCalendarMessageTable.m - this file is part of SOGo
*
* Copyright (C) 2010-2012 Inverse inc
*
* Author: Wolfgang Sourdeau <wsourdeau@inverse.ca>
*
* This file is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3, or (at your option)
* any later version.
*
* This file is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#import <Foundation/NSDictionary.h>
#import <Foundation/NSNull.h>
#import <Foundation/NSString.h>
#import <EOControl/EOQualifier.h>
#import <NGCards/iCalEvent.h>
#import "MAPIStoreCalendarMessage.h"
#import "MAPIStoreTypes.h"
#import "NSDate+MAPIStore.h"
#import "NSString+MAPIStore.h"
#import "MAPIStoreCalendarMessageTable.h"
#include <mapistore/mapistore_nameid.h>
static Class MAPIStoreCalendarMessageK = Nil;
@implementation MAPIStoreCalendarMessageTable
+ (void) initialize
{
MAPIStoreCalendarMessageK = [MAPIStoreCalendarMessage class];
}
+ (Class) childObjectClass
{
return MAPIStoreCalendarMessageK;
}
- (EOQualifier *) _orgMailNotNullQualifier
{
static EOQualifier *orgMailQualifier = nil;
EOQualifier *notNullQualifier, *nullQualifier, *notEmptyQualifier, *emptyQualifier;
if (!orgMailQualifier)
{
nullQualifier = [[EOKeyValueQualifier alloc]
initWithKey: @"c_orgmail"
operatorSelector: EOQualifierOperatorEqual
value: [NSNull null]];
notNullQualifier = [[EONotQualifier alloc]
initWithQualifier: nullQualifier];
emptyQualifier = [[EOKeyValueQualifier alloc]
initWithKey: @"c_orgmail"
operatorSelector: EOQualifierOperatorEqual
value: @""];
notEmptyQualifier = [[EONotQualifier alloc]
initWithQualifier: emptyQualifier];
orgMailQualifier = [[EOAndQualifier alloc]
initWithQualifiers: notNullQualifier,
notEmptyQualifier, nil];
[nullQualifier release];
[notNullQualifier release];
[emptyQualifier release];
[notEmptyQualifier release];
}
return orgMailQualifier;
}
- (MAPIRestrictionState) evaluatePropertyRestriction: (struct mapi_SPropertyRestriction *) res
intoQualifier: (EOQualifier **) qualifier
{
MAPIRestrictionState rc;
id value;
NSMutableString *likeString;
NSString *likePartString;
EOAndQualifier *andQualifier, *stringQualifier;
union {
uint32_t longValue;
char charValue[4];
} apptIdValue;
value = NSObjectFromMAPISPropValue (&res->lpProp);
switch ((uint32_t) res->ulPropTag)
{
case PR_MESSAGE_CLASS_UNICODE:
if ([value isEqualToString: @"IPM.Appointment"])
rc = MAPIRestrictionStateAlwaysTrue;
else
rc = MAPIRestrictionStateAlwaysFalse;
break;
case PR_OWNER_APPT_ID:
// c_orgmail != NULL && c_orgmail != '' && c_uid like 'ab%89';
apptIdValue.longValue = [value unsignedLongValue];
likeString = [NSMutableString string];
likePartString = [[NSString alloc]
initWithBytes: apptIdValue.charValue
length: 2
encoding: NSISOLatin1StringEncoding];
[likeString appendString: likePartString];
[likePartString release];
[likeString appendString: @"%%"];
likePartString = [[NSString alloc]
initWithBytes: apptIdValue.charValue + 2
length: 2
encoding: NSISOLatin1StringEncoding];
[likeString appendString: likePartString];
[likePartString release];
stringQualifier = [[EOKeyValueQualifier alloc]
initWithKey: @"c_uid"
operatorSelector: EOQualifierOperatorLike
value: likeString];
andQualifier = [[EOAndQualifier alloc]
initWithQualifiers: [self _orgMailNotNullQualifier],
stringQualifier, nil];
[andQualifier autorelease];
[stringQualifier release];
*qualifier = andQualifier;
rc = MAPIRestrictionStateNeedsEval;
break;
case PidLidBusyStatus:
rc = MAPIRestrictionStateAlwaysTrue; // should be based on c_isopaque
break;
default:
rc = [super evaluatePropertyRestriction: res intoQualifier: qualifier];
}
return rc;
}
- (NSString *) backendIdentifierForProperty: (enum MAPITAGS) property
{
static NSMutableDictionary *knownProperties = nil;
if (!knownProperties)
{
knownProperties = [NSMutableDictionary new];
[knownProperties setObject: @"c_startdate"
forKey: MAPIPropertyKey (PidLidAppointmentStartWhole)];
[knownProperties setObject: @"c_enddate"
forKey: MAPIPropertyKey (PidLidAppointmentEndWhole)];
[knownProperties setObject: @"c_iscycle"
forKey: MAPIPropertyKey (PidLidRecurring)];
}
return [knownProperties objectForKey: MAPIPropertyKey (property)];
}
/* sorting */
- (NSString *) sortIdentifierForProperty: (enum MAPITAGS) property
{
static NSMutableDictionary *knownProperties = nil;
if (!knownProperties)
{
knownProperties = [NSMutableDictionary new];
[knownProperties setObject: @"c_startdate"
forKey: MAPIPropertyKey (PidLidAppointmentStartWhole)];
[knownProperties setObject: @"c_enddate"
forKey: MAPIPropertyKey (PidLidAppointmentEndWhole)];
[knownProperties setObject: @"c_iscycle"
forKey: MAPIPropertyKey (PidLidRecurring)];
[knownProperties setObject: @"c_isallday"
forKey: MAPIPropertyKey (PidLidAppointmentSubType)];
[knownProperties setObject: @"c_creationdate"
forKey: MAPIPropertyKey (PR_CREATION_TIME)];
[knownProperties setObject: @"c_uid"
forKey: MAPIPropertyKey (PR_OWNER_APPT_ID)];
/* Use by oxcfxics to sort the latest first */
[knownProperties setObject: @"c_lastmodified"
forKey: MAPIPropertyKey (PidTagMessageDeliveryTime)];
}
return [knownProperties objectForKey: MAPIPropertyKey (property)];
}
@end
@@ -1,41 +0,0 @@
/* MAPIStoreContactsAttachment.h - this file is part of SOGo
*
* Copyright (C) 2011-2012 Inverse inc
*
* Author: Wolfgang Sourdeau <wsourdeau@inverse.ca>
*
* This file is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3, or (at your option)
* any later version.
*
* This file is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#ifndef MAPISTORECONTACTSATTACHMENT_H
#define MAPISTORECONTACTSATTACHMENT_H
#import "MAPIStoreAttachment.h"
@class NSData;
@class NGVCardPhoto;
@interface MAPIStoreContactsAttachment : MAPIStoreAttachment
{
NGVCardPhoto *photo;
NSData *photoData;
}
- (void) setPhoto: (NGVCardPhoto *) newPhoto;
@end
#endif /* MAPISTORECONTACTSATTACHMENT_H */
@@ -1,197 +0,0 @@
/* MAPIStoreContactsAttachment.m - this file is part of SOGo
*
* Copyright (C) 2011-2012 Inverse inc
*
* Author: Wolfgang Sourdeau <wsourdeau@inverse.ca>
*
* This file is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3, or (at your option)
* any later version.
*
* This file is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#import <Foundation/NSCalendarDate.h>
#import <Foundation/NSString.h>
#import <NGExtensions/NGBase64Coding.h>
#import <NGCards/NGVCardPhoto.h>
#import "MAPIStoreTypes.h"
#import "NSData+MAPIStore.h"
#import "NSDate+MAPIStore.h"
#import "NSObject+MAPIStore.h"
#import "NSString+MAPIStore.h"
#import "MAPIStoreContactsAttachment.h"
#include <mapistore/mapistore_errors.h>
/* TODO: handle URL pictures via PidTagAttachMethod = ref ? */
@implementation MAPIStoreContactsAttachment
- (id) init
{
if ((self = [super init]))
{
photo = nil;
photoData = nil;
}
return self;
}
- (void) dealloc
{
[photo release];
[photoData release];
[super dealloc];
}
- (void) setPhoto: (NGVCardPhoto *) newPhoto
{
ASSIGN (photo, newPhoto);
}
- (NSString *) fileExtension
{
NSString *type, *extension;
type = [photo type];
if ([type isEqualToString: @"JPEG"]
|| [type isEqualToString: @"JPG"])
extension = @".jpg";
else if ([type isEqualToString: @"PNG"])
extension = @".png";
else if ([type isEqualToString: @"BMP"])
extension = @".bmp";
else if ([type isEqualToString: @"GIF"])
extension = @".gif";
else
extension = nil;
return extension;
}
- (NSDate *) creationTime
{
return [container creationTime];
}
- (NSDate *) lastModificationTime
{
return [container lastModificationTime];
}
- (enum mapistore_error) getPidTagAttachEncoding: (void **) data inMemCtx: (TALLOC_CTX *) memCtx;
{
*data = [[NSData data] asBinaryInMemCtx: memCtx];
return MAPISTORE_SUCCESS;
}
- (enum mapistore_error) getPidTagAttachFlags: (void **) data
inMemCtx: (TALLOC_CTX *) memCtx
{
return [self getLongZero: data inMemCtx: memCtx];
}
- (enum mapistore_error) getPidTagAttachmentFlags: (void **) data
inMemCtx: (TALLOC_CTX *) memCtx
{
return [self getLongZero: data inMemCtx: memCtx];
}
- (enum mapistore_error) getPidTagAttachmentHidden: (void **) data inMemCtx: (TALLOC_CTX *) memCtx
{
return [self getNo: data inMemCtx: memCtx];
}
- (enum mapistore_error) getPidTagAttachmentLinkId: (void **) data
inMemCtx: (TALLOC_CTX *) memCtx
{
return [self getLongZero: data inMemCtx: memCtx];
}
- (enum mapistore_error) getPidTagAttachMethod: (void **) data
inMemCtx: (TALLOC_CTX *) memCtx
{
*data = MAPILongValue (memCtx, 0x00000001);
return MAPISTORE_SUCCESS;
}
- (enum mapistore_error) getPidTagAttachmentContactPhoto: (void **) data
inMemCtx: (TALLOC_CTX *) memCtx
{
return [self getYes: data inMemCtx: memCtx];
}
- (enum mapistore_error) getPidTagAttachDataBinary: (void **) data
inMemCtx: (TALLOC_CTX *) memCtx
{
if (!photoData)
ASSIGN (photoData,
[[photo flattenedValuesForKey: @""] dataByDecodingBase64]);
*data = [photoData asBinaryInMemCtx: memCtx];
return MAPISTORE_SUCCESS;
}
- (enum mapistore_error) getPidTagAttachSize: (void **) data
inMemCtx: (TALLOC_CTX *) memCtx
{
if (!photoData)
ASSIGN (photoData,
[[photo flattenedValuesForKey: @""] dataByDecodingBase64]);
*data = MAPILongValue (memCtx, [photoData length]);
return MAPISTORE_SUCCESS;
}
- (enum mapistore_error) getPidTagAttachExtension: (void **) data
inMemCtx: (TALLOC_CTX *) memCtx
{
*data = [[self fileExtension] asUnicodeInMemCtx: memCtx];
return MAPISTORE_SUCCESS;
}
- (enum mapistore_error) getPidTagAttachLongFilename: (void **) data
inMemCtx: (TALLOC_CTX *) memCtx
{
NSString *filename;
filename = [NSString stringWithFormat: @"ContactPhoto%@",
[self fileExtension]];
*data = [filename asUnicodeInMemCtx: memCtx];
return MAPISTORE_SUCCESS;
}
- (enum mapistore_error) getPidTagAttachFilename: (void **) data
inMemCtx: (TALLOC_CTX *) memCtx
{
return [self getPidTagAttachLongFilename: data
inMemCtx: memCtx];
}
- (enum mapistore_error) getPidTagDisplayName: (void **) data
inMemCtx: (TALLOC_CTX *) memCtx
{
return [self getPidTagAttachLongFilename: data inMemCtx: memCtx];
}
@end
@@ -1,32 +0,0 @@
/* MAPIStoreContactsContext.h - this file is part of SOGo
*
* Copyright (C) 2010-2012 Inverse inc.
*
* Author: Wolfgang Sourdeau <wsourdeau@inverse.ca>
*
* This file is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3, or (at your option)
* any later version.
*
* This file is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#ifndef MAPISTORECONTACTSCONTEXT_H
#define MAPISTORECONTACTSCONTEXT_H
#import "MAPIStoreGCSBaseContext.h"
@interface MAPIStoreContactsContext : MAPIStoreGCSBaseContext
@end
#endif /* MAPISTORECONTACTSCONTEXT_H */
@@ -1,59 +0,0 @@
/* MAPIStoreContactsContext.m - this file is part of SOGo
*
* Copyright (C) 2010-2012 Inverse inc.
*
* Author: Wolfgang Sourdeau <wsourdeau@inverse.ca>
*
* This file is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3, or (at your option)
* any later version.
*
* This file is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#import <Foundation/NSString.h>
#import <Contacts/SOGoContactFolders.h>
#import "MAPIStoreContactsFolder.h"
#import "MAPIStoreUserContext.h"
#import "MAPIStoreContactsContext.h"
#undef DEBUG
#include <mapistore/mapistore.h>
static Class MAPIStoreContactsFolderK;
@implementation MAPIStoreContactsContext
+ (void) initialize
{
MAPIStoreContactsFolderK = [MAPIStoreContactsFolder class];
}
+ (NSString *) MAPIModuleName
{
return @"contacts";
}
+ (enum mapistore_context_role) MAPIContextRole
{
return MAPISTORE_CONTACTS_ROLE;
}
- (Class) MAPIStoreFolderClass
{
return MAPIStoreContactsFolderK;
}
@end
@@ -1,32 +0,0 @@
/* MAPIStoreContactsFolder.h - this file is part of SOGo
*
* Copyright (C) 2011-2012 Inverse inc
*
* Author: Wolfgang Sourdeau <wsourdeau@inverse.ca>
*
* This file is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This file is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#ifndef MAPISTORECONTACTSFOLDER_H
#define MAPISTORECONTACTSFOLDER_H
#import "MAPIStoreGCSFolder.h"
@interface MAPIStoreContactsFolder : MAPIStoreGCSFolder
@end
#endif /* MAPISTORECONTACTSFOLDER_H */
-157
View File
@@ -1,157 +0,0 @@
/* MAPIStoreContactsFolder.m - this file is part of SOGo
*
* Copyright (C) 2011-2012 Inverse inc
*
* Author: Wolfgang Sourdeau <wsourdeau@inverse.ca>
*
* This file is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3, or (at your option)
* any later version.
*
* This file is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#import <Foundation/NSURL.h>
#import <NGObjWeb/WOContext+SoObjects.h>
#import <EOControl/EOQualifier.h>
#import <SOGo/SOGoPermissions.h>
#import <Contacts/SOGoContactGCSEntry.h>
#import <Contacts/SOGoContactFolders.h>
#import "MAPIApplication.h"
#import "MAPIStoreUserContext.h"
#import "MAPIStoreContactsContext.h"
#import "MAPIStoreContactsMessage.h"
#import "MAPIStoreContactsMessageTable.h"
#import "NSString+MAPIStore.h"
#import "MAPIStoreContactsFolder.h"
#include <util/time.h>
#include <gen_ndr/exchange.h>
#include <mapistore/mapistore_errors.h>
@implementation MAPIStoreContactsFolder
- (MAPIStoreMessageTable *) messageTable
{
[self synchroniseCache];
return [MAPIStoreContactsMessageTable tableForContainer: self];
}
- (NSString *) component
{
return @"vcard";
}
- (MAPIStoreMessage *) createMessage
{
MAPIStoreMessage *newMessage;
SOGoContactGCSEntry *newEntry;
NSString *name;
[[self userContext] activate];
name = [NSString stringWithFormat: @"%@.vcf",
[SOGoObject globallyUniqueObjectId]];
newEntry = [SOGoContactGCSEntry objectWithName: name
inContainer: sogoObject];
[newEntry setIsNew: YES];
newMessage = [MAPIStoreContactsMessage mapiStoreObjectWithSOGoObject: newEntry
inContainer: self];
return newMessage;
}
- (NSArray *) rolesForExchangeRights: (uint32_t) rights
{
/* Limitations
Following rights are not supported by SOGo specifically:
- CreateSubfolders: No contacts subfolders
- FolderVisible: It is inferred by other rights when extracting
*/
NSMutableArray *roles;
roles = [NSMutableArray arrayWithCapacity: 8];
if (rights & RightsCreateItems)
[roles addObject: SOGoRole_ObjectCreator];
if (rights & RightsDeleteAll)
[roles addObject: SOGoRole_ObjectEraser];
if (rights & RightsDeleteOwn)
[roles addObject: MAPIStoreRightDeleteOwn];
if (rights & RightsEditAll)
[roles addObject: SOGoRole_ObjectEditor];
if (rights & RightsEditOwn)
[roles addObject: MAPIStoreRightEditOwn];
if (rights & RightsReadItems)
[roles addObject: SOGoRole_ObjectViewer];
if (rights & RightsFolderOwner)
[roles addObject: MAPIStoreRightFolderOwner];
if (rights & RightsFolderContact)
[roles addObject: MAPIStoreRightFolderContact];
return roles;
}
- (uint32_t) exchangeRightsForRoles: (NSArray *) roles
{
uint32_t rights = 0;
if ([roles containsObject: SOGoRole_ObjectCreator])
rights |= RightsCreateItems;
if ([roles containsObject: SOGoRole_ObjectEraser])
rights |= RightsDeleteAll | RightsDeleteOwn;
else if ([roles containsObject: MAPIStoreRightDeleteOwn])
rights |= RightsDeleteOwn;
if ([roles containsObject: SOGoRole_ObjectEditor])
rights |= RightsEditAll | RightsEditOwn;
else if ([roles containsObject: MAPIStoreRightEditOwn])
rights |= RightsEditOwn;
if ([roles containsObject: SOGoRole_ObjectViewer])
rights |= RightsReadItems;
if (rights != 0)
rights |= RoleNone; /* actually "folder visible" */
if ([roles containsObject: MAPIStoreRightFolderOwner])
rights |= RightsFolderOwner | RoleNone;
if ([roles containsObject: MAPIStoreRightFolderContact])
rights |= RightsFolderContact;
return rights;
}
- (BOOL) subscriberCanModifyMessages
{
return [[self activeUserRoles] containsObject: SOGoRole_ObjectEditor];
}
- (BOOL) subscriberCanReadMessages
{
return [[self activeUserRoles] containsObject: SOGoRole_ObjectViewer];
}
- (enum mapistore_error) getPidTagDefaultPostMessageClass: (void **) data
inMemCtx: (TALLOC_CTX *) memCtx
{
*data = [@"IPM.Contact" asUnicodeInMemCtx: memCtx];
return MAPISTORE_SUCCESS;
}
@end
@@ -1,35 +0,0 @@
/* MAPIStoreContactsMessage.h - this file is part of SOGo
*
* Copyright (C) 2011-2012 Inverse inc
*
* Author: Wolfgang Sourdeau <wsourdeau@inverse.ca>
*
* This file is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This file is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#ifndef MAPISTORECONTACTSMESSAGE_H
#define MAPISTORECONTACTSMESSAGE_H
#import "MAPIStoreGCSMessage.h"
@interface MAPIStoreContactsMessage : MAPIStoreGCSMessage
{
BOOL fetchedAttachments;
}
@end
#endif /* MAPISTORECONTACTSMESSAGE_H */
File diff suppressed because it is too large. Load diff
@@ -1,31 +0,0 @@
/* MAPIStoreContactsMessageTable.h - this file is part of SOGo
*
* Copyright (C) 2010-2012 Inverse inc
*
* Author: Wolfgang Sourdeau <wsourdeau@inverse.ca>
*
* This file is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3, or (at your option)
* any later version.
*
* This file is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#ifndef MAPISTORECONTACTSMESSAGETABLE_H
#define MAPISTORECONTACTSMESSAGETABLE_H
#import "MAPIStoreGCSMessageTable.h"
@interface MAPIStoreContactsMessageTable : MAPIStoreGCSMessageTable
@end
#endif /* MAPISTORECONTACTSMESSAGETABLE_H */
@@ -1,231 +0,0 @@
/* MAPIStoreContactsMessageTable.m - this file is part of SOGo
*
* Copyright (C) 2010-2012 Inverse inc
*
* Author: Wolfgang Sourdeau <wsourdeau@inverse.ca>
*
* This file is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3, or (at your option)
* any later version.
*
* This file is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#import <Foundation/NSData.h>
#import <Foundation/NSDictionary.h>
#import <Foundation/NSException.h>
#import <Foundation/NSString.h>
#import <EOControl/EOQualifier.h>
#import <NGMail/NGMailAddress.h>
#import <NGMail/NGMailAddressParser.h>
#import <NGCards/NSArray+NGCards.h>
#import <NGCards/NGVCard.h>
#import <Contacts/SOGoContactGCSEntry.h>
#import "MAPIStoreContactsMessage.h"
#import "MAPIStoreTypes.h"
#import "NSDate+MAPIStore.h"
#import "NSArray+MAPIStore.h"
#import "NSData+MAPIStore.h"
#import "NSString+MAPIStore.h"
#import "MAPIStoreContactsMessageTable.h"
#include <mapistore/mapistore_nameid.h>
static Class MAPIStoreContactsMessageK, NGMailAddressK, NSDataK, NSStringK;
@implementation MAPIStoreContactsMessageTable
+ (void) initialize
{
MAPIStoreContactsMessageK = [MAPIStoreContactsMessage class];
NSDataK = [NSData class];
NSStringK = [NSString class];
NGMailAddressK = [NGMailAddress class];
}
+ (Class) childObjectClass
{
return MAPIStoreContactsMessageK;
}
- (NSString *) backendIdentifierForProperty: (enum MAPITAGS) property
{
static NSMutableDictionary *knownProperties = nil;
if (!knownProperties)
{
knownProperties = [NSMutableDictionary new];
[knownProperties setObject: @"c_mail"
forKey: MAPIPropertyKey (PidLidEmail1EmailAddress)];
[knownProperties setObject: @"c_mail"
forKey: MAPIPropertyKey (PidLidEmail2EmailAddress)];
[knownProperties setObject: @"c_mail"
forKey: MAPIPropertyKey (PidLidEmail3EmailAddress)];
[knownProperties setObject: @"c_cn"
forKey: MAPIPropertyKey (PidLidFileUnder)];
[knownProperties setObject: @"c_cn"
forKey: MAPIPropertyKey (PidTagDisplayName)];
[knownProperties setObject: @"c_cn"
forKey: MAPIPropertyKey (PidTagSubject)];
}
return [knownProperties objectForKey: MAPIPropertyKey (property)];
}
/* restrictions */
- (MAPIRestrictionState) evaluatePropertyRestriction: (struct mapi_SPropertyRestriction *) res
intoQualifier: (EOQualifier **) qualifier
{
MAPIRestrictionState rc;
EOAndQualifier *andQualifier;
EOKeyValueQualifier *fullNameQualifier, *emailQualifier;
NSString *fullName, *email;
SEL operator;
id value, ngAddress;
value = NSObjectFromMAPISPropValue (&res->lpProp);
switch ((uint32_t) res->ulPropTag)
{
case PR_MESSAGE_CLASS_UNICODE:
if ([value isEqualToString: @"IPM.Contact"])
rc = MAPIRestrictionStateAlwaysTrue;
else
rc = MAPIRestrictionStateAlwaysFalse;
break;
case PR_SENSITIVITY:
rc = MAPIRestrictionStateAlwaysTrue;
break;
case PidLidAddressBookProviderArrayType:
case PidLidAddressBookProviderEmailList:
/* FIXME: this is a hack. We should return a real qualifier here */
rc = MAPIRestrictionStateAlwaysTrue;
break;
case PidLidEmail1OriginalDisplayName:
case PidLidEmail2OriginalDisplayName:
case PidLidEmail3OriginalDisplayName:
rc = MAPIRestrictionStateAlwaysFalse;
value = NSObjectFromMAPISPropValue (&res->lpProp);
if (value && [value isKindOfClass: NSStringK])
{
rc = MAPIRestrictionStateNeedsEval;
ngAddress = [[NGMailAddressParser mailAddressParserWithString: value]
parse];
if ([ngAddress isKindOfClass: NGMailAddressK])
{
operator = [self operatorFromRestrictionOperator: res->relop];
fullName = [ngAddress displayName];
email = [ngAddress address];
emailQualifier = [[EOKeyValueQualifier alloc]
initWithKey: @"c_mail"
operatorSelector: operator
value: email];
if ([fullName length] > 0)
{
fullNameQualifier = [[EOKeyValueQualifier alloc]
initWithKey: @"c_cn"
operatorSelector: operator
value: fullName];
andQualifier = [[EOAndQualifier alloc]
initWithQualifiers:
emailQualifier, fullNameQualifier, nil];
[fullNameQualifier release];
[emailQualifier release];
*qualifier = andQualifier;
}
else
*qualifier = emailQualifier;
[*qualifier autorelease];
}
}
break;
case PidLidEmail1AddressType:
case PidLidEmail2AddressType:
case PidLidEmail3AddressType:
if ([value isEqualToString: @"SMTP"])
rc = MAPIRestrictionStateAlwaysTrue;
else
rc = MAPIRestrictionStateAlwaysFalse;
break;
default:
rc = [super evaluatePropertyRestriction: res intoQualifier: qualifier];
}
return rc;
}
- (MAPIRestrictionState) evaluateContentRestriction: (struct mapi_SContentRestriction *) res
intoQualifier: (EOQualifier **) qualifier
{
MAPIRestrictionState rc;
id value;
value = NSObjectFromMAPISPropValue (&res->lpProp);
if ([value isKindOfClass: NSDataK])
{
value = [[NSString alloc] initWithData: value
encoding: NSUTF8StringEncoding];
[value autorelease];
}
else if (![value isKindOfClass: NSStringK])
[NSException raise: @"MAPIStoreTypeConversionException"
format: @"unhandled content restriction for class '%@'",
NSStringFromClass ([value class])];
switch (res->ulPropTag)
{
case PR_MESSAGE_CLASS_UNICODE: /* FIXME: should make use of c_component here */
if ([value isEqualToString: @"IPM.Contact"])
rc = MAPIRestrictionStateAlwaysTrue;
else
rc = MAPIRestrictionStateAlwaysFalse;
break;
default:
rc = [super evaluateContentRestriction: res intoQualifier: qualifier];
}
return rc;
}
/* sorting */
- (NSString *) sortIdentifierForProperty: (enum MAPITAGS) property
{
static NSMutableDictionary *knownProperties = nil;
if (!knownProperties)
{
knownProperties = [NSMutableDictionary new];
[knownProperties setObject: @"c_cn"
forKey: MAPIPropertyKey (PidLidFileUnder)];
[knownProperties setObject: @"c_cn"
forKey: MAPIPropertyKey (PidTagDisplayName)];
[knownProperties setObject: @"c_cn"
forKey: MAPIPropertyKey (PidTagSubject)];
[knownProperties setObject: @"c_cn"
forKey: MAPIPropertyKey (PidTagNormalizedSubject)];
/* Use by oxcfxics to sort the latest first */
[knownProperties setObject: @"c_lastmodified"
forKey: MAPIPropertyKey (PidTagMessageDeliveryTime)];
}
return [knownProperties objectForKey: MAPIPropertyKey (property)];
}
@end
-125
View File
@@ -1,125 +0,0 @@
/* MAPIStoreContext.h - this file is part of SOGo
*
* Copyright (C) 2010-2012 Inverse inc.
*
* Author: Wolfgang Sourdeau <wsourdeau@inverse.ca>
*
* This file is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3, or (at your option)
* any later version.
*
* This file is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#ifndef MAPISTORECONTEXT_H
#define MAPISTORECONTEXT_H
#include <talloc.h>
#import <Foundation/NSObject.h>
@class NSArray;
@class NSFileHandle;
@class NSMutableArray;
@class NSMutableDictionary;
@class NSString;
@class NSURL;
@class EOQualifier;
@class WOContext;
@class SOGoFolder;
@class SOGoMAPIFSFolder;
@class SOGoObject;
@class SOGoUser;
@class MAPIStoreAuthenticator;
@class MAPIStoreAttachment;
@class MAPIStoreAttachmentTable;
@class MAPIStoreFolder;
@class MAPIStoreMessage;
@class MAPIStoreTable;
@class MAPIStoreUserContext;
@interface MAPIStoreContext : NSObject
{
struct mapistore_connection_info *connInfo;
NSMutableArray *containersBag;
SOGoUser *activeUser; /* the user accessing the resource */
MAPIStoreUserContext *userContext; /* the owner or the resource */
NSURL *contextUrl;
}
+ (struct mapistore_contexts_list *) listAllContextsForUser: (NSString *) userName
withIndexing: (struct indexing_context *) indexing
inMemCtx: (TALLOC_CTX *) memCtx;
+ (struct mapistore_contexts_list *) listContextsForUser: (NSString *) userName
withIndexing: (struct indexing_context *) indexing
inMemCtx: (TALLOC_CTX *) memCtx;
+ (enum mapistore_error) createRootFolder: (NSString **) mapistoreUriP
withFID: (uint64_t ) fid
andName: (NSString *) folderName
forUser: (NSString *) username
withRole: (enum mapistore_context_role) role;
+ (enum mapistore_error) openContext: (MAPIStoreContext **) contextPtr
withURI: (const char *) newUri
connectionInfo: (struct mapistore_connection_info *) newConnInfo
andTDBIndexing: (struct indexing_context *) indexing;
- (id) initFromURL: (NSURL *) newUri
withConnectionInfo: (struct mapistore_connection_info *) newConnInfo
andTDBIndexing: (struct indexing_context *) indexing;
- (NSURL *) url;
- (struct mapistore_connection_info *) connectionInfo;
- (MAPIStoreUserContext *) userContext;
- (SOGoUser *) activeUser;
// - (id) lookupObject: (NSString *) objectURLString;
/* backend methods */
- (enum mapistore_error) getPath: (char **) path
ofFMID: (uint64_t) fmid
inMemCtx: (TALLOC_CTX *) memCtx;
- (enum mapistore_error) getRootFolder: (MAPIStoreFolder **) folderPtr
withFID: (uint64_t) fmid;
/* util methods */
- (NSString *) extractChildNameFromURL: (NSString *) childURL
andFolderURLAt: (NSString **) folderURL;
- (uint64_t) idForObjectWithKey: (NSString *) key
inFolderURL: (NSString *) folderURL;
- (NSArray *) getNewFMIDs: (uint64_t) max;
- (uint64_t) getNewChangeNumber;
- (NSArray *) getNewChangeNumbers: (uint64_t) max;
/* subclass methods */
+ (NSString *) MAPIModuleName;
+ (enum mapistore_context_role) MAPIContextRole;
+ (NSString *)
createRootSecondaryFolderWithFID: (uint64_t) fid
andName: (NSString *) folderName
forUser: (NSString *) userName;
- (Class) MAPIStoreFolderClass;
/* the top-most parent of the context folder: SOGoMailAccount,
SOGoCalendarFolders, ... */
- (id) rootSOGoFolder;
@end
#endif /* MAPISTORECONTEXT_H */
-644
View File
@@ -1,644 +0,0 @@
/* MAPIStoreContext.m - this file is part of SOGo
*
* Copyright (C) 2010-2012 Inverse inc.
*
* Author: Wolfgang Sourdeau <wsourdeau@inverse.ca>
*
* This file is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3, or (at your option)
* any later version.
*
* This file is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#import <Foundation/NSDictionary.h>
#import <Foundation/NSException.h>
#import <Foundation/NSNull.h>
#import <Foundation/NSURL.h>
#import <NGObjWeb/WOContext+SoObjects.h>
#import <NGExtensions/NSObject+Logs.h>
#import <NGExtensions/NSObject+Values.h>
#import <SOGo/SOGoFolder.h>
#import <SOGo/SOGoUser.h>
#import "MAPIStoreAttachment.h"
#import "MAPIStoreFallbackContext.h"
#import "MAPIStoreFolder.h"
#import "MAPIStoreFolderTable.h"
#import "MAPIStoreMapping.h"
#import "MAPIStoreMessage.h"
#import "MAPIStoreMessageTable.h"
#import "MAPIStoreFAIMessage.h"
#import "MAPIStoreFAIMessageTable.h"
#import "MAPIStoreTypes.h"
#import "MAPIStoreUserContext.h"
#import "NSArray+MAPIStore.h"
#import "NSObject+MAPIStore.h"
#import "NSString+MAPIStore.h"
#import "MAPIStoreContext.h"
#undef DEBUG
#include <dlinklist.h>
#include <stdbool.h>
#include <gen_ndr/exchange.h>
#include <util/attr.h>
#include <libmapiproxy.h>
#include <mapistore/mapistore.h>
#include <mapistore/mapistore_errors.h>
#include <mapistore/mapistore_nameid.h>
#include <talloc.h>
/* TODO: homogenize method names and order of parameters */
@implementation MAPIStoreContext : NSObject
/* sogo://username:password@{contacts,calendar,tasks,journal,notes,mail}/dossier/id */
static Class NSExceptionK, MAPIStoreFallbackContextK, SOGoObjectK;
static NSMutableDictionary *contextClassMapping;
+ (void) initialize
{
NSArray *classes;
Class currentClass;
NSUInteger count, max;
NSString *moduleName;
NSExceptionK = [NSException class];
SOGoObjectK = [SOGoObject class];
contextClassMapping = [NSMutableDictionary new];
classes = GSObjCAllSubclassesOfClass (self);
max = [classes count];
for (count = 0; count < max; count++)
{
currentClass = [classes objectAtIndex: count];
moduleName = [currentClass MAPIModuleName];
if (moduleName)
{
[contextClassMapping setObject: currentClass
forKey: moduleName];
NSLog (@" registered class '%@' as handler of '%@' contexts",
NSStringFromClass (currentClass), moduleName);
}
}
MAPIStoreFallbackContextK = [MAPIStoreFallbackContext class];
}
+ (struct mapistore_contexts_list *) listAllContextsForUser: (NSString *) userName
withIndexing: (struct indexing_context *) indexing
inMemCtx: (TALLOC_CTX *) memCtx
{
struct mapistore_contexts_list *list, *current;
NSArray *classes;
Class currentClass;
NSUInteger count, max;
list = NULL;
// User context is activated on initialization
[MAPIStoreUserContext userContextWithUsername: userName
andTDBIndexing: indexing];
classes = GSObjCAllSubclassesOfClass (self);
max = [classes count];
for (count = 0; count < max; count++)
{
currentClass = [classes objectAtIndex: count];
current = [currentClass listContextsForUser: userName
withIndexing: indexing
inMemCtx: memCtx];
if (current)
DLIST_CONCATENATE(list, current, void);
}
return list;
}
+ (struct mapistore_contexts_list *) listContextsForUser: (NSString *) userName
withIndexing: (struct indexing_context *) indexing
inMemCtx: (TALLOC_CTX *) memCtx
{
return NULL;
}
static Class
MAPIStoreLookupContextClassByRole (Class self, enum mapistore_context_role role)
{
static NSMutableDictionary *classMapping = nil;
Class currentClass;
enum mapistore_context_role classRole;
NSNumber *roleNbr;
NSArray *classes;
NSUInteger count, max;
if (!classMapping)
{
classMapping = [NSMutableDictionary new];
classes = GSObjCAllSubclassesOfClass (self);
max = [classes count];
for (count = 0; count < max; count++)
{
currentClass = [classes objectAtIndex: count];
classRole = [currentClass MAPIContextRole];
if (classRole != -1)
{
roleNbr = [NSNumber numberWithUnsignedInt: classRole];
[classMapping setObject: currentClass
forKey: roleNbr];
}
}
}
roleNbr = [NSNumber numberWithUnsignedInt: role];
return [classMapping objectForKey: roleNbr];
}
+ (enum mapistore_error) createRootFolder: (NSString **) mapistoreUriP
withFID: (uint64_t) fid
andName: (NSString *) folderName
forUser: (NSString *) userName
withRole: (enum mapistore_context_role) role
{
Class contextClass;
NSString *mapistoreURI;
enum mapistore_error rc = MAPISTORE_SUCCESS;
contextClass = MAPIStoreLookupContextClassByRole (self, role);
if (!contextClass)
contextClass = MAPIStoreFallbackContextK;
mapistoreURI = [contextClass createRootSecondaryFolderWithFID: fid
andName: folderName
forUser: userName];
if (!mapistoreURI && contextClass != MAPIStoreFallbackContextK)
mapistoreURI = [MAPIStoreFallbackContextK createRootSecondaryFolderWithFID: fid
andName: folderName
forUser: userName];
if (mapistoreURI)
*mapistoreUriP = mapistoreURI;
else
rc = MAPISTORE_ERR_NOT_FOUND;
return rc;
}
static inline NSURL *CompleteURLFromMapistoreURI (const char *uri)
{
NSString *urlString;
NSURL *completeURL;
urlString = [NSString stringWithFormat: @"sogo://%@",
[NSString stringWithUTF8String: uri]];
if (![urlString hasSuffix: @"/"])
urlString = [urlString stringByAppendingString: @"/"];
completeURL = [NSURL URLWithString: urlString];
return completeURL;
}
+ (enum mapistore_error) openContext: (MAPIStoreContext **) contextPtr
withURI: (const char *) newUri
connectionInfo: (struct mapistore_connection_info *) newConnInfo
andTDBIndexing: (struct indexing_context *) indexing
{
MAPIStoreContext *context;
Class contextClass;
NSString *module;
NSURL *baseURL;
enum mapistore_error rc = MAPISTORE_ERR_NOT_FOUND;
context = nil;
baseURL = CompleteURLFromMapistoreURI (newUri);
if (baseURL)
{
module = [baseURL host];
if (module)
{
contextClass = [contextClassMapping objectForKey: module];
if (contextClass)
{
context = [[contextClass alloc] initFromURL: baseURL
withConnectionInfo: newConnInfo
andTDBIndexing: indexing];
if (context)
{
[context autorelease];
rc = MAPISTORE_SUCCESS;
*contextPtr = context;
}
}
else
NSLog (@"ERROR: unrecognized module name '%@'", module);
}
}
else
NSLog (@"ERROR: url could not be parsed");
return rc;
}
- (id) init
{
if ((self = [super init]))
{
activeUser = nil;
userContext = nil;
contextUrl = nil;
containersBag = [NSMutableArray new];
}
return self;
}
- (id) initFromURL: (NSURL *) newUrl
withConnectionInfo: (struct mapistore_connection_info *) newConnInfo
andTDBIndexing: (struct indexing_context *) indexing
{
NSString *username;
if (newConnInfo == NULL)
{
return nil;
}
if ((self = [self init]))
{
ASSIGN (contextUrl, newUrl);
username = [newUrl user];
if ([username length] == 0)
{
[self errorWithFormat:
@"attempt to instantiate a context with an empty owner"];
[self release];
return nil;
}
ASSIGN (userContext,
[MAPIStoreUserContext userContextWithUsername: username
andTDBIndexing: indexing]);
connInfo = newConnInfo;
username = [NSString stringWithUTF8String: newConnInfo->username];
ASSIGN (activeUser, [SOGoUser userWithLogin: username]);
if (!activeUser)
{
[self errorWithFormat: @"user '%@' not found in SOGo environment",
username];
[self release];
return nil;
}
}
return self;
}
- (void) dealloc
{
[contextUrl release];
[userContext release];
[containersBag release];
[super dealloc];
}
- (MAPIStoreUserContext *) userContext
{
return userContext;
}
- (NSURL *) url
{
return contextUrl;
}
- (struct mapistore_connection_info *) connectionInfo
{
return connInfo;
}
- (SOGoUser *) activeUser
{
return activeUser;
}
- (enum mapistore_error) getPath: (char **) path
ofFMID: (uint64_t) fmid
inMemCtx: (TALLOC_CTX *) memCtx
{
enum mapistore_error rc;
NSString *objectURL, *url;
url = [contextUrl absoluteString];
// FIXME transform percent escapes but not for user part of the url
//[xxxx stringByReplacingPercentEscapesUsingEncoding: NSUTF8StringEncoding];
objectURL = [[userContext mapping] urlFromID: fmid];
if (objectURL)
{
if ([objectURL hasPrefix: url])
{
*path = [[objectURL substringFromIndex: 7] asUnicodeInMemCtx: memCtx];
[self logWithFormat: @"found path '%s' for fmid 0x%.16"PRIx64"", *path, fmid];
rc = MAPISTORE_SUCCESS;
}
else
{
[self logWithFormat: @"context (%@, %@) does not contain "
@"found fmid: 0x%.16"PRIx64"", objectURL, url, fmid];
*path = NULL;
rc = MAPISTORE_SUCCESS;
}
}
else
{
[self errorWithFormat: @"%s: you should *never* get here", __PRETTY_FUNCTION__];
*path = NULL;
rc = MAPISTORE_SUCCESS;
}
return rc;
}
- (void) ensureContextFolder
{
}
- (enum mapistore_error) getRootFolder: (MAPIStoreFolder **) folderPtr
withFID: (uint64_t) newFid
{
enum mapistore_error rc;
MAPIStoreFolder *baseFolder;
SOGoFolder *currentFolder;
WOContext *woContext;
NSString *path;
NSArray *pathComponents;
NSUInteger count, max;
[userContext activate];
woContext = [userContext woContext];
[self ensureContextFolder];
currentFolder = [self rootSOGoFolder];
[containersBag addObject: currentFolder];
/* HACK:
-[NSURL path] returns unescaped strings in theory. In pratice, sometimes
it does, sometimes not. Therefore we use the result of our own
implementation of -[NSString
stringByReplacingPercentEscapeUsingEncoding:], which returns nil if the
original string contains non-ascii chars, from which we can determine
whether the path was unescaped or not. */
path = [[contextUrl path]
stringByReplacingPercentEscapesUsingEncoding: NSUTF8StringEncoding];
if (!path)
path = [contextUrl path];
if ([path hasPrefix: @"/"])
path = [path substringFromIndex: 1];
if ([path hasSuffix: @"/"])
path = [path substringToIndex: [path length] - 1];
if ([path length] > 0)
{
pathComponents = [path componentsSeparatedByString: @"/"];
max = [pathComponents count];
for (count = 0; currentFolder && count < max; count++)
{
[woContext setClientObject: currentFolder];
currentFolder = [currentFolder
lookupName: [pathComponents objectAtIndex: count]
inContext: woContext
acquire: NO];
if ([currentFolder isKindOfClass: SOGoObjectK]) /* class common to all
SOGo folder types */
[containersBag addObject: currentFolder];
else
currentFolder = nil;
}
}
if (currentFolder)
{
baseFolder = [[self MAPIStoreFolderClass]
mapiStoreObjectWithSOGoObject: currentFolder
inContainer: nil];
[baseFolder setContext: self];
if ([[userContext sogoUser] isEqual: activeUser]
|| [baseFolder subscriberCanReadMessages])
{
*folderPtr = baseFolder;
rc = MAPISTORE_SUCCESS;
}
else
rc = MAPISTORE_ERR_DENIED;
}
else if ([[userContext sogoUser] isEqual: activeUser])
rc = MAPISTORE_ERR_NOT_FOUND;
else
rc = MAPISTORE_ERR_DENIED;
return rc;
}
/* utils */
- (NSString *) extractChildNameFromURL: (NSString *) objectURL
andFolderURLAt: (NSString **) folderURL;
{
NSString *childKey;
NSRange lastSlash;
NSUInteger slashPtr;
if ([objectURL hasSuffix: @"/"])
objectURL = [objectURL substringToIndex: [objectURL length] - 2];
lastSlash = [objectURL rangeOfString: @"/"
options: NSBackwardsSearch];
if (lastSlash.location != NSNotFound)
{
slashPtr = NSMaxRange (lastSlash);
childKey = [objectURL substringFromIndex: slashPtr];
if ([childKey length] == 0)
childKey = nil;
if (folderURL)
*folderURL = [objectURL substringToIndex: slashPtr];
}
else
childKey = nil;
return childKey;
}
- (uint64_t) idForObjectWithKey: (NSString *) key
inFolderURL: (NSString *) folderURL
{
NSString *childURL;
MAPIStoreMapping *mapping;
uint64_t mappingId;
enum mapistore_error ret;
if (key)
childURL = [NSString stringWithFormat: @"%@%@", folderURL,
[key stringByAddingPercentEscapesUsingEncoding: NSUTF8StringEncoding]];
else
childURL = folderURL;
mapping = [userContext mapping];
mappingId = [mapping idFromURL: childURL];
if (mappingId == NSNotFound)
{
const char *owner;
[self logWithFormat: @"No id exist yet for '%@', requesting one", childURL];
owner = [[userContext username] UTF8String];
ret = mapistore_indexing_get_new_folderID_as_user (connInfo->mstore_ctx, owner, &mappingId);
if (ret == MAPISTORE_SUCCESS)
[mapping registerURL: childURL withID: mappingId];
else
[self errorWithFormat: @"Error trying to get new folder id (%d): %s",
ret, mapistore_errstr (ret)];
}
return mappingId;
}
/* Get new change number from openchange db interface using
resource's owner user */
- (uint64_t) getNewChangeNumber
{
const char *owner;
enum MAPISTATUS retval;
uint64_t newVersionNumber;
owner = [[userContext username] UTF8String];
retval = openchangedb_get_new_changeNumber (connInfo->oc_ctx, owner, &newVersionNumber);
if (retval != MAPI_E_SUCCESS)
[NSException raise: @"MAPIStoreIOException"
format: @"Impossible to get new change number for %s: %s", owner,
mapi_get_errstr (retval)];
return newVersionNumber;
}
/* Get new change numbers from openchange db interface using
resource's owner user */
- (NSArray *) getNewChangeNumbers: (uint64_t) max
{
const char *owner;
enum MAPISTATUS retval;
TALLOC_CTX *memCtx;
NSMutableArray *newChangeNumbers;
uint64_t count;
struct UI8Array_r *numbers;
NSString *newNumber;
memCtx = talloc_new (NULL);
if (!memCtx)
[NSException raise: @"MAPIStoreIOException"
format: @"Not enough memory to allocate change numbers"];
newChangeNumbers = [NSMutableArray arrayWithCapacity: max];
owner = [[userContext username] UTF8String];
retval = openchangedb_get_new_changeNumbers (connInfo->oc_ctx, memCtx, owner, max, &numbers);
if (retval != MAPI_E_SUCCESS || numbers->cValues != max)
{
talloc_free (memCtx);
[NSException raise: @"MAPIStoreIOException"
format: @"Failing to get %d new change numbers: %s", max,
mapi_get_errstr (retval)];
}
for (count = 0; count < max; count++)
{
newNumber = [NSString stringWithUnsignedLongLong: numbers->lpui8[count]];
[newChangeNumbers addObject: newNumber];
}
talloc_free (memCtx);
return newChangeNumbers;
}
/* Get new fmids from mapistore_indexing interface using resource's
owner user */
- (NSArray *) getNewFMIDs: (uint64_t) max
{
const char *owner;
enum mapistore_error ret;
NSMutableArray *newFMIDs;
NSString *newNumber;
uint64_t count, newFID;
newFMIDs = [NSMutableArray arrayWithCapacity: max];
/* Get the resource's owner name */
owner = [[userContext username] UTF8String];
for (count = 0; count < max; count++)
{
ret = mapistore_indexing_get_new_folderID_as_user (connInfo->mstore_ctx, owner, &newFID);
if (ret != MAPISTORE_SUCCESS)
[NSException raise: @"MAPIStoreIOException"
format: @"Impossible to get new fmid for %s", owner];
newNumber = [NSString stringWithUnsignedLongLong: newFID];
[newFMIDs addObject: newNumber];
}
return newFMIDs;
}
/* subclasses */
+ (NSString *) MAPIModuleName
{
[self subclassResponsibility: _cmd];
return nil;
}
+ (enum mapistore_context_role) MAPIContextRole
{
return -1;
}
+ (NSString *)
createRootSecondaryFolderWithFID: (uint64_t) fid
andName: (NSString *) folderName
forUser: (NSString *) userName
{
[self subclassResponsibility: _cmd];
return nil;
}
- (Class) MAPIStoreFolderClass
{
[self subclassResponsibility: _cmd];
return nil;
}
- (id) rootSOGoFolder
{
[self subclassResponsibility: _cmd];
return nil;
}
@end
-32
View File
@@ -1,32 +0,0 @@
/* MAPIStoreDBBaseContext.h - this file is part of SOGo
*
* Copyright (C) 2012 Inverse inc.
*
* Author: Wolfgang Sourdeau <wsourdeau@inverse.ca>
*
* This file is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3, or (at your option)
* any later version.
*
* This file is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#ifndef MAPISTOREDBBASECONTEXT_H
#define MAPISTOREDBBASECONTEXT_H
#import "MAPIStoreContext.h"
@interface MAPIStoreDBBaseContext : MAPIStoreContext
@end
#endif /* MAPISTOREDBBASECONTEXT_H */
-114
View File
@@ -1,114 +0,0 @@
/* MAPIStoreDBBaseContext.m - this file is part of SOGo
*
* Copyright (C) 2012-2014 Inverse inc.
*
* This file is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3, or (at your option)
* any later version.
*
* This file is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
/* A generic parent class for all context that will store their data on the
disk in the form of a plist. */
#import <Foundation/NSArray.h>
#import <Foundation/NSString.h>
#import <Foundation/NSURL.h>
#import <NGExtensions/NSObject+Logs.h>
#import "MAPIStoreDBFolder.h"
#import "MAPIStoreMapping.h"
#import "MAPIStoreUserContext.h"
#import <SOGo/SOGoCacheGCSFolder.h>
#import "MAPIStoreDBBaseContext.h"
#undef DEBUG
#include <mapistore/mapistore.h>
static Class MAPIStoreDBFolderK;
@implementation MAPIStoreDBBaseContext
+ (void) initialize
{
MAPIStoreDBFolderK = [MAPIStoreDBFolder class];
}
+ (NSString *) MAPIModuleName
{
return nil;
}
- (Class) MAPIStoreFolderClass
{
return MAPIStoreDBFolderK;
}
- (void) ensureContextFolder
{
SOGoCacheGCSFolder *currentFolder;
NSArray *parts;
NSMutableArray *folders;
NSString *folderName;
NSUInteger count, max;
parts = [[contextUrl path] componentsSeparatedByString: @"/"];
max = [parts count];
folders = [NSMutableArray arrayWithCapacity: max];
/* build the folder chain */
currentFolder = [self rootSOGoFolder];
[folders addObject: currentFolder];
for (count = 1; count < max; count++)
{
folderName = [parts objectAtIndex: count];
if ([folderName length] > 0)
{
currentFolder = [SOGoCacheGCSFolder objectWithName: folderName
inContainer: currentFolder];
[folders addObject: currentFolder];
}
}
/* ensure each folder in the chain actually exists, so that it becomes
"listable" in further operations */
max = [folders count];
for (count = 0; count < max; count++)
{
currentFolder = [folders objectAtIndex: count];
[currentFolder reloadIfNeeded];
if ([currentFolder isNew])
[currentFolder save];
}
}
- (id) rootSOGoFolder
{
SOGoCacheGCSFolder *folder;
[userContext ensureFolderTableExists];
folder = [SOGoCacheGCSFolder objectWithName: [isa MAPIModuleName]
inContainer: nil];
[folder setTableUrl: [userContext folderTableURL]];
// [folder reloadIfNeeded];
/* we don't need to set the "path prefix" of the folder since the module
name is used as the label for the top folder */
return folder;
}
@end
-43
View File
@@ -1,43 +0,0 @@
/* MAPIStoreDBFolder.h - this file is part of SOGo
*
* Copyright (C) 2012 Inverse inc
*
* Author: Wolfgang Sourdeau <wsourdeau@inverse.ca>
*
* This file is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This file is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#ifndef MAPISTOREDBFOLDER_H
#define MAPISTOREDBFOLDER_H
#import "MAPIStoreFolder.h"
extern NSString *MAPIStoreRightReadItems;
extern NSString *MAPIStoreRightCreateItems;
extern NSString *MAPIStoreRightEditOwn;
extern NSString *MAPIStoreRightEditAll;
extern NSString *MAPIStoreRightDeleteOwn;
extern NSString *MAPIStoreRightDeleteAll;
extern NSString *MAPIStoreRightCreateSubfolders;
extern NSString *MAPIStoreRightFolderOwner;
extern NSString *MAPIStoreRightFolderContact;
@interface MAPIStoreDBFolder : MAPIStoreFolder
@end
#endif /* MAPISTOREDBFOLDER_H */
-382
View File
@@ -1,382 +0,0 @@
/* MAPIStoreDBFolder.m - this file is part of SOGo
*
* Copyright (C) 2011-2012 Inverse inc
*
* Author: Wolfgang Sourdeau <wsourdeau@inverse.ca>
*
* This file is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3, or (at your option)
* any later version.
*
* This file is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#include <inttypes.h>
#import <Foundation/NSArray.h>
#import <Foundation/NSCalendarDate.h>
#import <Foundation/NSDictionary.h>
#import <Foundation/NSException.h>
#import <Foundation/NSString.h>
#import <Foundation/NSURL.h>
#import <NGExtensions/NSObject+Logs.h>
#import <EOControl/EOQualifier.h>
#import <SOGo/SOGoFolder.h>
#import <SOGo/SOGoUser.h>
#import <SOGo/EOQualifier+SOGoCacheObject.h>
#import "MAPIStoreContext.h"
#import "MAPIStoreDBFolderTable.h"
#import "MAPIStoreDBMessage.h"
#import "MAPIStoreDBMessageTable.h"
#import "MAPIStoreMapping.h"
#import "MAPIStoreTypes.h"
#import "MAPIStoreUserContext.h"
#import <SOGo/SOGoCacheGCSFolder.h>
#import "SOGoMAPIDBMessage.h"
#import "MAPIStoreDBFolder.h"
#undef DEBUG
#include <mapistore/mapistore.h>
#include <mapistore/mapistore_errors.h>
static Class EOKeyValueQualifierK, SOGoCacheGCSFolderK, MAPIStoreDBFolderK;
@implementation MAPIStoreDBFolder
+ (void) initialize
{
EOKeyValueQualifierK = [EOKeyValueQualifier class];
SOGoCacheGCSFolderK = [SOGoCacheGCSFolder class];
MAPIStoreDBFolderK = [MAPIStoreDBFolder class];
}
- (void) setupAuxiliaryObjects
{
[super setupAuxiliaryObjects];
ASSIGN (sogoObject, dbFolder);
}
- (MAPIStoreMessageTable *) messageTable
{
return [MAPIStoreDBMessageTable tableForContainer: self];
}
- (MAPIStoreFolderTable *) folderTable
{
return [MAPIStoreDBFolderTable tableForContainer: self];
}
- (enum mapistore_error) createFolder: (struct SRow *) aRow
withFID: (uint64_t) newFID
andKey: (NSString **) newKeyP
{
enum mapistore_error rc;
NSString *folderName, *nameInContainer;
SOGoCacheGCSFolder *newFolder;
struct SPropValue *value;
value = get_SPropValue_SRow (aRow, PidTagDisplayName);
if (value)
folderName = [NSString stringWithUTF8String: value->value.lpszW];
else
{
value = get_SPropValue_SRow (aRow, PidTagDisplayName_string8);
if (value)
folderName = [NSString stringWithUTF8String: (const char *) value->value.lpszA];
else
folderName = nil;
}
if (folderName)
{
nameInContainer = [NSString stringWithFormat: @"0x%.16"PRIx64,
(unsigned long long) newFID];
newFolder = [SOGoCacheGCSFolderK objectWithName: nameInContainer
inContainer: sogoObject];
[newFolder reloadIfNeeded];
[[newFolder properties] setObject: folderName
forKey: MAPIPropertyKey (PidTagDisplayName)];
[newFolder save];
*newKeyP = nameInContainer;
rc = MAPISTORE_SUCCESS;
}
else
rc = MAPISTORE_ERR_INVALID_PARAMETER;
return rc;
}
- (enum mapistore_error) moveCopyToFolder: (MAPIStoreFolder *) targetFolder
withNewName: (NSString *) newFolderName
isMove: (BOOL) isMove
isRecursive: (BOOL) isRecursive
inMemCtx: (TALLOC_CTX *) memCtx
{
enum mapistore_error rc;
NSString *path, *pathComponent, *targetPath, *newPath;
NSString *newURL;
MAPIStoreMapping *mapping;
NSRange slashRange;
pathComponent = nil;
if (isMove && ([targetFolder isKindOfClass: MAPIStoreDBFolderK] || !targetFolder))
{
path = [sogoObject path];
slashRange = [path rangeOfString: @"/" options: NSBackwardsSearch];
if (slashRange.location == NSNotFound)
[NSException raise: @"MAPIStoreIOException"
format: @"db folder path must start with a '/'"];
else
pathComponent = [path substringFromIndex: slashRange.location + 1];
if (targetFolder)
{
targetPath = [[targetFolder sogoObject] path];
newPath = [NSString stringWithFormat: @"%@/%@",
targetPath, pathComponent];
[dbFolder changePathTo: newPath
intoNewContainer: [targetFolder dbFolder]];
}
else
[dbFolder changePathTo: [NSString stringWithFormat: @"/fallback/%@", pathComponent]
intoNewContainer: nil];
mapping = [self mapping];
if (targetFolder)
newURL = [NSString stringWithFormat: @"%@%@/",
[targetFolder url], pathComponent];
else
newURL = [NSString stringWithFormat: @"sogo://%@@fallback/%@/",
[[self userContext] username], pathComponent];
[mapping updateID: [self objectId]
withURL: newURL];
[targetFolder cleanupCaches];
rc = MAPISTORE_SUCCESS;
}
else
rc = [super moveCopyToFolder: targetFolder withNewName: newFolderName
isMove: isMove
isRecursive: isRecursive
inMemCtx: memCtx];
return rc;
}
- (MAPIStoreMessage *) createMessage
{
MAPIStoreMessage *newMessage;
SOGoMAPIDBMessage *fsObject;
NSString *newKey;
[[self userContext] activate];
newKey = [NSString stringWithFormat: @"%@.plist",
[SOGoObject globallyUniqueObjectId]];
fsObject = [SOGoMAPIDBMessage objectWithName: newKey
inContainer: sogoObject];
[fsObject setObjectType: MAPIMessageCacheObject];
[fsObject reloadIfNeeded];
newMessage = [MAPIStoreDBMessage mapiStoreObjectWithSOGoObject: fsObject
inContainer: self];
return newMessage;
}
- (NSArray *) messageKeysMatchingQualifier: (EOQualifier *) qualifier
andSortOrderings: (NSArray *) sortOrderings
{
NSArray *keys;
SOGoUser *ownerUser;
ownerUser = [[self userContext] sogoUser];
if ([[context activeUser] isEqual: ownerUser]
|| [self subscriberCanReadMessages])
{
[[self userContext] activate];
keys = [(SOGoCacheGCSFolder *) sogoObject childKeysOfType: MAPIMessageCacheObject
includeDeleted: NO
matchingQualifier: qualifier
andSortOrderings: sortOrderings];
}
else
keys = [NSArray array];
return keys;
}
- (NSArray *) folderKeysMatchingQualifier: (EOQualifier *) qualifier
andSortOrderings: (NSArray *) sortOrderings
{
[[self userContext] activate];
return [dbFolder childKeysOfType: MAPIFolderCacheObject
includeDeleted: NO
matchingQualifier: qualifier
andSortOrderings: sortOrderings];
}
/* TODO: now that we are DB-based, this method can easily be implemented
- (NSArray *) getDeletedKeysFromChangeNumber: (uint64_t) changeNum
andCN: (NSNumber **) cnNbrs
inTableType: (enum mapistore_table_type) tableType
{
}
*/
- (NSDate *) lastMessageModificationTime
{
NSUInteger count, max;
NSDate *date, *fileDate;
MAPIStoreDBMessage *msg;
NSArray *messageKeys;
messageKeys = [self messageKeys];
date = [NSCalendarDate date];
//[self logWithFormat: @"current date: %@", date];
max = [messageKeys count];
for (count = 0; count < max; count++)
{
msg = [self lookupMessage: [messageKeys objectAtIndex: count]];
fileDate = [msg lastModificationTime];
if ([date laterDate: fileDate] == fileDate)
{
//[self logWithFormat: @"current date: %@", date];
date = fileDate;
}
}
return date;
}
- (SOGoFolder *) aclFolder
{
return sogoObject;
}
- (NSArray *) rolesForExchangeRights: (uint32_t) rights
{
NSMutableArray *roles;
roles = [NSMutableArray arrayWithCapacity: 9];
if (rights & RightsReadItems)
[roles addObject: MAPIStoreRightReadItems];
if (rights & RightsCreateItems)
[roles addObject: MAPIStoreRightCreateItems];
if (rights & RightsEditOwn)
[roles addObject: MAPIStoreRightEditOwn];
if (rights & RightsDeleteOwn)
[roles addObject: MAPIStoreRightDeleteOwn];
if (rights & RightsEditAll)
[roles addObject: MAPIStoreRightEditAll];
if (rights & RightsDeleteAll)
[roles addObject: MAPIStoreRightDeleteAll];
if (rights & RightsCreateSubfolders)
[roles addObject: MAPIStoreRightCreateSubfolders];
if (rights & RightsFolderOwner)
[roles addObject: MAPIStoreRightFolderOwner];
if (rights & RightsFolderContact)
[roles addObject: MAPIStoreRightFolderContact];
return roles;
}
- (uint32_t) exchangeRightsForRoles: (NSArray *) roles
{
uint32_t rights = 0;
if ([roles containsObject: MAPIStoreRightReadItems])
rights |= RightsReadItems;
if ([roles containsObject: MAPIStoreRightCreateItems])
rights |= RightsCreateItems;
if ([roles containsObject: MAPIStoreRightEditOwn])
rights |= RightsEditOwn;
if ([roles containsObject: MAPIStoreRightDeleteOwn])
rights |= RightsDeleteOwn;
if ([roles containsObject: MAPIStoreRightEditAll])
rights |= RightsEditAll | RightsEditOwn;
if ([roles containsObject: MAPIStoreRightDeleteAll])
rights |= RightsDeleteAll | RightsDeleteOwn;
if ([roles containsObject: MAPIStoreRightCreateSubfolders])
rights |= RightsCreateSubfolders;
if ([roles containsObject: MAPIStoreRightFolderOwner])
rights |= RightsFolderOwner;
if ([roles containsObject: MAPIStoreRightFolderContact])
rights |= RightsFolderContact;
if (rights != 0)
rights |= RoleNone; /* actually "folder visible" */
return rights;
}
- (BOOL) _testRoleForActiveUser: (const NSString *) role
{
SOGoUser *activeUser;
NSArray *roles;
activeUser = [[self context] activeUser];
roles = [[self aclFolder] aclsForUser: [activeUser login]];
return [roles containsObject: role];
}
- (BOOL) subscriberCanCreateMessages
{
return [self _testRoleForActiveUser: MAPIStoreRightCreateItems];
}
- (BOOL) subscriberCanModifyMessages
{
return [self _testRoleForActiveUser: MAPIStoreRightEditAll];
}
- (BOOL) subscriberCanReadMessages
{
NSString *displayName;
/* when this folder is the "Freebusy Data" folder, we need to allow
subscribed to read an open contained messages in order to enable them to
find the "LocalFreebusy" message */
[sogoObject reloadIfNeeded];
displayName = [[sogoObject properties]
objectForKey: MAPIPropertyKey (PidTagDisplayName)];
return ([displayName isEqualToString: @"Freebusy Data"]
|| [self _testRoleForActiveUser: MAPIStoreRightReadItems]);
}
- (BOOL) subscriberCanDeleteMessages
{
return [self _testRoleForActiveUser: MAPIStoreRightDeleteAll];
}
- (BOOL) subscriberCanCreateSubFolders
{
return [self _testRoleForActiveUser: MAPIStoreRightCreateSubfolders];
}
- (BOOL) supportsSubFolders
{
return YES;
}
@end
-31
View File
@@ -1,31 +0,0 @@
/* MAPIStoreDBFolderTable.h - this file is part of SOGo
*
* Copyright (C) 2012 Inverse inc
*
* Author: Wolfgang Sourdeau <wsourdeau@inverse.ca>
*
* This file is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3, or (at your option)
* any later version.
*
* This file is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#ifndef MAPISTOREDBFOLDERTABLE_H
#define MAPISTOREDBFOLDERTABLE_H
#import "MAPIStoreFolderTable.h"
@interface MAPIStoreDBFolderTable : MAPIStoreFolderTable
@end
#endif /* MAPISTOREDBFOLDERTABLE_H */
-36
View File
@@ -1,36 +0,0 @@
/* MAPIStoreDBFolderTable.m - this file is part of SOGo
*
* Copyright (C) 2012 Inverse inc
*
* Author: Wolfgang Sourdeau <wsourdeau@inverse.ca>
*
* This file is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3, or (at your option)
* any later version.
*
* This file is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#import <Foundation/NSString.h>
#import "MAPIStoreTypes.h"
#import "MAPIStoreDBFolderTable.h"
@implementation MAPIStoreDBFolderTable
- (NSString *) backendIdentifierForProperty: (enum MAPITAGS) property
{
return [NSString stringWithFormat: @"%@", MAPIPropertyKey (property)];
}
@end
-31
View File
@@ -1,31 +0,0 @@
/* MAPIStoreDBMessage.h - this file is part of SOGo
*
* Copyright (C) 2012 Inverse inc
*
* Author: Wolfgang Sourdeau <wsourdeau@inverse.ca>
*
* This file is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This file is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#ifndef MAPISTOREDBMESSAGE_H
#define MAPISTOREDBMESSAGE_H
#import "MAPIStoreMessage.h"
@interface MAPIStoreDBMessage : MAPIStoreMessage
@end
#endif /* MAPISTOREDBMESSAGE_H */
-495
View File
@@ -1,495 +0,0 @@
/* MAPIStoreDBMessage.m - this file is part of SOGo
*
* Copyright (C) 2011-2012 Inverse inc
*
* Author: Wolfgang Sourdeau <wsourdeau@inverse.ca>
*
* This file is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3, or (at your option)
* any later version.
*
* This file is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#import <Foundation/NSArray.h>
#import <Foundation/NSCalendarDate.h>
#import <Foundation/NSData.h>
#import <Foundation/NSDictionary.h>
#import <Foundation/NSString.h>
#import <Foundation/NSValue.h>
#import <NGExtensions/NSObject+Logs.h>
#import <NGObjWeb/WOContext+SoObjects.h>
#import <SOGo/SOGoFolder.h>
#import <SOGo/SOGoUser.h>
#import "MAPIStoreContext.h"
#import "MAPIStorePropertySelectors.h"
#import "SOGoMAPIDBMessage.h"
#import "MAPIStoreDBFolder.h"
#import "MAPIStoreDBMessage.h"
#import "MAPIStoreTypes.h"
#import "NSData+MAPIStore.h"
#import "NSObject+MAPIStore.h"
#import "NSString+MAPIStore.h"
#undef DEBUG
#include <mapistore/mapistore.h>
#include <mapistore/mapistore_errors.h>
@implementation MAPIStoreDBMessage
+ (enum mapistore_error) getAvailableProperties: (struct SPropTagArray **) propertiesP
inMemCtx: (TALLOC_CTX *) memCtx
{
struct SPropTagArray *properties;
NSUInteger count;
enum MAPITAGS faiProperties[] = {
0x68330048, /* PR_VIEW_CLSID */
0x68350102, /* PR_VIEW_STATE */
0x683c0102,
0x683d0040,
0x683e0102,
0x683f0102, /* PR_VIEW_VIEWTYPE_KEY */
0x68410003,
0x68420102,
0x68450102,
0x68460003,
0x7006001F, /* PR_VD_NAME_W */
0x70030003, /* PR_VD_FLAGS */
0x70070003 /* PR_VD_VERSION */
};
size_t faiSize = sizeof(faiProperties) / sizeof(enum MAPITAGS);
properties = talloc_zero (memCtx, struct SPropTagArray);
properties->cValues = MAPIStoreSupportedPropertiesCount + faiSize;
properties->aulPropTag = talloc_array (properties, enum MAPITAGS,
MAPIStoreSupportedPropertiesCount + faiSize);
for (count = 0; count < MAPIStoreSupportedPropertiesCount; count++)
properties->aulPropTag[count] = MAPIStoreSupportedProperties[count];
/* FIXME (hack): append a few undocumented properties that can be added to
FAI messages */
for (count = 0; count < faiSize; count++)
properties->aulPropTag[MAPIStoreSupportedPropertiesCount+count]
= faiProperties[count];
*propertiesP = properties;
return MAPISTORE_SUCCESS;
}
- (enum mapistore_error) getAvailableProperties: (struct SPropTagArray **) propertiesP
inMemCtx: (TALLOC_CTX *) memCtx
{
return [[self class] getAvailableProperties: propertiesP
inMemCtx: memCtx];
}
- (id) initWithSOGoObject: (id) newSOGoObject
inContainer: (MAPIStoreObject *) newContainer
{
if ((self = [super initWithSOGoObject: newSOGoObject
inContainer: newContainer]))
{
[properties release];
properties = [newSOGoObject properties];
[properties retain];
}
return self;
}
- (NSString *) description
{
id key, value;
NSEnumerator *propEnumerator;
NSMutableString *description;
description = [NSMutableString stringWithFormat: @"%@ %@. Properties: {", NSStringFromClass ([self class]),
[self url]];
propEnumerator = [properties keyEnumerator];
while ((key = [propEnumerator nextObject]))
{
uint32_t proptag = 0;
if ([key isKindOfClass: [NSString class]] && [(NSString *)key intValue] > 0)
proptag = [(NSString *)key intValue];
else if ([key isKindOfClass: [NSNumber class]])
proptag = [key unsignedLongValue];
if (proptag > 0)
{
const char *propTagName = get_proptag_name ([key unsignedLongValue]);
NSString *propName;
if (propTagName)
propName = [NSString stringWithCString: propTagName
encoding: NSUTF8StringEncoding];
else
propName = [NSString stringWithFormat: @"0x%.4x", [key unsignedLongValue]];
[description appendFormat: @"'%@': ", propName];
}
else
[description appendFormat: @"'%@': ", key];
value = [properties objectForKey: key];
[description appendFormat: @"%@ (%@), ", value, NSStringFromClass ([value class])];
}
[description appendString: @"}\n"];
return description;
}
- (uint64_t) objectVersion
{
/* Return the global counter from CN structure.
See [MS-OXCFXICS] Section 2.2.2.1 */
NSNumber *versionNbr, *cn;
uint64_t objectVersion;
[(SOGoMAPIDBMessage *) sogoObject reloadIfNeeded];
versionNbr = [properties objectForKey: @"version_number"];
if (versionNbr)
objectVersion = exchange_globcnt ([versionNbr unsignedLongLongValue]);
else
{
/* Old version which stored the CN structure not useful for searching */
cn = [properties objectForKey: @"version"];
if (cn)
objectVersion = (([cn unsignedLongLongValue] >> 16)
& 0x0000ffffffffffffLL);
else
objectVersion = ULLONG_MAX;
}
return objectVersion;
}
- (void) _updatePredecessorChangeList
{
BOOL updated;
enum mapistore_error rc;
NSData *currentChangeList, *changeKey;
NSMutableArray *changeKeys;
NSMutableData *newChangeList;
NSUInteger count, len;
struct SizedXid *changes;
struct SPropValue property;
struct SRow aRow;
struct XID *currentChangeKey;
TALLOC_CTX *localMemCtx;
uint32_t nChanges;
localMemCtx = talloc_new (NULL);
if (!localMemCtx)
{
[self errorWithFormat: @"No more memory"];
return;
}
changeKey = [self getReplicaKeyFromGlobCnt: [self objectVersion]];
currentChangeList = [properties objectForKey: MAPIPropertyKey (PidTagPredecessorChangeList)];
if (!currentChangeList)
{
/* Create a new PredecessorChangeList */
len = [changeKey length];
newChangeList = [NSMutableData dataWithCapacity: len + 1];
[newChangeList appendUInt8: len];
[newChangeList appendData: changeKey];
}
else
{
/* Update current predecessor change list with new change key */
changes = [currentChangeList asSizedXidArrayInMemCtx: localMemCtx
with: &nChanges];
updated = NO;
currentChangeKey = [changeKey asXIDInMemCtx: localMemCtx];
for (count = 0; count < nChanges && !updated; count++)
{
if (GUID_equal(&changes[count].XID.NameSpaceGuid, &currentChangeKey->NameSpaceGuid))
{
NSData *globCnt, *oldGlobCnt;
oldGlobCnt = [NSData dataWithBytes: changes[count].XID.LocalId.data length: changes[count].XID.LocalId.length];
globCnt = [NSData dataWithBytes: currentChangeKey->LocalId.data length: currentChangeKey->LocalId.length];
if ([globCnt compare: oldGlobCnt] == NSOrderedDescending)
{
if ([globCnt length] != [oldGlobCnt length])
{
[self errorWithFormat: @"Cannot compare globcnt with different length: %@ and %@", globCnt, oldGlobCnt];
abort();
}
memcpy (changes[count].XID.LocalId.data, currentChangeKey->LocalId.data, currentChangeKey->LocalId.length);
updated = YES;
}
}
}
/* Serialise it */
changeKeys = [NSMutableArray array];
if (!updated)
[changeKeys addObject: changeKey];
for (count = 0; count < nChanges; count++)
{
changeKey = [NSData dataWithXID: &changes[count].XID];
[changeKeys addObject: changeKey];
}
[changeKeys sortUsingFunction: MAPIChangeKeyGUIDCompare context: localMemCtx];
newChangeList = [NSMutableData data];
len = [changeKeys count];
for (count = 0; count < len; count++)
{
changeKey = [changeKeys objectAtIndex: count];
[newChangeList appendUInt8: [changeKey length]];
[newChangeList appendData: changeKey];
}
}
if ([newChangeList length] > 0)
{
property.ulPropTag = PidTagPredecessorChangeList;
property.value.bin = *[newChangeList asBinaryInMemCtx: localMemCtx];
aRow.cValues = 1;
aRow.lpProps = &property;
rc = [self addPropertiesFromRow: &aRow];
if (rc != MAPISTORE_SUCCESS)
[self errorWithFormat: @"Impossible to add a new predecessor change list: %d", rc];
}
talloc_free (localMemCtx);
}
//
// FIXME: how this can happen?
//
// We might get there if for some reasons, all classes weren't able
// to tell us the message class.
//
- (enum mapistore_error) getPidTagMessageClass: (void **) data inMemCtx: (TALLOC_CTX *) memCtx
{
*data = [@"IPM.Note" asUnicodeInMemCtx: memCtx];
[self logWithFormat: @"METHOD '%s' - unable to determine message class. Falling back to IPM.Note", __FUNCTION__];
return MAPISTORE_SUCCESS;
}
- (enum mapistore_error) getProperties: (struct mapistore_property_data *) data
withTags: (enum MAPITAGS *) tags
andCount: (uint16_t) columnCount
inMemCtx: (TALLOC_CTX *) memCtx
{
[sogoObject reloadIfNeeded];
return [super getProperties: data
withTags: tags
andCount: columnCount
inMemCtx: memCtx];
}
- (enum mapistore_error) getProperty: (void **) data
withTag: (enum MAPITAGS) propTag
inMemCtx: (TALLOC_CTX *) memCtx
{
id value;
enum mapistore_error rc;
value = [properties objectForKey: MAPIPropertyKey (propTag)];
if (value)
rc = [value getValue: data forTag: propTag inMemCtx: memCtx];
else
rc = [super getProperty: data withTag: propTag inMemCtx: memCtx];
return rc;
}
- (void) addProperties: (NSDictionary *) newNewProperties
{
[sogoObject reloadIfNeeded];
[super addProperties: newNewProperties];
}
- (void) save: (TALLOC_CTX *) memCtx
{
uint64_t newVersion;
if ([attachmentKeys count] > 0)
[properties setObject: attachmentParts forKey: @"attachments"];
newVersion = [[self context] getNewChangeNumber];
newVersion = exchange_globcnt ((newVersion >> 16) & 0x0000ffffffffffffLL);
[properties setObject: [NSNumber numberWithUnsignedLongLong: newVersion]
forKey: @"version_number"];
/* Remove old version */
[properties removeObjectForKey: @"version"];
/* Update PredecessorChangeList accordingly */
[self _updatePredecessorChangeList];
if (isNew)
{
NSString *lastModifierName;
lastModifierName = (NSString *)[properties objectForKey: MAPIPropertyKey (PidTagLastModifierName)];
if ([lastModifierName length] > 0)
[properties setObject: lastModifierName
forKey: MAPIPropertyKey (PidTagCreatorName)];
}
// [self logWithFormat: @"Saving %@", [self description]];
// [self logWithFormat: @"%d props in dict", [properties count]];
[sogoObject save];
}
- (BOOL) _messageIsFreeBusy
{
NSString *msgClass;
/* This is a HACK until we figure out how to determine a message position in
the mailbox hierarchy.... (missing: folderid and role) */
msgClass = [properties
objectForKey: MAPIPropertyKey (PR_MESSAGE_CLASS_UNICODE)];
return [msgClass isEqualToString: @"IPM.Microsoft.ScheduleData.FreeBusy"];
}
//-----------------------------
// Permissions
//-----------------------------
- (BOOL) subscriberCanReadMessage
{
return [(MAPIStoreFolder *) container subscriberCanReadMessages];
}
- (SOGoUser *) _ownerUser
{
NSString *ownerName;
SOGoUser *ownerUser = nil;
ownerName = [properties objectForKey: MAPIPropertyKey (PidTagCreatorName)];
if ([ownerName length] > 0)
ownerUser = [SOGoUser userWithLogin: ownerName];
return ownerUser;
}
- (NSArray *) activeUserRoles
{
/* Override because of this exception: NSInvalidArgumentException,
reason: [SOGoMAPIDBMessage-aclsForUser:] should be overridden by
subclass */
if (!activeUserRoles)
{
SOGoUser *activeUser;
activeUser = [[self context] activeUser];
activeUserRoles = [[container aclFolder] aclsForUser: [activeUser login]];
[activeUserRoles retain];
}
return activeUserRoles;
}
- (BOOL) subscriberCanModifyMessage
{
BOOL rc;
NSArray *roles;
roles = [self activeUserRoles];
if (isNew)
rc = [(MAPIStoreFolder *) container subscriberCanCreateMessages];
else
rc = [roles containsObject: MAPIStoreRightEditAll];
/* Check if the message is owned and it has permission to edit it */
if (!rc && [roles containsObject: MAPIStoreRightEditOwn])
rc = [[[container context] activeUser] isEqual: [self _ownerUser]];
return rc;
}
- (BOOL) subscriberCanDeleteMessage
{
BOOL rc;
NSArray *roles;
roles = [self activeUserRoles];
rc = [roles containsObject: MAPIStoreRightDeleteAll];
/* Check if the message is owned and it has permission to delete it */
if (!rc && [roles containsObject: MAPIStoreRightDeleteOwn])
rc = [[[container context] activeUser] isEqual: [self _ownerUser]];
return rc;
}
- (NSDate *) creationTime
{
return [sogoObject creationDate];
}
- (NSDate *) lastModificationTime
{
return [sogoObject lastModified];
}
- (enum mapistore_error) setReadFlag: (uint8_t) flag
{
/* Modify PidTagMessageFlags from SetMessageReadFlag and
SyncImportReadStateChanges ROPs */
NSNumber *flags;
uint32_t newFlag;
flags = [properties objectForKey: MAPIPropertyKey (PR_MESSAGE_FLAGS)];
if (flags)
{
newFlag = [flags unsignedLongValue];
if (flag & SUPPRESS_RECEIPT)
newFlag |= MSGFLAG_READ;
if (flag & CLEAR_RN_PENDING)
newFlag &= ~MSGFLAG_RN_PENDING;
if (flag & CLEAR_READ_FLAG)
newFlag &= ~MSGFLAG_READ;
if (flag & CLEAR_NRN_PENDING)
newFlag &= ~MSGFLAG_NRN_PENDING;
}
else
{
newFlag = MSGFLAG_READ;
if (flag & CLEAR_READ_FLAG)
newFlag = 0x0;
}
[properties setObject: [NSNumber numberWithUnsignedLong: newFlag]
forKey: MAPIPropertyKey (PR_MESSAGE_FLAGS)];
return MAPISTORE_SUCCESS;
}
@end
@@ -1,31 +0,0 @@
/* MAPIStoreDBMessageTable.h - this file is part of SOGo
*
* Copyright (C) 2012 Inverse inc
*
* Author: Wolfgang Sourdeau <wsourdeau@inverse.ca>
*
* This file is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This file is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#ifndef MAPISTOREDBMESSAGETABLE_H
#define MAPISTOREDBMESSAGETABLE_H
#import "MAPIStoreMessageTable.h"
@interface MAPIStoreDBMessageTable : MAPIStoreMessageTable
@end
#endif /* MAPISTOREDBMESSAGETABLE_H */
-133
View File
@@ -1,133 +0,0 @@
/* MAPIStoreDBMessageTable.m - this file is part of SOGo
*
* Copyright (C) 2012 Inverse inc
*
* Author: Wolfgang Sourdeau <wsourdeau@inverse.ca>
*
* This file is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3, or (at your option)
* any later version.
*
* This file is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#import <Foundation/NSString.h>
#import <NGExtensions/NSObject+Logs.h>
#import <EOControl/EOQualifier.h>
#import "MAPIStoreTypes.h"
#import "MAPIStoreDBMessage.h"
#import "MAPIStoreDBMessageTable.h"
#undef DEBUG
#include <mapistore/mapistore.h>
static Class MAPIStoreDBMessageK = Nil;
@implementation MAPIStoreDBMessageTable
+ (void) initialize
{
MAPIStoreDBMessageK = [MAPIStoreDBMessage class];
}
+ (Class) childObjectClass
{
return MAPIStoreDBMessageK;
}
- (NSString *) backendIdentifierForProperty: (enum MAPITAGS) property
{
return [NSString stringWithFormat: @"%@", MAPIPropertyKey (property)];
}
- (MAPIRestrictionState) evaluatePropertyRestriction: (struct mapi_SPropertyRestriction *) res
intoQualifier: (EOQualifier **) qualifier
{
MAPIRestrictionState rc;
id value;
NSNumber *version;
uint64_t cVersion;
if ((uint32_t) res->ulPropTag == PidTagChangeNumber)
{
SEL operator;
value = NSObjectFromMAPISPropValue (&res->lpProp);
cVersion = exchange_globcnt (([value unsignedLongLongValue] >> 16)
& 0x0000ffffffffffffLL);
version = [NSNumber numberWithUnsignedLongLong: cVersion];
operator = [self operatorFromRestrictionOperator: res->relop];
*qualifier = [[EOKeyValueQualifier alloc] initWithKey: @"version_number"
operatorSelector: operator
value: version];
[*qualifier autorelease];
rc = MAPIRestrictionStateNeedsEval;
}
else if ((uint32_t) res->ulPropTag == PR_SUBJECT_UNICODE)
{
EOQualifier *subjectQualifier, *nSubjectQualifier, *subjectPQualifier;
EOQualifier *orQualifier, *andQualifier;
struct mapi_SPropertyRestriction subRes;
char *colPtr, *prefix;
[super evaluatePropertyRestriction: res
intoQualifier: &subjectQualifier];
subRes.relop = res->relop;
subRes.ulPropTag = PR_NORMALIZED_SUBJECT_UNICODE;
subRes.lpProp.ulPropTag = PR_NORMALIZED_SUBJECT_UNICODE;
colPtr = strstr (res->lpProp.value.lpszW, ":");
if (colPtr)
subRes.lpProp.value.lpszW = colPtr + 1;
else
subRes.lpProp.value.lpszW = res->lpProp.value.lpszW;
[self evaluatePropertyRestriction: &subRes
intoQualifier: &nSubjectQualifier];
if (colPtr)
{
prefix = strndup (res->lpProp.value.lpszW, (colPtr - res->lpProp.value.lpszW));
subRes.relop = RELOP_EQ;
subRes.ulPropTag = PR_SUBJECT_PREFIX_UNICODE;
subRes.lpProp.ulPropTag = PR_SUBJECT_PREFIX_UNICODE;
subRes.lpProp.value.lpszW = prefix;
[self evaluatePropertyRestriction: &subRes
intoQualifier: &subjectPQualifier];
free (prefix);
andQualifier = [[EOOrQualifier alloc]
initWithQualifiers:
subjectPQualifier, nSubjectQualifier, nil];
orQualifier = [[EOOrQualifier alloc]
initWithQualifiers:
subjectQualifier, andQualifier, nil];
[andQualifier release];
}
else
orQualifier = [[EOOrQualifier alloc]
initWithQualifiers:
subjectQualifier, nSubjectQualifier, nil];
[orQualifier autorelease];
*qualifier = orQualifier;
rc = MAPIRestrictionStateNeedsEval;
}
else
rc = [super evaluatePropertyRestriction: res intoQualifier: qualifier];
return rc;
}
@end
@@ -1,33 +0,0 @@
/* MAPIStoreEmbeddedMessage.h - this file is part of SOGo
*
* Copyright (C) 2011-2012 Inverse inc
*
* Author: Wolfgang Sourdeau <wsourdeau@inverse.ca>
*
* This file is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This file is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#ifndef MAPISTOREEMBEDDEDMESSAGE_H
#define MAPISTOREEMBEDDEDMESSAGE_H
#import "MAPIStoreMessage.h"
@interface MAPIStoreEmbeddedMessage : MAPIStoreMessage
@end
#endif /* MAPISTOREEMBEDDEDMESSAGE_H */
-154
View File
@@ -1,154 +0,0 @@
/* MAPIStoreEmbeddedMessage.m - this file is part of SOGo
*
* Copyright (C) 2011-2012 Inverse inc
*
* Author: Wolfgang Sourdeau <wsourdeau@inverse.ca>
*
* This file is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3, or (at your option)
* any later version.
*
* This file is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#import <Foundation/NSString.h>
#import "MAPIStoreAttachment.h"
#import "MAPIStoreFolder.h"
#import "NSObject+MAPIStore.h"
#import "MAPIStoreEmbeddedMessage.h"
#include <mapistore/mapistore_errors.h>
static Class MAPIStoreAttachmentK;
@implementation MAPIStoreEmbeddedMessage
+ (void) initialize
{
MAPIStoreAttachmentK = [MAPIStoreAttachment class];
}
- (uint64_t) objectId
{
NSString *objectKey;
MAPIStoreMessage *grandParent;
grandParent = (MAPIStoreMessage *) [container container];
/* FIXME: this is a hack */
objectKey = [NSString stringWithFormat: @"%@/%@/as-message",
[grandParent nameInContainer],
[container nameInContainer],
[self nameInContainer]];
return [(MAPIStoreFolder *) [grandParent container]
idForObjectWithKey: objectKey];
}
- (enum mapistore_error) getPidTagAccessLevel: (void **) data
inMemCtx: (TALLOC_CTX *) memCtx
{
return [self getLongZero: data inMemCtx: memCtx];
}
/* disabled properties */
- (enum mapistore_error) getPidTagFolderId: (void **) data
inMemCtx: (TALLOC_CTX *) memCtx
{
return MAPISTORE_ERR_NOT_FOUND;
}
- (enum mapistore_error) getPidTagChangeKey: (void **) data
inMemCtx: (TALLOC_CTX *) memCtx
{
return MAPISTORE_ERR_NOT_FOUND;
}
- (enum mapistore_error) getPidTagSourceKey: (void **) data
inMemCtx: (TALLOC_CTX *) memCtx
{
return MAPISTORE_ERR_NOT_FOUND;
}
- (enum mapistore_error) getPidTagParentSourceKey: (void **) data
inMemCtx: (TALLOC_CTX *) memCtx
{
return MAPISTORE_ERR_NOT_FOUND;
}
- (enum mapistore_error) getPidTagChangeNumber: (void **) data
inMemCtx: (TALLOC_CTX *) memCtx
{
return MAPISTORE_ERR_NOT_FOUND;
}
- (enum mapistore_error) getPidTagInstID: (void **) data
inMemCtx: (TALLOC_CTX *) memCtx
{
return MAPISTORE_ERR_NOT_FOUND;
}
- (enum mapistore_error) getPidTagInstanceNum: (void **) data
inMemCtx: (TALLOC_CTX *) memCtx
{
return MAPISTORE_ERR_NOT_FOUND;
}
- (enum mapistore_error) getPidTagRowType: (void **) data
inMemCtx: (TALLOC_CTX *) memCtx
{
return MAPISTORE_ERR_NOT_FOUND;
}
- (enum mapistore_error) getPidTagDepth: (void **) data
inMemCtx: (TALLOC_CTX *) memCtx
{
return MAPISTORE_ERR_NOT_FOUND;
}
- (enum mapistore_error) getPidTagIconIndex: (void **) data
inMemCtx: (TALLOC_CTX *) memCtx
{
return MAPISTORE_ERR_NOT_FOUND;
}
- (enum mapistore_error) getPidTagGenerateExchangeViews: (void **) data
inMemCtx: (TALLOC_CTX *) memCtx
{
return MAPISTORE_ERR_NOT_FOUND;
}
- (enum mapistore_error) getPidTagOriginalMessageClass: (void **) dataa
inMemCtx: (TALLOC_CTX *) memCtx
{
return MAPISTORE_ERR_NOT_FOUND;
}
/* common methods */
- (NSString *) nameInContainer
{
return @"as-message";
}
- (uint64_t) objectVersion
{
return ULLONG_MAX;
}
- (void) save: (TALLOC_CTX *) memCtx
{
[self subclassResponsibility: _cmd];
}
@end
-31
View File
@@ -1,31 +0,0 @@
/* MAPIStoreFAIMessage.h - this file is part of SOGo
*
* Copyright (C) 2011-2012 Inverse inc
*
* Author: Wolfgang Sourdeau <wsourdeau@inverse.ca>
*
* This file is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This file is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#ifndef MAPISTOREFAIMESSAGE_H
#define MAPISTOREFAIMESSAGE_H
#import "MAPIStoreDBMessage.h"
@interface MAPIStoreFAIMessage : MAPIStoreDBMessage
@end
#endif /* MAPISTOREFAIMESSAGE_H */
-81
View File
@@ -1,81 +0,0 @@
/* MAPIStoreFAIMessage.m - this file is part of SOGo
*
* Copyright (C) 2011-2012 Inverse inc
*
* Author: Wolfgang Sourdeau <wsourdeau@inverse.ca>
*
* This file is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3, or (at your option)
* any later version.
*
* This file is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#import <SOGo/SOGoUser.h>
#import "MAPIStoreActiveTables.h"
#import "MAPIStoreContext.h"
#import "MAPIStoreFolder.h"
#import "MAPIStoreUserContext.h"
#import "NSObject+MAPIStore.h"
#import "MAPIStoreFAIMessage.h"
#undef DEBUG
#include <stdbool.h>
#include <talloc.h>
#include <util/time.h>
#include <mapistore/mapistore.h>
#include <mapistore/mapistore_errors.h>
@implementation MAPIStoreFAIMessage
- (NSArray *) activeContainerMessageTables
{
return [[MAPIStoreActiveTables activeTables]
activeTablesForFMID: [container objectId]
andType: MAPISTORE_FAI_TABLE];
}
- (enum mapistore_error) getPidTagAssociated: (void **) data
inMemCtx: (TALLOC_CTX *) memCtx
{
return [self getYes: data inMemCtx: memCtx];
}
- (enum mapistore_error) saveMessage: (TALLOC_CTX *) memCtx;
{
enum mapistore_error rc;
MAPIStoreContext *context;
SOGoUser *ownerUser;
context = [self context];
ownerUser = [[self userContext] sogoUser];
if ([[context activeUser] isEqual: ownerUser])
rc = [super saveMessage: memCtx];
else
rc = MAPISTORE_ERR_DENIED;
return rc;
}
- (BOOL) subscriberCanReadMessage
{
return [(MAPIStoreFolder *)container subscriberCanReadMessages];
}
- (BOOL) subscriberCanModifyMessage
{
return NO;
}
@end
@@ -1,31 +0,0 @@
/* MAPIStoreFAIMessageTable.h - this file is part of SOGo
*
* Copyright (C) 2011-2012 Inverse inc
*
* Author: Wolfgang Sourdeau <wsourdeau@inverse.ca>
*
* This file is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This file is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#ifndef MAPISTOREFAIMESSAGETABLE_H
#define MAPISTOREFAIMESSAGETABLE_H
#import "MAPIStoreDBMessageTable.h"
@interface MAPIStoreFAIMessageTable : MAPIStoreDBMessageTable
@end
#endif /* MAPISTOREFAIMESSAGETABLE_H */
-101
View File
@@ -1,101 +0,0 @@
/* MAPIStoreFAIMessageTable.m - this file is part of SOGo
*
* Copyright (C) 2011-2012 Inverse inc
*
* Author: Wolfgang Sourdeau <wsourdeau@inverse.ca>
*
* This file is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3, or (at your option)
* any later version.
*
* This file is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#import <Foundation/NSArray.h>
#import "MAPIStoreFAIMessage.h"
#import "MAPIStoreFolder.h"
#import "MAPIStoreFAIMessageTable.h"
#undef DEBUG
#include <talloc.h>
#include <util/time.h>
#include <mapistore/mapistore.h>
static Class MAPIStoreFAIMessageK = Nil;
@implementation MAPIStoreFAIMessageTable
+ (void) initialize
{
MAPIStoreFAIMessageK = [MAPIStoreFAIMessage class];
}
+ (Class) childObjectClass
{
return MAPIStoreFAIMessageK;
}
- (id) init
{
if ((self = [super init]))
{
tableType = MAPISTORE_FAI_TABLE;
}
return self;
}
- (NSArray *) childKeys
{
if (!childKeys)
{
childKeys = [(MAPIStoreFolder *)
container faiMessageKeysMatchingQualifier: nil
andSortOrderings: sortOrderings];
[childKeys retain];
}
return childKeys;
}
- (NSArray *) restrictedChildKeys
{
NSArray *keys;
if (!restrictedChildKeys)
{
if (restrictionState != MAPIRestrictionStateAlwaysTrue)
{
if (restrictionState == MAPIRestrictionStateNeedsEval)
keys = [(MAPIStoreFolder *)
container faiMessageKeysMatchingQualifier: restriction
andSortOrderings: sortOrderings];
else
keys = [NSArray array];
}
else
keys = [self childKeys];
ASSIGN (restrictedChildKeys, keys);
}
return restrictedChildKeys;
}
- (id) lookupChild: (NSString *) childKey
{
return [(MAPIStoreFolder *) container lookupFAIMessage: childKey];
}
@end
@@ -1,32 +0,0 @@
/* MAPIStoreFallbackContext.h - this file is part of SOGo
*
* Copyright (C) 2010-2012 Inverse inc.
*
* Author: Wolfgang Sourdeau <wsourdeau@inverse.ca>
*
* This file is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3, or (at your option)
* any later version.
*
* This file is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#ifndef MAPISTOREFALLBACKCONTEXT_H
#define MAPISTOREFALLBACKCONTEXT_H
#import "MAPIStoreDBBaseContext.h"
@interface MAPIStoreFallbackContext : MAPIStoreDBBaseContext
@end
#endif /* MAPISTOREFALLBACKCONTEXT_H */
-112
View File
@@ -1,112 +0,0 @@
/* MAPIStoreFallbackContext.m - this file is part of SOGo
*
* Copyright (C) 2011-2014 Inverse inc.
*
* This file is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3, or (at your option)
* any later version.
*
* This file is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#import <Foundation/NSArray.h>
#import <Foundation/NSString.h>
#import <Foundation/NSURL.h>
#import "MAPIStoreUserContext.h"
#import "NSString+MAPIStore.h"
#import <SOGo/SOGoCacheGCSFolder.h>
#import "MAPIStoreFallbackContext.h"
#undef DEBUG
#include <inttypes.h>
#include <dlinklist.h>
#include <mapistore/mapistore.h>
@implementation MAPIStoreFallbackContext
+ (NSString *) MAPIModuleName
{
return @"fallback";
}
+ (enum mapistore_context_role) MAPIContextRole
{
return MAPISTORE_MAIL_ROLE;
}
+ (struct mapistore_contexts_list *) listContextsForUser: (NSString *) userName
withIndexing: (struct indexing_context *) indexing
inMemCtx: (TALLOC_CTX *) memCtx
{
struct mapistore_contexts_list *firstContext = NULL, *context;
SOGoCacheGCSFolder *root;
NSArray *names;
NSUInteger count, max;
NSString *baseURL, *url, *name;
MAPIStoreUserContext *userContext;
baseURL = [NSString stringWithFormat: @"sogo://%@@fallback/",
[userName stringByReplacingOccurrencesOfString: @"@"
withString: @"%40"]];
context = talloc_zero (memCtx, struct mapistore_contexts_list);
context->url = [baseURL asUnicodeInMemCtx: context];
context->name = "Fallback";
context->main_folder = true;
context->role = MAPISTORE_FALLBACK_ROLE;
context->tag = "tag";
DLIST_ADD_END (firstContext, context, void);
/* Maybe emsmdbp_provisioning should be fixed in order to only take the uri
returned above to avoid deleting its entries... */
root = [SOGoCacheGCSFolder objectWithName: [self MAPIModuleName]
inContainer: nil];
[root setOwner: userName];
userContext = [MAPIStoreUserContext userContextWithUsername: userName
andTDBIndexing: indexing];
[userContext ensureFolderTableExists];
[root setTableUrl: [userContext folderTableURL]];
names = [root toManyRelationshipKeys];
max = [names count];
for (count = 0; count < max; count++)
{
name = [names objectAtIndex: count];
url = [NSString stringWithFormat: @"%@%@/", baseURL, name];
context = talloc_zero (memCtx, struct mapistore_contexts_list);
context->url = [url asUnicodeInMemCtx: context];
context->name = [name asUnicodeInMemCtx: context];
context->main_folder = false;
context->role = MAPISTORE_FALLBACK_ROLE;
context->tag = "tag";
DLIST_ADD_END (firstContext, context, void);
}
return firstContext;
}
+ (NSString *)
createRootSecondaryFolderWithFID: (uint64_t) fid
andName: (NSString *) folderName
forUser: (NSString *) userName
{
return [NSString stringWithFormat: @"sogo://%@@fallback/0x%.16"PRIx64"/",
[userName stringByReplacingOccurrencesOfString: @"@"
withString: @"%40"],
(unsigned long long) fid];
}
@end
-209
View File
@@ -1,209 +0,0 @@
/* MAPIStoreFolder.h - this file is part of SOGo
*
* Copyright (C) 2011-2014 Inverse inc
*
* This file is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This file is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#ifndef MAPISTOREFOLDER_H
#define MAPISTOREFOLDER_H
#import <Foundation/NSObject.h>
#import <Foundation/NSString.h>
@class NSArray;
@class NSMutableArray;
@class NSNumber;
@class EOQualifier;
@class MAPIStoreContext;
@class MAPIStoreMessage;
@class MAPIStoreFAIMessageTable;
@class MAPIStoreFolderTable;
@class MAPIStoreMessageTable;
@class MAPIStorePermissionsTable;
@class SOGoFolder;
@class SOGoCacheGCSFolder;
@class SOGoMAPIDBMessage;
#import "MAPIStoreSOGoObject.h"
/* MAPI Permissions
This set has only sogo-openchange library scope
*/
extern NSString *MAPIStoreRightReadItems;
extern NSString *MAPIStoreRightCreateItems;
extern NSString *MAPIStoreRightEditOwn;
extern NSString *MAPIStoreRightEditAll;
extern NSString *MAPIStoreRightDeleteOwn;
extern NSString *MAPIStoreRightDeleteAll;
extern NSString *MAPIStoreRightCreateSubfolders;
extern NSString *MAPIStoreRightFolderOwner;
extern NSString *MAPIStoreRightFolderContact;
@interface MAPIStoreFolder : MAPIStoreSOGoObject
{
MAPIStoreContext *context;
// NSArray *messageKeys;
// NSArray *faiMessageKeys;
// NSArray *folderKeys;
SOGoCacheGCSFolder *dbFolder;
// SOGoMAPIDBFolder *faiFolder;
// SOGoMAPIDBFolder *propsFolder;
// SOGoMAPIDBMessage *propsMessage;
}
- (void) setContext: (MAPIStoreContext *) newContext;
- (void) setupAuxiliaryObjects;
- (SOGoCacheGCSFolder *) dbFolder;
- (NSArray *) activeMessageTables;
- (NSArray *) activeFAIMessageTables;
// - (SOGoMAPIDBMessage *) propertiesMessage;
- (NSString *) childKeyFromURL: (NSString *) childURL;
- (id) lookupMessageByURL: (NSString *) messageURL;
- (id) lookupFolderByURL: (NSString *) folderURL;
/* permissions */
- (MAPIStorePermissionsTable *) permissionsTable;
- (NSArray *) permissionEntries;
- (NSArray *) expandRoles: (NSArray *) roles;
/* message objects and tables */
- (id) lookupMessage: (NSString *) messageKey;
- (NSArray *) messageKeys;
/* FAI message objects and tables */
- (id) lookupFAIMessage: (NSString *) messageKey;
- (MAPIStoreFAIMessageTable *) faiMessageTable;
- (NSArray *) faiMessageKeys;
- (NSArray *) faiMessageKeysMatchingQualifier: (EOQualifier *) qualifier
andSortOrderings: (NSArray *) sortOrderings;
/* folder objects and tables */
- (id) lookupFolder: (NSString *) folderKey;
- (MAPIStoreFolderTable *) folderTable;
- (NSArray *) folderKeys;
- (NSArray *) folderKeysMatchingQualifier: (EOQualifier *) qualifier
andSortOrderings: (NSArray *) sortOrderings;
- (MAPIStoreMessage *) createMessage: (BOOL) isAssociated;
/* backend interface */
- (enum mapistore_error) openFolder: (MAPIStoreFolder **) childFolderPtr
withFID: (uint64_t) fid;
- (enum mapistore_error) createFolder: (MAPIStoreFolder **) childFolderPtr
withRow: (struct SRow *) aRow
andFID: (uint64_t) fid;
- (enum mapistore_error) deleteFolder;
- (enum mapistore_error) getChildCount: (uint32_t *) rowCount
ofTableType: (enum mapistore_table_type) tableType;
- (enum mapistore_error) createMessage: (MAPIStoreMessage **) messagePtr
withMID: (uint64_t) mid
isAssociated: (BOOL) isAssociated;
- (enum mapistore_error) openMessage: (MAPIStoreMessage **) messagePtr
withMID: (uint64_t) mid
forWriting: (BOOL) readWrite
inMemCtx: (TALLOC_CTX *) memCtx;
- (enum mapistore_error) deleteMessageWithMID: (uint64_t) mid
andFlags: (uint8_t) flags;
- (enum mapistore_error) moveCopyMessagesWithMIDs: (uint64_t *) srcMids
andCount: (uint32_t) count
fromFolder: (MAPIStoreFolder *) sourceFolder
withMIDs: (uint64_t *) targetMids
andChangeKeys: (struct Binary_r **) targetChangeKeys
andPredecessorChangeLists: (struct Binary_r **) targetPredecessorChangeLists
wantCopy: (uint8_t) want_copy
inMemCtx: (TALLOC_CTX *) memCtx;
- (enum mapistore_error) moveCopyToFolder: (MAPIStoreFolder *) targetFolder
withNewName: (NSString *) newFolderName
isMove: (BOOL) isMove
isRecursive: (BOOL) isRecursive
inMemCtx: (TALLOC_CTX *) memCtx;
- (enum mapistore_error) getDeletedFMIDs: (struct UI8Array_r **) fmidsPtr
andCN: (uint64_t *) cnPtr
fromChangeNumber: (uint64_t) changeNum
inTableType: (enum mapistore_table_type) tableType
inMemCtx: (TALLOC_CTX *) mem_ctx;
- (enum mapistore_error) getTable: (MAPIStoreTable **) tablePtr
andRowCount: (uint32_t *) count
tableType: (enum mapistore_table_type) tableType
andHandleId: (uint32_t) handleId;
- (enum mapistore_error) modifyPermissions: (struct PermissionData *) permissions
withCount: (uint16_t) pcount
andFlags: (int8_t) flags;
- (enum mapistore_error) preloadMessageBodiesWithMIDs: (const struct UI8Array_r *) mids
ofTableType: (enum mapistore_table_type) tableType;
/* helpers */
- (uint64_t) idForObjectWithKey: (NSString *) childKey;
- (MAPIStoreFolder *) rootContainer;
/* subclasses */
- (MAPIStoreMessage *) createMessage;
- (MAPIStoreMessageTable *) messageTable;
- (NSArray *) messageKeysMatchingQualifier: (EOQualifier *) qualifier
andSortOrderings: (NSArray *) sortOrderings;
- (NSArray *) getDeletedKeysFromChangeNumber: (uint64_t) changeNum
andCN: (NSNumber **) cnNbr
inTableType: (enum mapistore_table_type) tableType;
- (enum mapistore_error) createFolder: (struct SRow *) aRow
withFID: (uint64_t) newFID
andKey: (NSString **) newKeyP;
- (NSCalendarDate *) lastMessageModificationTime;
- (SOGoFolder *) aclFolder;
- (NSArray *) rolesForExchangeRights: (uint32_t) rights;
- (uint32_t) exchangeRightsForRoles: (NSArray *) roles;
- (BOOL) subscriberCanCreateMessages;
- (BOOL) subscriberCanModifyMessages;
- (BOOL) subscriberCanReadMessages;
- (BOOL) subscriberCanDeleteMessages;
- (BOOL) subscriberCanCreateSubFolders;
- (BOOL) supportsSubFolders; /* capability */
- (enum mapistore_error) preloadMessageBodiesWithKeys: (NSArray *) keys
ofTableType: (enum mapistore_table_type) tableType;
/* subclass helpers */
- (void) setupVersionsMessage;
- (void) ensureIDsForChildKeys: (NSArray *) keys;
@end
#endif /* MAPISTOREFOLDER_H */
File diff suppressed because it is too large. Load diff
-31
View File
@@ -1,31 +0,0 @@
/* MAPIStoreFolderTable.h - this file is part of SOGo
*
* Copyright (C) 2010-2012 Inverse inc
*
* Author: Wolfgang Sourdeau <wsourdeau@inverse.ca>
*
* This file is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3, or (at your option)
* any later version.
*
* This file is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#ifndef MAPISTOREFOLDERTABLE_H
#define MAPISTOREFOLDERTABLE_H
#import "MAPIStoreTable.h"
@interface MAPIStoreFolderTable : MAPIStoreTable
@end
#endif /* MAPISTOREFOLDERTABLE_H */
-118
View File
@@ -1,118 +0,0 @@
/* MAPIStoreFolderTable.m - this file is part of SOGo
*
* Copyright (C) 2010-2012 Inverse inc
*
* Author: Wolfgang Sourdeau <wsourdeau@inverse.ca>
*
* This file is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3, or (at your option)
* any later version.
*
* This file is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#import <Foundation/NSArray.h>
#import <NGExtensions/NSObject+Logs.h>
#import "MAPIStoreFolder.h"
#import "MAPIStoreTypes.h"
#import "MAPIStoreFolderTable.h"
#undef DEBUG
#include <mapistore/mapistore.h>
#include <mapistore/mapistore_nameid.h>
#include <libmapiproxy.h>
@implementation MAPIStoreFolderTable
- (id) init
{
if ((self = [super init]))
{
tableType = MAPISTORE_FOLDER_TABLE;
}
return self;
}
- (NSArray *) childKeys
{
if (!childKeys)
{
childKeys = [(MAPIStoreFolder *)
container folderKeysMatchingQualifier: nil
andSortOrderings: sortOrderings];
[childKeys retain];
}
return childKeys;
}
- (NSArray *) restrictedChildKeys
{
NSArray *keys;
/* FIXME: restrictions are ignored on folder tables */
if (!restrictedChildKeys)
{
if (restrictionState != MAPIRestrictionStateAlwaysTrue)
{
if (restrictionState == MAPIRestrictionStateNeedsEval)
keys = [(MAPIStoreFolder *)
container folderKeysMatchingQualifier: restriction
andSortOrderings: sortOrderings];
else
keys = [NSArray array];
}
else
keys = [self childKeys];
ASSIGN (restrictedChildKeys, keys);
}
return restrictedChildKeys;
}
- (MAPIRestrictionState) evaluatePropertyRestriction: (struct mapi_SPropertyRestriction *) res
intoQualifier: (EOQualifier **) qualifier
{
MAPIRestrictionState rc;
switch ((uint32_t) res->ulPropTag)
{
/* HACK: we cheat here as we current have no mechanism for searching
folders based on PR_CHANGE_NUM, which is used by the oxcfxics
mechanism... */
case PidTagChangeNumber:
rc = MAPIRestrictionStateAlwaysTrue;
break;
default:
rc = [super evaluatePropertyRestriction: res intoQualifier: qualifier];
}
return rc;
}
- (id) lookupChild: (NSString *) childKey
{
return [(MAPIStoreFolder *) container lookupFolder: childKey];
}
- (NSString *) backendIdentifierForProperty: (enum MAPITAGS) property
{
return nil;
}
@end
@@ -1,37 +0,0 @@
/* MAPIStoreGCSBaseContext.h - this file is part of SOGo
*
* Copyright (C) 2010-2012 Inverse inc.
*
* Author: Wolfgang Sourdeau <wsourdeau@inverse.ca>
*
* This file is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3, or (at your option)
* any later version.
*
* This file is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#ifndef MAPISTOREGCSBASECONTEXT_H
#define MAPISTOREGCSBASECONTEXT_H
#import "MAPIStoreContext.h"
@class EOQualifier;
@interface MAPIStoreGCSBaseContext : MAPIStoreContext
+ (NSString *) folderNameSuffix;
+ (NSString *) getFolderDisplayName: (NSString *) sogoDisplayName;
@end
#endif /* MAPISTOREGCSBASECONTEXT_H */
-145
View File
@@ -1,145 +0,0 @@
/* MAPIStoreGCSBaseContext.m - this file is part of SOGo
*
* Copyright (C) 2010-2012 Inverse inc.
*
* Author: Wolfgang Sourdeau <wsourdeau@inverse.ca>
*
* This file is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3, or (at your option)
* any later version.
*
* This file is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#import <Foundation/NSArray.h>
#import <Foundation/NSDictionary.h>
#import <Foundation/NSString.h>
#import <SOGo/SOGoGCSFolder.h>
#import <SOGo/SOGoParentFolder.h>
#import "MAPIApplication.h"
#import "MAPIStoreUserContext.h"
#import "NSString+MAPIStore.h"
#import "MAPIStoreGCSBaseContext.h"
#undef DEBUG
#include <mapistore/mapistore.h>
#include <dlinklist.h>
@implementation MAPIStoreGCSBaseContext
+ (NSString *) MAPIModuleName
{
return nil;
}
+ (NSString *) folderNameSuffix
{
return @"";
}
+ (NSString *) getFolderDisplayName: (NSString *) sogoDisplayName
{
NSString *suffix, *displayName;
suffix = [self folderNameSuffix];
if ([suffix length] > 0 && ![sogoDisplayName hasSuffix: suffix])
displayName = [NSString stringWithFormat: @"%@ (%@)",
sogoDisplayName, suffix];
else
displayName = sogoDisplayName;
return displayName;
}
+ (struct mapistore_contexts_list *) listContextsForUser: (NSString *) userName
withIndexing: (struct indexing_context *) indexing
inMemCtx: (TALLOC_CTX *) memCtx
{
struct mapistore_contexts_list *firstContext = NULL, *context;
NSString *moduleName, *baseUrl, *url, *nameInContainer, *displayName;
NSArray *subfolders;
MAPIStoreUserContext *userContext;
SOGoParentFolder *parentFolder;
NSUInteger count, max;
SOGoGCSFolder *currentFolder;
moduleName = [self MAPIModuleName];
if (moduleName)
{
userContext = [MAPIStoreUserContext userContextWithUsername: userName
andTDBIndexing: indexing];
parentFolder = [[userContext rootFolders] objectForKey: moduleName];
baseUrl = [NSString stringWithFormat: @"sogo://%@@%@/",
[userName stringByReplacingOccurrencesOfString: @"@"
withString: @"%40"],
moduleName];
subfolders = [parentFolder subFolders];
max = [subfolders count];
for (count = 0; count < max; count++)
{
currentFolder = [subfolders objectAtIndex: count];
if ([[currentFolder ownerInContext: nil] isEqualToString: userName])
{
context = talloc_zero (memCtx, struct mapistore_contexts_list);
nameInContainer = [currentFolder nameInContainer];
url = [NSString stringWithFormat: @"%@%@", baseUrl, nameInContainer];
context->url = [url asUnicodeInMemCtx: context];
displayName = [self getFolderDisplayName: [currentFolder displayName]];
context->name = [displayName asUnicodeInMemCtx: context];
context->main_folder = [nameInContainer isEqualToString: @"personal"];
context->role = [self MAPIContextRole];
context->tag = "tag";
DLIST_ADD_END (firstContext, context, void);
}
}
}
return firstContext;
}
+ (NSString *)
createRootSecondaryFolderWithFID: (uint64_t) fid
andName: (NSString *) folderName
forUser: (NSString *) userName
{
NSString *mapistoreURI, *nameInContainer, *moduleName;
MAPIStoreUserContext *userContext;
SOGoParentFolder *parentFolder;
userContext = [MAPIStoreUserContext userContextWithUsername: userName
andTDBIndexing: NULL];
moduleName = [self MAPIModuleName];
parentFolder = [[userContext rootFolders] objectForKey: moduleName];
nameInContainer = nil;
if (![parentFolder newFolderWithName: folderName
nameInContainer: &nameInContainer])
mapistoreURI = [NSString stringWithFormat: @"sogo://%@@%@/%@/",
[userName stringByReplacingOccurrencesOfString: @"@"
withString: @"%40"],
moduleName, nameInContainer];
else
mapistoreURI = nil;
return mapistoreURI;
}
- (id) rootSOGoFolder
{
return [[userContext rootFolders] objectForKey: [isa MAPIModuleName]];
}
@end
-64
View File
@@ -1,64 +0,0 @@
/* MAPIStoreGCSFolder.h - this file is part of SOGo
*
* Copyright (C) 2011-2012 Inverse inc
*
* Author: Wolfgang Sourdeau <wsourdeau@inverse.ca>
*
* This file is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This file is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#ifndef MAPISTOREGCSFOLDER_H
#define MAPISTOREGCSFOLDER_H
#import "MAPIStoreFolder.h"
@class NSArray;
@class NSCalendarDate;
@class NSData;
@class NSMutableDictionary;
@class NSNumber;
@class NSString;
@interface MAPIStoreGCSFolder : MAPIStoreFolder
{
SOGoMAPIDBMessage *versionsMessage;
NSArray *activeUserRoles;
EOQualifier *componentQualifier;
}
/* synchronisation */
- (BOOL) synchroniseCache;
- (BOOL) synchroniseCacheFor: (NSString *) nameInContainer;
- (void) updateVersionsForMessageWithKey: (NSString *) messageKey
withChangeKey: (NSData *) oldChangeKey
andPredecessorChangeList: (NSData *) pcl;
- (NSNumber *) lastModifiedFromMessageChangeNumber: (NSString *) changeNumber;
- (NSString *) changeNumberForMessageWithKey: (NSString *) messageKey;
- (NSData *) changeKeyForMessageWithKey: (NSString *) messageKey;
- (NSData *) predecessorChangeListForMessageWithKey: (NSString *) messageKey;
- (NSArray *) activeUserRoles;
- (EOQualifier *) componentQualifier;
- (EOQualifier *) contentComponentQualifier;
/* subclasses */
- (EOQualifier *) aclQualifier;
- (NSString *) component;
@end
#endif /* MAPISTOREGCSFOLDER_H */
-893
View File
@@ -1,893 +0,0 @@
/* MAPIStoreGCSFolder.m - this file is part of SOGo
*
* Copyright (C) 2011-2012 Inverse inc
*
* Author: Wolfgang Sourdeau <wsourdeau@inverse.ca>
*
* This file is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3, or (at your option)
* any later version.
*
* This file is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#import <Foundation/NSCalendarDate.h>
#import <Foundation/NSDictionary.h>
#import <Foundation/NSException.h>
#import <NGExtensions/NSObject+Logs.h>
#import <NGExtensions/NSObject+Values.h>
#import <EOControl/EOQualifier.h>
#import <EOControl/EOFetchSpecification.h>
#import <EOControl/EOSortOrdering.h>
#import <GDLContentStore/GCSFolder.h>
#import <SOGo/NSArray+Utilities.h>
#import <SOGo/SOGoGCSFolder.h>
#import <SOGo/SOGoParentFolder.h>
#import <SOGo/SOGoPermissions.h>
#import <SOGo/SOGoUser.h>
#import "MAPIStoreGCSBaseContext.h"
#import "MAPIStoreTypes.h"
#import "MAPIStoreUserContext.h"
#import "NSData+MAPIStore.h"
#import "NSDate+MAPIStore.h"
#import "NSString+MAPIStore.h"
#import "SOGoMAPIDBMessage.h"
#import "MAPIStoreGCSFolder.h"
#undef DEBUG
#include <mapistore/mapistore.h>
#include <mapistore/mapistore_errors.h>
static Class NSNumberK;
@implementation MAPIStoreGCSFolder
+ (void) initialize
{
NSNumberK = [NSNumber class];
}
- (id) initWithSOGoObject: (id) newSOGoObject
inContainer: (MAPIStoreObject *) newContainer
{
if ((self = [super initWithSOGoObject: newSOGoObject inContainer: newContainer]))
{
activeUserRoles = nil;
}
return self;
}
- (void) setupVersionsMessage
{
ASSIGN (versionsMessage,
[SOGoMAPIDBMessage objectWithName: @"versions.plist"
inContainer: dbFolder]);
[versionsMessage setObjectType: MAPIInternalCacheObject];
[versionsMessage reloadIfNeeded];
}
- (void) dealloc
{
[versionsMessage release];
[activeUserRoles release];
[componentQualifier release];
[super dealloc];
}
- (enum mapistore_error) deleteFolder
{
enum mapistore_error rc;
NSException *error;
NSString *name;
name = [self nameInContainer];
if ([name isEqualToString: @"personal"])
rc = MAPISTORE_ERR_DENIED;
else
{
[[sogoObject container] removeSubFolder: name];
error = [(SOGoGCSFolder *) sogoObject delete];
if (error)
rc = MAPISTORE_ERROR;
else
{
if (![versionsMessage delete])
rc = MAPISTORE_SUCCESS;
else
rc = MAPISTORE_ERROR;
}
}
return (rc == MAPISTORE_SUCCESS) ? [super deleteFolder] : rc;
}
- (void) setDisplayName: (NSString *) newDisplayName
{
NSString *suffix, *fullSuffix;
Class cClass;
cClass = [(MAPIStoreGCSBaseContext *) [self context] class];
/* if a suffix exists, we strip it from the final name */
suffix = [cClass folderNameSuffix];
if ([suffix length] > 0)
{
fullSuffix = [NSString stringWithFormat: @"(%@)", suffix];
if ([newDisplayName hasSuffix: fullSuffix])
{
newDisplayName = [newDisplayName substringToIndex:
[newDisplayName length]
- [fullSuffix length]];
newDisplayName = [newDisplayName stringByTrimmingSpaces];
}
}
if (![[sogoObject displayName] isEqualToString: newDisplayName])
[sogoObject renameTo: newDisplayName];
}
- (enum mapistore_error) getPidTagDisplayName: (void **) data
inMemCtx: (TALLOC_CTX *) memCtx
{
NSString *displayName;
Class cClass;
cClass = [(MAPIStoreGCSBaseContext *) [self context] class];
displayName = [cClass getFolderDisplayName: [sogoObject displayName]];
*data = [displayName asUnicodeInMemCtx: memCtx];
return MAPISTORE_SUCCESS;
}
- (void) addProperties: (NSDictionary *) newProperties
{
NSString *newDisplayName;
NSMutableDictionary *propsCopy;
NSNumber *key;
key = MAPIPropertyKey (PR_DISPLAY_NAME_UNICODE);
newDisplayName = [newProperties objectForKey: key];
if (newDisplayName)
{
[self setDisplayName: newDisplayName];
propsCopy = [newProperties mutableCopy];
[propsCopy removeObjectForKey: key];
[propsCopy autorelease];
newProperties = propsCopy;
}
[super addProperties: newProperties];
}
- (NSArray *) messageKeysMatchingQualifier: (EOQualifier *) qualifier
andSortOrderings: (NSArray *) sortOrderings
{
static NSArray *fields = nil;
SOGoUser *ownerUser;
NSArray *records;
NSMutableArray *qualifierArray;
EOQualifier *fetchQualifier, *aclQualifier;
GCSFolder *ocsFolder;
EOFetchSpecification *fs;
NSArray *keys;
if (!fields)
fields = [[NSArray alloc]
initWithObjects: @"c_name", @"c_version", nil];
qualifierArray = [NSMutableArray new];
ownerUser = [[self userContext] sogoUser];
if (![[context activeUser] isEqual: ownerUser])
{
aclQualifier = [self aclQualifier];
if (aclQualifier)
[qualifierArray addObject: aclQualifier];
}
[qualifierArray addObject: [self componentQualifier]];
if (qualifier)
[qualifierArray addObject: qualifier];
fetchQualifier = [[EOAndQualifier alloc]
initWithQualifierArray: qualifierArray];
ocsFolder = [sogoObject ocsFolder];
fs = [EOFetchSpecification
fetchSpecificationWithEntityName: [ocsFolder folderName]
qualifier: fetchQualifier
sortOrderings: sortOrderings];
[fetchQualifier release];
[qualifierArray release];
records = [ocsFolder fetchFields: fields fetchSpecification: fs];
keys = [records objectsForKey: @"c_name"
notFoundMarker: nil];
return keys;
}
- (NSDate *) lastMessageModificationTime
{
NSDate *value;
NSNumber *ti;
[self synchroniseCache];
ti = [[versionsMessage properties]
objectForKey: @"SyncLastModificationDate"];
if (ti)
value = [NSDate dateWithTimeIntervalSince1970: [ti doubleValue]];
else
value = nil;
return value;
}
- (SOGoFolder *) aclFolder
{
return (SOGoFolder *) sogoObject;
}
/* synchronisation */
/* Tree
{
SyncLastModseq = x;
SyncLastSynchronisationDate = x; ** not updated until something changed
Messages = {
MessageKey = {
Version = x;
Modseq = x;
Deleted = b;
ChangeKey = d;
PredecessorChangeList = { guid1 = globcnt1, guid2 ... };
};
...
};
VersionMapping = {
Version = last-modified;
...
}
}
*/
- (void) _setChangeKey: (NSData *) changeKey
forMessageEntry: (NSMutableDictionary *) messageEntry
{
struct XID *xid;
NSString *guid;
NSData *globCnt;
NSDictionary *changeKeyDict;
NSMutableDictionary *changeList;
xid = [changeKey asXIDInMemCtx: NULL];
guid = [NSString stringWithGUID: &xid->NameSpaceGuid];
globCnt = [NSData dataWithBytes: xid->LocalId.data length: xid->LocalId.length];
talloc_free (xid);
/* 1. set change key association */
changeKeyDict = [NSDictionary dictionaryWithObjectsAndKeys: guid, @"GUID",
globCnt, @"LocalId",
nil];
[messageEntry setObject: changeKeyDict forKey: @"ChangeKey"];
/* 2. append/update predecessor change list */
changeList = [messageEntry objectForKey: @"PredecessorChangeList"];
if (!changeList)
{
changeList = [NSMutableDictionary new];
[messageEntry setObject: changeList
forKey: @"PredecessorChangeList"];
[changeList release];
}
[changeList setObject: globCnt forKey: guid];
}
- (void) _updatePredecessorChangeList: (NSData *) predecessorChangeList
forMessageEntry: (NSMutableDictionary *) messageEntry
withOldChangeKey: (NSData *) oldChangeKey
{
NSData *globCnt, *oldGlobCnt;
NSDictionary *changeKeyDict;
NSString *guid;
NSMutableDictionary *changeList;
struct SizedXid *sizedXIDList;
struct XID xid, *givenChangeKey;
TALLOC_CTX *localMemCtx;
uint32_t i, length;
localMemCtx = talloc_new (NULL);
if (!localMemCtx)
{
[self errorWithFormat: @"No more memory"];
return;
}
if (predecessorChangeList)
{
sizedXIDList = [predecessorChangeList asSizedXidArrayInMemCtx: localMemCtx with: &length];
changeList = [messageEntry objectForKey: @"PredecessorChangeList"];
if (!changeList)
{
changeList = [NSMutableDictionary new];
[messageEntry setObject: changeList
forKey: @"PredecessorChangeList"];
[changeList release];
}
if (sizedXIDList) {
for (i = 0; i < length; i++)
{
xid = sizedXIDList[i].XID;
guid = [NSString stringWithGUID: &xid.NameSpaceGuid];
globCnt = [NSData dataWithBytes: xid.LocalId.data length: xid.LocalId.length];
oldGlobCnt = [changeList objectForKey: guid];
if (!oldGlobCnt || ([globCnt compare: oldGlobCnt] == NSOrderedDescending))
[changeList setObject: globCnt forKey: guid];
}
}
}
if (oldChangeKey)
{
givenChangeKey = [oldChangeKey asXIDInMemCtx: localMemCtx];
if (givenChangeKey) {
guid = [NSString stringWithGUID: &givenChangeKey->NameSpaceGuid];
globCnt = [NSData dataWithBytes: givenChangeKey->LocalId.data length: givenChangeKey->LocalId.length];
changeKeyDict = [messageEntry objectForKey: @"ChangeKey"];
if (!changeKeyDict ||
([guid isEqualToString: [changeKeyDict objectForKey: @"GUID"]]
&& ([globCnt compare: [changeKeyDict objectForKey: @"LocalId"]] == NSOrderedDescending)))
{
/* The given change key is greater than current one stored in
metadata or it does not exist */
[messageEntry setObject: [NSDictionary dictionaryWithObjectsAndKeys: guid, @"GUID",
globCnt, @"LocalId",
nil]
forKey: @"ChangeKey"];
}
}
}
talloc_free (localMemCtx);
}
- (EOQualifier *) componentQualifier
{
if (!componentQualifier)
componentQualifier
= [[EOKeyValueQualifier alloc] initWithKey: @"c_component"
operatorSelector: EOQualifierOperatorEqual
value: [self component]];
return componentQualifier;
}
- (EOQualifier *) contentComponentQualifier
{
EOQualifier *contentComponentQualifier;
NSString *likeString;
likeString = [NSString stringWithFormat: @"%%BEGIN:%@%%",
[[self component] uppercaseString]];
contentComponentQualifier = [[EOKeyValueQualifier alloc]
initWithKey: @"c_content"
operatorSelector: EOQualifierOperatorLike
value: likeString];
[contentComponentQualifier autorelease];
return contentComponentQualifier;
}
- (BOOL) synchroniseCache
{
BOOL rc = YES;
uint64_t newChangeNum;
NSData *changeKey;
NSString *cName, *changeNumber;
NSNumber *ti, *lastModificationDate, *cVersion, *cLastModified, *cDeleted;
EOFetchSpecification *fs;
EOQualifier *searchQualifier, *fetchQualifier;
NSUInteger count, max;
NSArray *fetchResults, *changeNumbers;
NSMutableArray *keys, *modifiedEntries;
NSDictionary *result;
NSMutableDictionary *currentProperties, *messages, *mapping, *messageEntry;
NSCalendarDate *now;
GCSFolder *ocsFolder;
static NSArray *fields = nil;
static EOSortOrdering *sortOrdering = nil;
/* NOTE: we are using NSString instance for "changeNumber" because
NSNumber proved to give very bad performances when used as NSDictionary
keys with GNUstep 1.22.1. The bug seems to be solved with 1.24 but many
distros still ship an older version. */
if (!fields)
fields = [[NSArray alloc]
initWithObjects: @"c_name", @"c_version", @"c_lastmodified",
@"c_deleted", nil];
if (!sortOrdering)
{
sortOrdering = [EOSortOrdering sortOrderingWithKey: @"c_lastmodified"
selector: EOCompareAscending];
[sortOrdering retain];
}
[versionsMessage reloadIfNeeded];
currentProperties = [versionsMessage properties];
lastModificationDate = [currentProperties objectForKey: @"SyncLastModificationDate"];
if (lastModificationDate)
{
searchQualifier = [[EOKeyValueQualifier alloc]
initWithKey: @"c_lastmodified"
operatorSelector: EOQualifierOperatorGreaterThanOrEqualTo
value: lastModificationDate];
fetchQualifier = [[EOAndQualifier alloc]
initWithQualifiers: searchQualifier,
[self contentComponentQualifier],
nil];
[fetchQualifier autorelease];
[searchQualifier release];
}
else
fetchQualifier = [self componentQualifier];
ocsFolder = [sogoObject ocsFolder];
fs = [EOFetchSpecification
fetchSpecificationWithEntityName: [ocsFolder folderName]
qualifier: fetchQualifier
sortOrderings: [NSArray arrayWithObject: sortOrdering]];
fetchResults = [ocsFolder fetchFields: fields
fetchSpecification: fs
ignoreDeleted: NO];
max = [fetchResults count];
if (max > 0)
{
messages = [currentProperties objectForKey: @"Messages"];
if (!messages)
{
messages = [NSMutableDictionary new];
[currentProperties setObject: messages forKey: @"Messages"];
[messages release];
}
mapping = [currentProperties objectForKey: @"VersionMapping"];
if (!mapping)
{
mapping = [NSMutableDictionary new];
[currentProperties setObject: mapping forKey: @"VersionMapping"];
[mapping release];
}
keys = [NSMutableArray arrayWithCapacity: max];
modifiedEntries = [NSMutableArray arrayWithCapacity: max];
for (count = 0; count < max; count++)
{
result = [fetchResults objectAtIndex: count];
cName = [result objectForKey: @"c_name"];
[keys addObject: cName];
cDeleted = [result objectForKey: @"c_deleted"];
if ([cDeleted isKindOfClass: NSNumberK] && [cDeleted intValue])
cVersion = [NSNumber numberWithInt: -1];
else
cVersion = [result objectForKey: @"c_version"];
cLastModified = [result objectForKey: @"c_lastmodified"];
messageEntry = [messages objectForKey: cName];
if (!messageEntry)
{
messageEntry = [NSMutableDictionary new];
[messages setObject: messageEntry forKey: cName];
[messageEntry release];
}
if (![[messageEntry objectForKey: @"c_version"]
isEqual: cVersion])
{
[sogoObject removeChildRecordWithName: cName];
[modifiedEntries addObject: messageEntry];
[messageEntry setObject: cLastModified forKey: @"c_lastmodified"];
[messageEntry setObject: cVersion forKey: @"c_version"];
if (!lastModificationDate
|| ([lastModificationDate compare: cLastModified]
== NSOrderedAscending))
lastModificationDate = cLastModified;
}
}
/* make sure all returned objects have a corresponding mid */
[self ensureIDsForChildKeys: keys];
max = [modifiedEntries count];
if (max > 0)
{
changeNumbers = [[self context] getNewChangeNumbers: max];
for (count = 0; count < max; count++)
{
messageEntry = [modifiedEntries objectAtIndex: count];
changeNumber = [changeNumbers objectAtIndex: count];
cLastModified = [messageEntry objectForKey: @"c_lastmodified"];
[mapping setObject: cLastModified forKey: changeNumber];
[messageEntry setObject: changeNumber forKey: @"version"];
newChangeNum = [changeNumber unsignedLongLongValue];
// A GLOBCNT structure is a 6-byte global namespace counter,
// we strip the first 2 bytes. The first two bytes is the ReplicaId
changeKey = [self getReplicaKeyFromGlobCnt: newChangeNum >> 16];
[self _setChangeKey: changeKey forMessageEntry: messageEntry];
}
now = [NSCalendarDate date];
ti = [NSNumber numberWithDouble: [now timeIntervalSince1970]];
[currentProperties setObject: ti
forKey: @"SyncLastSynchronisationDate"];
[currentProperties setObject: lastModificationDate
forKey: @"SyncLastModificationDate"];
[versionsMessage save];
}
}
return rc;
}
- (BOOL) synchroniseCacheFor: (NSString *) nameInContainer
{
/* Try to synchronise old messages in versions.plist cache using an
specific c_name. It returns a boolean indicating if the
synchronisation was carried out succesfully.
It should be used as last resort, keeping synchroniseCache as the
main sync entry point. */
uint64_t changeNumber;
NSString *changeNumberStr;
NSData *changeKey;
NSNumber *cLastModified, *cDeleted, *cVersion;
EOFetchSpecification *fs;
EOQualifier *searchQualifier, *fetchQualifier;
NSArray *fetchResults;
NSDictionary *result;
NSMutableDictionary *currentProperties, *messages, *mapping, *messageEntry;
GCSFolder *ocsFolder;
static NSArray *fields;
[versionsMessage reloadIfNeeded];
currentProperties = [versionsMessage properties];
messages = [currentProperties objectForKey: @"Messages"];
if (!messages)
{
messages = [NSMutableDictionary new];
[currentProperties setObject: messages forKey: @"Messages"];
[messages release];
}
messageEntry = [messages objectForKey: nameInContainer];
if (!messageEntry)
{
/* Fetch the message by its name */
if (!fields)
fields = [[NSArray alloc]
initWithObjects: @"c_name", @"c_version", @"c_lastmodified",
@"c_deleted", nil];
searchQualifier = [[EOKeyValueQualifier alloc] initWithKey: @"c_name"
operatorSelector: EOQualifierOperatorEqual
value: nameInContainer];
fetchQualifier = [[EOAndQualifier alloc]
initWithQualifiers: searchQualifier,
[self contentComponentQualifier],
nil];
[fetchQualifier autorelease];
[searchQualifier release];
ocsFolder = [sogoObject ocsFolder];
fs = [EOFetchSpecification
fetchSpecificationWithEntityName: [ocsFolder folderName]
qualifier: fetchQualifier
sortOrderings: nil];
fetchResults = [ocsFolder fetchFields: fields
fetchSpecification: fs
ignoreDeleted: NO];
if ([fetchResults count] == 1)
{
result = [fetchResults objectAtIndex: 0];
cLastModified = [result objectForKey: @"c_lastmodified"];
cDeleted = [result objectForKey: @"c_deleted"];
if ([cDeleted isKindOfClass: NSNumberK] && [cDeleted intValue])
cVersion = [NSNumber numberWithInt: -1];
else
cVersion = [result objectForKey: @"c_version"];
changeNumber = [[self context] getNewChangeNumber];
changeNumberStr = [NSString stringWithUnsignedLongLong: changeNumber];
/* Create new message entry in Messages dict */
messageEntry = [NSMutableDictionary new];
[messages setObject: messageEntry forKey: nameInContainer];
[messageEntry release];
/* Store cLastModified, cVersion and the change number */
[messageEntry setObject: cLastModified forKey: @"c_lastmodified"];
[messageEntry setObject: cVersion forKey: @"c_version"];
[messageEntry setObject: changeNumberStr forKey: @"version"];
/* Store the change key */
changeKey = [self getReplicaKeyFromGlobCnt: changeNumber >> 16];
[self _setChangeKey: changeKey forMessageEntry: messageEntry];
/* Store the changeNumber -> cLastModified mapping */
mapping = [currentProperties objectForKey: @"VersionMapping"];
if (!mapping)
{
mapping = [NSMutableDictionary new];
[currentProperties setObject: mapping forKey: @"VersionMapping"];
[mapping release];
}
[mapping setObject: cLastModified forKey: changeNumberStr];
/* Save the message */
[versionsMessage save];
return YES;
}
else
return NO;
}
/* If message entry exists, then synchroniseCache did its job */
return YES;
}
- (void) updateVersionsForMessageWithKey: (NSString *) messageKey
withChangeKey: (NSData *) oldChangeKey
andPredecessorChangeList: (NSData *) pcl
{
NSMutableDictionary *messages, *messageEntry;
[self synchroniseCache];
if (oldChangeKey || pcl)
{
messages = [[versionsMessage properties] objectForKey: @"Messages"];
messageEntry = [messages objectForKey: messageKey];
if (!messageEntry)
[NSException raise: @"MAPIStoreIOException"
format: @"no version record found for message '%@'",
messageKey];
[self _updatePredecessorChangeList: pcl forMessageEntry: messageEntry
withOldChangeKey: oldChangeKey];
[versionsMessage save];
}
}
- (NSNumber *) lastModifiedFromMessageChangeNumber: (NSString *) changeNumber
{
NSDictionary *mapping;
NSNumber *lastModified;
mapping = [[versionsMessage properties] objectForKey: @"VersionMapping"];
lastModified = [mapping objectForKey: changeNumber];
return lastModified;
}
- (NSString *) changeNumberForMessageWithKey: (NSString *) messageKey
{
NSDictionary *messages;
NSString *changeNumber;
messages = [[versionsMessage properties] objectForKey: @"Messages"];
changeNumber = [[messages objectForKey: messageKey]
objectForKey: @"version"];
return changeNumber;
}
- (NSData *) changeKeyForMessageWithKey: (NSString *) messageKey
{
NSDictionary *messages, *changeKeyDict;
NSString *guid;
NSData *globCnt, *changeKey = nil;
messages = [[versionsMessage properties] objectForKey: @"Messages"];
changeKeyDict = [[messages objectForKey: messageKey]
objectForKey: @"ChangeKey"];
if (changeKeyDict)
{
guid = [changeKeyDict objectForKey: @"GUID"];
globCnt = [changeKeyDict objectForKey: @"LocalId"];
changeKey = [NSData dataWithChangeKeyGUID: guid andCnt: globCnt];
}
return changeKey;
}
- (NSData *) predecessorChangeListForMessageWithKey: (NSString *) messageKey
{
NSMutableData *list = nil;
NSDictionary *messages, *changeListDict;
NSArray *keys;
NSMutableArray *changeKeys;
NSUInteger count, max;
NSData *changeKey;
NSString *guid;
NSData *globCnt;
messages = [[versionsMessage properties] objectForKey: @"Messages"];
changeListDict = [[messages objectForKey: messageKey]
objectForKey: @"PredecessorChangeList"];
if (changeListDict)
{
keys = [changeListDict allKeys];
max = [keys count];
changeKeys = [NSMutableArray arrayWithCapacity: max];
for (count = 0; count < max; count++)
{
guid = [keys objectAtIndex: count];
globCnt = [changeListDict objectForKey: guid];
changeKey = [NSData dataWithChangeKeyGUID: guid andCnt: globCnt];
[changeKeys addObject: changeKey];
}
[changeKeys sortUsingFunction: MAPIChangeKeyGUIDCompare
context: nil];
list = [NSMutableData data];
for (count = 0; count < max; count++)
{
changeKey = [changeKeys objectAtIndex: count];
[list appendUInt8: [changeKey length]];
[list appendData: changeKey];
}
}
return list;
}
- (NSArray *) getDeletedKeysFromChangeNumber: (uint64_t) changeNum
andCN: (NSNumber **) cnNbr
inTableType: (uint8_t) tableType
{
NSArray *deletedKeys, *deletedCNames, *records;
NSNumber *lastModified;
NSString *cName, *changeNumber;
NSDictionary *versionProperties, *messageEntry;
NSMutableDictionary *messages;
uint64_t maxChangeNum = changeNum, currentChangeNum;
EOAndQualifier *fetchQualifier;
EOKeyValueQualifier *cDeletedQualifier, *cLastModifiedQualifier;
EOFetchSpecification *fs;
GCSFolder *ocsFolder;
NSUInteger count, max;
if (tableType == MAPISTORE_MESSAGE_TABLE)
{
deletedKeys = [NSMutableArray array];
changeNumber = [NSString stringWithUnsignedLongLong: changeNum];
lastModified = [self lastModifiedFromMessageChangeNumber: changeNumber];
if (lastModified)
{
versionProperties = [versionsMessage properties];
messages = [versionProperties objectForKey: @"Messages"];
ocsFolder = [sogoObject ocsFolder];
cLastModifiedQualifier = [[EOKeyValueQualifier alloc]
initWithKey: @"c_lastmodified"
operatorSelector: EOQualifierOperatorGreaterThanOrEqualTo
value: lastModified];
cDeletedQualifier = [[EOKeyValueQualifier alloc]
initWithKey: @"c_deleted"
operatorSelector: EOQualifierOperatorEqual
value: [NSNumber numberWithInt: 1]];
fetchQualifier = [[EOAndQualifier alloc] initWithQualifiers:
cLastModifiedQualifier,
cDeletedQualifier,
nil];
[fetchQualifier autorelease];
[cLastModifiedQualifier release];
[cDeletedQualifier release];
fs = [EOFetchSpecification
fetchSpecificationWithEntityName: [ocsFolder folderName]
qualifier: fetchQualifier
sortOrderings: nil];
records = [ocsFolder
fetchFields: [NSArray arrayWithObject: @"c_name"]
fetchSpecification: fs
ignoreDeleted: NO];
deletedCNames = [records objectsForKey: @"c_name" notFoundMarker: nil];
max = [deletedCNames count];
for (count = 0; count < max; count++)
{
cName = [deletedCNames objectAtIndex: count];
[sogoObject removeChildRecordWithName: cName];
messageEntry = [messages objectForKey: cName];
if (messageEntry)
{
currentChangeNum
= [[messageEntry objectForKey: @"version"]
unsignedLongLongValue];
if (MAPICNCompare (changeNum, currentChangeNum, NULL)
== NSOrderedAscending)
{
[(NSMutableArray *) deletedKeys addObject: cName];
if (MAPICNCompare (maxChangeNum, currentChangeNum, NULL)
== NSOrderedAscending)
maxChangeNum = currentChangeNum;
}
}
}
if (maxChangeNum != changeNum)
*cnNbr = [NSNumber numberWithUnsignedLongLong: maxChangeNum];
}
}
else
deletedKeys = [super getDeletedKeysFromChangeNumber: changeNum
andCN: cnNbr
inTableType: tableType];
return deletedKeys;
}
- (NSArray *) activeUserRoles
{
SOGoUser *activeUser;
WOContext *woContext;
if (!activeUserRoles)
{
activeUser = [[self context] activeUser];
woContext = [[self userContext] woContext];
activeUserRoles = [activeUser rolesForObject: sogoObject
inContext: woContext];
activeUserRoles = [self expandRoles: activeUserRoles];
[activeUserRoles retain];
}
return activeUserRoles;
}
- (BOOL) subscriberCanCreateMessages
{
return [[self activeUserRoles] containsObject: SOGoRole_ObjectCreator];
}
- (BOOL) subscriberCanDeleteMessages
{
return [[self activeUserRoles] containsObject: SOGoRole_ObjectEraser];
}
/* subclasses */
- (EOQualifier *) aclQualifier
{
return nil;
}
- (NSString *) component
{
[self subclassResponsibility: _cmd];
return nil;
}
@end
-264
View File
@@ -1,264 +0,0 @@
/* MAPIStoreGCSMessage.m - this file is part of SOGo
*
* Copyright (C) 2011-2012 Inverse inc
*
* Author: Wolfgang Sourdeau <wsourdeau@inverse.ca>
*
* This file is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3, or (at your option)
* any later version.
*
* This file is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#import <Foundation/NSArray.h>
#import <Foundation/NSCalendarDate.h>
#import <Foundation/NSDictionary.h>
#import <Foundation/NSValue.h>
#import <NGObjWeb/SoSecurityManager.h>
#import <NGObjWeb/WOContext+SoObjects.h>
#import <NGExtensions/NSObject+Logs.h>
#import <NGExtensions/NSObject+Values.h>
#import <SOGo/SOGoContentObject.h>
#import <SOGo/SOGoPermissions.h>
#import <SOGo/SOGoUser.h>
#import "MAPIStoreContext.h"
#import "MAPIStoreGCSFolder.h"
#import "MAPIStoreTypes.h"
#import "MAPIStoreUserContext.h"
#import "NSData+MAPIStore.h"
#import "NSString+MAPIStore.h"
#import "MAPIStoreGCSMessage.h"
#undef DEBUG
#include <mapistore/mapistore.h>
#include <mapistore/mapistore_errors.h>
@implementation MAPIStoreGCSMessage
- (NSDate *) creationTime
{
return [sogoObject creationDate];
}
- (NSDate *) lastModificationTime
{
return [sogoObject lastModified];
}
- (enum mapistore_error) getPidTagCreatorName: (void **) data
inMemCtx: (TALLOC_CTX *) memCtx
{
enum mapistore_error rc;
NSString *creator;
creator = [self creator];
if (creator)
{
*data = [creator asUnicodeInMemCtx: memCtx];
rc = MAPISTORE_SUCCESS;
}
else
rc = MAPISTORE_ERR_NOT_FOUND;
return rc;
}
- (enum mapistore_error) getPidTagChangeKey: (void **) data
inMemCtx: (TALLOC_CTX *) memCtx
{
enum mapistore_error rc = MAPISTORE_SUCCESS;
NSData *changeKey;
MAPIStoreGCSFolder *parentFolder;
NSString *nameInContainer;
if (isNew)
rc = MAPISTORE_ERR_NOT_FOUND;
else
{
parentFolder = (MAPIStoreGCSFolder *)[self container];
nameInContainer = [self nameInContainer];
changeKey = [parentFolder changeKeyForMessageWithKey: nameInContainer];
if (!changeKey)
{
[parentFolder synchroniseCache];
changeKey = [parentFolder changeKeyForMessageWithKey: nameInContainer];
}
if (changeKey)
*data = [changeKey asBinaryInMemCtx: memCtx];
else
{
[self warnWithFormat: @"No change key for %@ in folder %@",
nameInContainer,
[parentFolder url]
];
rc = MAPISTORE_ERR_NOT_FOUND;
}
}
return rc;
}
- (enum mapistore_error) getPidTagPredecessorChangeList: (void **) data
inMemCtx: (TALLOC_CTX *) memCtx
{
enum mapistore_error rc = MAPISTORE_SUCCESS;
NSData *changeList;
MAPIStoreGCSFolder *parentFolder;
if (isNew)
rc = MAPISTORE_ERR_NOT_FOUND;
else
{
parentFolder = (MAPIStoreGCSFolder *)[self container];
changeList = [parentFolder
predecessorChangeListForMessageWithKey: [self nameInContainer]];
if (!changeList)
{
[parentFolder synchroniseCache];
changeList = [parentFolder
predecessorChangeListForMessageWithKey: [self nameInContainer]];
}
if (!changeList)
abort ();
*data = [changeList asBinaryInMemCtx: memCtx];
}
return rc;
}
- (uint64_t) objectVersion
{
uint64_t version = ULLONG_MAX;
NSString *changeNumber;
BOOL synced;
if (!isNew)
{
changeNumber = [(MAPIStoreGCSFolder *) container
changeNumberForMessageWithKey: [self nameInContainer]];
if (!changeNumber)
{
[self warnWithFormat: @"attempting to get change number"
@" by synchronising folder..."];
synced = [(MAPIStoreGCSFolder *) container synchroniseCache];
if (synced)
{
changeNumber = [(MAPIStoreGCSFolder *) container
changeNumberForMessageWithKey: [self nameInContainer]];
}
if (!changeNumber)
{
[self warnWithFormat: @"attempting to get change number"
@" by synchronising this specific message..."];
synced = [(MAPIStoreGCSFolder *) container
synchroniseCacheFor: [self nameInContainer]];
if (synced)
{
changeNumber = [(MAPIStoreGCSFolder *) container
changeNumberForMessageWithKey: [self nameInContainer]];
}
if (!changeNumber)
{
[self errorWithFormat: @"still nothing. We crash!"];
abort();
}
}
}
version = [changeNumber unsignedLongLongValue] >> 16;
}
return version;
}
- (void) updateVersions
{
/* Update ChangeKey and PredecessorChangeList on message's save */
NSData *newChangeKey, *predecessorChangeList;
newChangeKey = [properties objectForKey: MAPIPropertyKey (PR_CHANGE_KEY)];
predecessorChangeList = [properties objectForKey: MAPIPropertyKey (PR_PREDECESSOR_CHANGE_LIST)];
[(MAPIStoreGCSFolder *) container
updateVersionsForMessageWithKey: [self nameInContainer]
withChangeKey: newChangeKey
andPredecessorChangeList: predecessorChangeList];
}
//----------------------
// Sharing
//----------------------
- (NSString *) creator
{
return [self owner];
}
- (NSString *) owner
{
return [sogoObject ownerInContext: nil];
}
- (SOGoUser *) ownerUser
{
NSString *ownerName;
SOGoUser *owner = nil;
ownerName = [self owner];
if ([ownerName length] != 0)
owner = [SOGoUser userWithLogin: ownerName];
return owner;
}
- (BOOL) subscriberCanModifyMessage
{
BOOL rc;
NSArray *roles;
roles = [self activeUserRoles];
if (isNew)
rc = [roles containsObject: SOGoRole_ObjectCreator];
else
rc = [roles containsObject: SOGoRole_ObjectEditor];
/* Check if the message is owned and it has permission to edit it */
if (!rc && [roles containsObject: MAPIStoreRightEditOwn])
rc = [[[container context] activeUser] isEqual: [self ownerUser]];
return rc;
}
- (BOOL) subscriberCanDeleteMessage
{
BOOL rc;
NSArray *roles;
roles = [self activeUserRoles];
rc = [roles containsObject: SOGoRole_ObjectEraser];
/* Check if the message is owned and it has permission to delete it */
if (!rc && [roles containsObject: MAPIStoreRightDeleteOwn])
{
NSString *currentUser;
currentUser = [[container context] activeUser];
rc = [currentUser isEqual: [self ownerUser]];
}
return rc;
}
@end
@@ -1,36 +0,0 @@
/* MAPIStoreGCSMessageTable.h - this file is part of SOGo
*
* Copyright (C) 2010-2012 Inverse inc
*
* Author: Wolfgang Sourdeau <wsourdeau@inverse.ca>
*
* This file is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3, or (at your option)
* any later version.
*
* This file is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#ifndef MAPISTOREGCSMESSAGETABLE_H
#define MAPISTOREGCSMESSAGETABLE_H
#import "MAPIStoreMessageTable.h"
@class EOQualifier;
@interface MAPIStoreGCSMessageTable : MAPIStoreMessageTable
- (NSString *) sortIdentifierForProperty: (enum MAPITAGS) property;
@end
#endif /* MAPISTOREGCSMESSAGETABLE_H */
-260
View File
@@ -1,260 +0,0 @@
/* MAPIStoreGCSMessageTable.m - this file is part of SOGo
*
* Copyright (C) 2010-2012 Inverse inc
*
* Author: Wolfgang Sourdeau <wsourdeau@inverse.ca>
*
* This file is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3, or (at your option)
* any later version.
*
* This file is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#import <Foundation/NSArray.h>
#import <Foundation/NSCalendarDate.h>
#import <Foundation/NSDictionary.h>
#import <Foundation/NSException.h>
#import <Foundation/NSString.h>
#import <NGExtensions/NSObject+Logs.h>
#import <NGExtensions/NSObject+Values.h>
#import <EOControl/EOFetchSpecification.h>
#import <EOControl/EOQualifier.h>
#import <EOControl/EOSortOrdering.h>
#import <GDLContentStore/GCSFolder.h>
#import <SOGo/NSArray+Utilities.h>
#import <SOGo/SOGoGCSFolder.h>
#import "MAPIStoreTypes.h"
#import "MAPIStoreGCSFolder.h"
#import "MAPIStoreGCSMessageTable.h"
#undef DEBUG
#include <mapistore/mapistore.h>
@implementation MAPIStoreGCSMessageTable
- (void) cleanupCaches
{
[(MAPIStoreGCSFolder *) container synchroniseCache];
[super cleanupCaches];
}
- (struct mapi_SPropertyRestriction *) _fixedDatePropertyRestriction: (struct mapi_SPropertyRestriction *) res
inMemCtx: (TALLOC_CTX *) memCtx
{
struct mapi_SPropertyRestriction *translatedRes;
NSCalendarDate *dateValue;
int32_t longDate;
translatedRes = talloc (memCtx, struct mapi_SPropertyRestriction);
translatedRes->ulPropTag = (res->ulPropTag & 0xffff0000) | PT_LONG;
translatedRes->relop = res->relop;
dateValue = NSObjectFromMAPISPropValue (&res->lpProp);
longDate = (int32_t) [dateValue timeIntervalSince1970];
translatedRes->lpProp.ulPropTag = translatedRes->ulPropTag;
translatedRes->lpProp.value.l = longDate;
return translatedRes;
}
- (MAPIRestrictionState) evaluatePropertyRestriction: (struct mapi_SPropertyRestriction *) res
intoQualifier: (EOQualifier **) qualifier
{
static SEL operators[] = { EOQualifierOperatorLessThan,
EOQualifierOperatorLessThanOrEqualTo,
EOQualifierOperatorGreaterThan,
EOQualifierOperatorGreaterThanOrEqualTo,
EOQualifierOperatorEqual,
EOQualifierOperatorNotEqual,
EOQualifierOperatorContains };
SEL operator;
id value;
NSString *property;
NSNumber *lastModified;
MAPIRestrictionState rc;
TALLOC_CTX *memCtx = NULL;
if (res->ulPropTag == PidTagChangeNumber)
{
NSString *changeNumber;
value = NSObjectFromMAPISPropValue (&res->lpProp);
changeNumber = [NSString stringWithUnsignedLongLong: [(NSNumber *)value unsignedLongLongValue]];
lastModified = [(MAPIStoreGCSFolder *)
container lastModifiedFromMessageChangeNumber: changeNumber];
//[self logWithFormat: @"change number from oxcfxics: %.16lx", [value unsignedLongLongValue]];
//[self logWithFormat: @" c_lastmodified: %@", lastModified];
if (lastModified)
{
SEL operator;
operator = [self operatorFromRestrictionOperator: res->relop];
*qualifier = [[EOKeyValueQualifier alloc] initWithKey: @"c_lastmodified"
operatorSelector: operator
value: lastModified];
[*qualifier autorelease];
rc = MAPIRestrictionStateNeedsEval;
}
else
{
[self logWithFormat: @"No last modified found for: 0x%.16"PRIx64". Then no restriction applied",
[value unsignedLongLongValue]];
rc = MAPIRestrictionStateAlwaysTrue;
}
}
else
{
property = [self backendIdentifierForProperty: res->ulPropTag];
if (property)
{
if (res->relop < 7)
operator = operators[res->relop];
else
{
operator = NULL;
[NSException raise: @"MAPIStoreRestrictionException"
format: @"unhandled operator type number %d", res->relop];
}
if ((res->ulPropTag & 0xffff) == PT_SYSTIME)
{
memCtx = talloc_zero (NULL, TALLOC_CTX);
res = [self _fixedDatePropertyRestriction: res
inMemCtx: memCtx];
}
value = NSObjectFromMAPISPropValue (&res->lpProp);
if ((res->ulPropTag & 0xffff) == PT_UNICODE)
{
property = [NSString stringWithFormat: @"UPPER(%@)", property];
value = [value uppercaseString];
}
*qualifier = [[EOKeyValueQualifier alloc] initWithKey: property
operatorSelector: operator
value: value];
[*qualifier autorelease];
if (memCtx)
talloc_free (memCtx);
rc = MAPIRestrictionStateNeedsEval;
}
else
{
[self warnUnhandledProperty: res->ulPropTag
inFunction: __FUNCTION__];
rc = MAPIRestrictionStateAlwaysFalse;
}
}
return rc;
}
/* sorting */
- (EOSortOrdering *) _sortOrderingFromSortOrder: (struct SSortOrder *) sortOrder
{
EOSortOrdering *newSortOrdering = nil;
NSString *sortIdentifier;
SEL orderSelector = NULL;
const char *propName;
sortIdentifier = [self sortIdentifierForProperty: sortOrder->ulPropTag];
if (sortIdentifier)
{
if ((sortOrder->ulPropTag & 0xffff) == PT_UNICODE
|| (sortOrder->ulPropTag & 0xffff) == PT_STRING8)
{
if (sortOrder->ulOrder == TABLE_SORT_ASCEND)
orderSelector = EOCompareCaseInsensitiveAscending;
else if (sortOrder->ulOrder == TABLE_SORT_DESCEND)
orderSelector = EOCompareCaseInsensitiveDescending;
else if (sortOrder->ulOrder == TABLE_SORT_MAXIMUM_CATEGORY)
{
orderSelector = EOCompareCaseInsensitiveAscending;
[self errorWithFormat:
@"TABLE_SORT_MAXIMUM_CATEGORY is not handled"];
}
}
else
{
if (sortOrder->ulOrder == TABLE_SORT_ASCEND)
orderSelector = EOCompareAscending;
else if (sortOrder->ulOrder == TABLE_SORT_DESCEND)
orderSelector = EOCompareDescending;
else if (sortOrder->ulOrder == TABLE_SORT_MAXIMUM_CATEGORY)
{
orderSelector = EOCompareAscending;
[self errorWithFormat:
@"TABLE_SORT_MAXIMUM_CATEGORY is not handled"];
}
}
if (orderSelector)
newSortOrdering = [EOSortOrdering sortOrderingWithKey: sortIdentifier
selector: orderSelector];
}
else
{
propName = get_proptag_name (sortOrder->ulPropTag);
if (!propName)
propName = "<unknown>";
[self errorWithFormat:
@"sort unhandled for property: %s (0x%.8x)",
propName, sortOrder->ulPropTag];
}
return newSortOrdering;
}
- (void) setSortOrder: (const struct SSortOrderSet *) set
{
NSMutableArray *newSortOrderings;
EOSortOrdering *sortOrdering;
uint16_t count;
if (set)
{
newSortOrderings = [NSMutableArray arrayWithCapacity: set->cSorts];
/* TODO: */
if (set->cCategories > 0)
[self errorWithFormat: @"we don't handle sort categories yet"];
for (count = 0; count < set->cSorts; count++)
{
sortOrdering = [self _sortOrderingFromSortOrder: set->aSort + count];
if (sortOrdering)
[newSortOrderings addObject: sortOrdering];
}
}
else
newSortOrderings = nil;
ASSIGN (sortOrderings, newSortOrderings);
[self cleanupCaches];
[self logWithFormat: @"new sort orderings: %@", sortOrderings];
}
/* subclasses */
- (NSString *) sortIdentifierForProperty: (enum MAPITAGS) property
{
[self subclassResponsibility: _cmd];
return nil;
}
@end
-37
View File
@@ -1,37 +0,0 @@
/* MAPIStoreMIME.h - this file is part of SOGo
*
* Copyright (C) 2011-2012 Inverse inc
*
* Author: Wolfgang Sourdeau <wsourdeau@inverse.ca>
*
* This file is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3, or (at your option)
* any later version.
*
* This file is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#ifndef MAPISTOREMIME_H
#define MAPISTOREMIME_H
@interface MAPIStoreMIME : NSObject
{
NSMutableDictionary *mimeDict;
}
+ (id) sharedMAPIStoreMIME;
- (NSString *) mimeTypeForExtension: (NSString *) extension;
@end
#endif /* MAPISTOREMIME_H */
-154
View File
@@ -1,154 +0,0 @@
/* MAPIStoreMIME.m - this file is part of SOGo
*
* Copyright (C) 2011-2012 Inverse inc
*
* Author: Wolfgang Sourdeau <wsourdeau@inverse.ca>
*
* This file is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3, or (at your option)
* any later version.
*
* This file is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#import <Foundation/NSData.h>
#import <Foundation/NSDictionary.h>
#import <Foundation/NSFileHandle.h>
#import <Foundation/NSString.h>
#import "MAPIStoreMIME.h"
/* Seems common to all distros ? */
#define MAPIStoreMIMEFile @"/etc/mime.types"
@implementation MAPIStoreMIME
+ (id) sharedMAPIStoreMIME
{
static MAPIStoreMIME *sharedInstance = nil;
if (!sharedInstance)
sharedInstance = [self new];
return sharedInstance;
}
- (void) _parseLine: (const char *) line
withLength: (NSUInteger) length
{
NSUInteger count = 0, lastWord = 0;
NSString *mimeType = nil, *word;
NSData *wordData;
BOOL comment = NO;
while (count < length && !comment)
{
while (count < length
&& (line[count] == ' ' || line[count] == '\t'))
count++;
lastWord = count;
while (count < length
&& line[count] != ' ' && line[count] != '\t'
&& !comment)
{
if (line[count] == '#')
comment = YES;
else
count++;
}
if (count > lastWord)
{
wordData = [NSData dataWithBytes: line + lastWord
length: count - lastWord];
word = [[NSString alloc] initWithData: wordData
encoding: NSASCIIStringEncoding];
if (word)
{
if (mimeType)
{
[mimeDict setObject: mimeType forKey: word];
[word release];
}
else
mimeType = word;
}
}
}
[mimeType release];
}
- (void) _parseContent: (NSData *) content
{
const char *data;
NSUInteger lineStart = 0, bytesRead = 0, max;
data = [content bytes];
max = [content length];
bytesRead = 0;
lineStart = 0;
while (bytesRead < max)
{
if (data[bytesRead] == '\n')
{
[self _parseLine: data + lineStart withLength: bytesRead - lineStart];
lineStart = bytesRead + 1;
}
else if (data[bytesRead] == '\r')
{
[self _parseLine: data + lineStart withLength: bytesRead - lineStart];
if (bytesRead < (max - 1) && data[bytesRead] == '\n')
lineStart = bytesRead + 2;
else
lineStart = bytesRead + 1;
}
bytesRead++;
}
if (bytesRead > (lineStart + 1))
[self _parseLine: data + lineStart withLength: bytesRead - lineStart];
}
- (void) _readMIMEFile
{
NSFileHandle *inH;
NSData *content;
inH = [NSFileHandle fileHandleForReadingAtPath: MAPIStoreMIMEFile];
content = [inH readDataToEndOfFile];
[self _parseContent: content];
}
- (id) init
{
if ((self = [super init]))
{
mimeDict = [NSMutableDictionary new];
[self _readMIMEFile];
}
return self;
}
- (void) dealloc
{
[mimeDict release];
[super dealloc];
}
- (NSString *) mimeTypeForExtension: (NSString *) extension
{
return [mimeDict objectForKey: [extension lowercaseString]];
}
@end
@@ -1,41 +0,0 @@
/* MAPIStoreMailAttachment.h - this file is part of SOGo
*
* Copyright (C) 2011-2012 Inverse inc
*
* Author: Wolfgang Sourdeau <wsourdeau@inverse.ca>
*
* This file is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2, or (at your option)
* any later version.
*
* This file is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#ifndef MAPISTOREMAILATTACHMENT_H
#define MAPISTOREMAILATTACHMENT_H
#import "MAPIStoreAttachment.h"
@class NSDictionary;
@interface MAPIStoreMailAttachment : MAPIStoreAttachment
{
NSDictionary *bodyInfo;
SOGoMailBodyPart *bodyPart;
}
- (void) setBodyInfo: (NSDictionary *) newBodyInfo;
- (void) setBodyPart: (SOGoMailBodyPart *) newBodyPart;
@end
#endif /* MAPISTOREMAILATTACHMENT_H */
-204
View File
@@ -1,204 +0,0 @@
/* MAPIStoreMailAttachment.m - this file is part of SOGo
*
* Copyright (C) 2011-2012 Inverse inc
*
* Author: Wolfgang Sourdeau <wsourdeau@inverse.ca>
*
* This file is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3, or (at your option)
* any later version.
*
* This file is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program; see the file COPYING. If not, write to
* the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
#import <Foundation/NSArray.h>
#import <Foundation/NSCalendarDate.h>
#import <Foundation/NSData.h>
#import <Foundation/NSDictionary.h>
#import <Foundation/NSString.h>
#import <Foundation/NSValue.h>
#import <NGExtensions/NSObject+Logs.h>
#import <SOGo/NSArray+Utilities.h>
#import <Mailer/SOGoMailBodyPart.h>
#import <Mailer/SOGoMailObject.h>
#import <Mailer/NSDictionary+Mail.h>
#import "MAPIStoreTypes.h"
#import "MAPIStoreMailMessage.h"
#import "NSData+MAPIStore.h"
#import "NSDate+MAPIStore.h"
#import "NSString+MAPIStore.h"
#import "MAPIStoreMailAttachment.h"
#undef DEBUG
#include <stdbool.h>
#include <gen_ndr/exchange.h>
#include <mapistore/mapistore.h>
#include <mapistore/mapistore_errors.h>
@implementation MAPIStoreMailAttachment
- (id) init
{
if ((self = [super init]))
{
bodyInfo = nil;
bodyPart = nil;
}
return self;
}
- (void) dealloc
{
[bodyInfo release];
[bodyPart release];
[super dealloc];
}
- (void) setBodyInfo: (NSDictionary *) newBodyInfo
{
ASSIGN (bodyInfo, newBodyInfo);
}
- (void) setBodyPart: (SOGoMailBodyPart *) newBodyPart
{
ASSIGN (bodyPart, newBodyPart);
}
- (enum mapistore_error) getPidTagAttachMethod: (void **) data
inMemCtx: (TALLOC_CTX *) memCtx
{
*data = MAPILongValue (memCtx, 0x00000001); // afByValue
return MAPISTORE_SUCCESS;
}
- (enum mapistore_error) getPidTagAttachTag: (void **) data
inMemCtx: (TALLOC_CTX *) memCtx
{
*data = [[self mimeAttachTag] asBinaryInMemCtx: memCtx];
return MAPISTORE_SUCCESS;
}
- (enum mapistore_error) getPidTagAttachSize: (void **) data
inMemCtx: (TALLOC_CTX *) memCtx
{
uint32_t longValue;
longValue = [[bodyInfo objectForKey: @"size"] longValue];
*data = MAPILongValue (memCtx, longValue);
return MAPISTORE_SUCCESS;
}
- (enum mapistore_error) getPidTagRecordKey: (void **) data
inMemCtx: (TALLOC_CTX *) memCtx
{
static char recordBytes[] = {0xd9, 0xd8, 0x11, 0xa3, 0xe2, 0x90, 0x18, 0x41,
0x9e, 0x04, 0x58, 0x46, 0x9d, 0x6d, 0x1b,
0x68};
*data = [[NSData dataWithBytes: recordBytes length: 16]
asBinaryInMemCtx: memCtx];
return MAPISTORE_SUCCESS;
}
- (NSString *) _fileName
{
return [bodyInfo filename];
}
- (enum mapistore_error) getPidTagAttachLongFilename: (void **) data
inMemCtx: (TALLOC_CTX *) memCtx
{
*data = [[self _fileName] asUnicodeInMemCtx: memCtx];
return MAPISTORE_SUCCESS;
}
- (enum mapistore_error) getPidTagAttachFilename: (void **) data
inMemCtx: (TALLOC_CTX *) memCtx
{
NSString *fileName, *baseName, *ext;
fileName = [self _fileName];
baseName = [fileName stringByDeletingPathExtension];
if ([baseName length] > 8)
baseName = [baseName substringToIndex: 8];
ext = [fileName pathExtension];
if ([ext length] > 3)
ext = [ext substringToIndex: 3];
fileName = [NSString stringWithFormat: @"%@.%@", baseName, ext];
*data = [fileName asUnicodeInMemCtx: memCtx];
return MAPISTORE_SUCCESS;
}
- (enum mapistore_error) getPidTagDisplayName: (void **) data
inMemCtx: (TALLOC_CTX *) memCtx
{
NSString *fileName;
fileName = [self _fileName];
if ([fileName isEqualToString: @"sharing_metadata.xml"])
/* Required to disallow user from seeing the attachment by default */
*data = [@"sharing_metadata.xml" asUnicodeInMemCtx: memCtx];
else
*data = [[bodyInfo objectForKey: @"description"]
asUnicodeInMemCtx: memCtx];
return MAPISTORE_SUCCESS;
}
- (enum mapistore_error) getPidTagAttachContentId: (void **) data
inMemCtx: (TALLOC_CTX *) memCtx
{
*data = [[bodyInfo objectForKey: @"bodyId"]
asUnicodeInMemCtx: memCtx];
return MAPISTORE_SUCCESS;
}
- (enum mapistore_error) getPidTagAttachMimeTag: (void **) data
inMemCtx: (TALLOC_CTX *) memCtx
{
NSString *mimeTag, *fileName;
fileName = [self _fileName];
if ([fileName isEqualToString: @"sharing_metadata.xml"])
/* Required by [MS-OXWSMSHR] Section 3.1.1 */
mimeTag = [NSString stringWithFormat: @"application/x-sharing-metadata-xml"];
else
mimeTag = [NSString stringWithFormat: @"%@/%@",
[bodyInfo objectForKey: @"type"],
[bodyInfo objectForKey: @"subtype"]];
*data = [[mimeTag lowercaseString] asUnicodeInMemCtx: memCtx];
return MAPISTORE_SUCCESS;
}
- (enum mapistore_error) getPidTagAttachDataBinary: (void **) data
inMemCtx: (TALLOC_CTX *) memCtx
{
*data = [[bodyPart fetchBLOBWithPeek: YES] asBinaryInMemCtx: memCtx];
return MAPISTORE_SUCCESS;
}
@end
Loaded 100 of 1669 files, more files were not shown because too many files have changed in this diff. Show more