45b81df3209dbcbb10e7efe5188d5a482f8678cb 9238 |
|
15-Jul-2013 |
cjr |
Remove unused messages |
7069b32d629383765bff884f8e7ee1a945a284f6 6787 |
|
24-Mar-2011 |
ludo |
Fix for OPENDJ-58 : cn=schema attribute store twice in 99-user.ldif schema file.
Prevent replication from adding cn and other schema attributes to the extra-attribute that are added to the schema entry written to the LDIF file.
Fix also some messages (and translations) |
6252c2f248487b8697a30bc6e1824b6ec207c2d2 6602 |
|
18-Sep-2010 |
matthew_swift |
Make sure completed tasks retention limit is respected upon server restarts. |
62713b44520556f3136c67f8716f905d9a90c463 6589 |
|
18-Sep-2010 |
matthew_swift |
Minimize Historical Data (dsreplication/client side). The purge historical can be executed on the local server even when it is stopped. This is matches the functionality provided by utilities such import-ldif, backup, etc. |
e3ad6502a42b2be876f49b5eb275387e25ce6858 5586 |
|
23-Jul-2009 |
ludovicp |
Fix for defect 4058: Schema backend backup/restore inefficiencies. |
f6bf7d2ebbf433342fc578c23bd653b12138968c 5572 |
|
21-Jul-2009 |
sin |
issue# 4120:Provide an implementation for enumeration syntax |
5cc36db82d8c89bae6797fed44d84fd9618f76d6 5541 |
|
10-Jul-2009 |
sin |
issue 4102: Provide implementation for substitution syntax |
0a873588d0c3ba63e71d8dae4b914e4ff99ae8c8 5268 |
|
23-Apr-2009 |
abobrov |
- fix regression introduced by the fix for issue 3773 in revision 5243.
- fix task scheduler completed tasks cleanup.
- fix task scheduler retention time calculation.
- fix task scheduler to no longer throw alerts if recurring task is not found when scheduling next iteration and remove related alert messages.
- fix recurring task unit test to be less prone to timing issues by scheduling test tasks way ahead. |
dec6f5aa3902d0bee4037eea1ac6bd70fe467634 5250 |
|
17-Apr-2009 |
abobrov |
- move notice messages where they belong. |
a41f848acd03788c4520acd913d94e879258e860 5248 |
|
17-Apr-2009 |
abobrov |
- reject tasks with missing dependencies. |
d8ef9e002980c16b5a67b868ed54807fe9f514f6 5054 |
|
09-Mar-2009 |
matthew_swift |
Fix issue 3832 - Provide ergonomics style settings for common server properties |
9ea3664b1102924ee3f9b1d2f3fb0cc66b8b484d 4962 |
|
07-Feb-2009 |
sin |
Fix for issue#3391:Custom DIT Structure Rules are not added in 99-user.ldif but in 03-uddiv3.ldif |
0ae33345ea24f12b75d1f63da238f2f846bcf654 4782 |
|
19-Dec-2008 |
abobrov |
- [Issue 3674] Task backend should support backup and export |
c8d962c30776d1b772e3f4d0c72760bd05f68647 4759 |
|
15-Dec-2008 |
abobrov |
- [Issue 274] Recurring Tasks |
a691114433f9864977a4c19cfdd677334bab6d7d 4566 |
|
03-Nov-2008 |
lutoff |
Fix for issues 3509, 3510, 3538, 3539 and 3542 (typos in messages catalog) |
d319724fed3be916a9f68676aac6eb203d44b551 4543 |
|
29-Oct-2008 |
chebrard |
Fix 3534: Provide native Solaris packages (fix also 3533: upgrade fails starting server adding entry ds-cfg-key-id) |
a395dd575518d9e5280fc5d5d5ef47c61b174647 3864 |
|
12-Feb-2008 |
ludovicp |
Updated the copyright statement to reflect that Sun owns the full copyright on the project files. |
dd905cbb37025ade566aab4c5d76e5f4ec9e30fe 3773 |
|
28-Jan-2008 |
abobrov |
- [Issue 2232] Log a message when taking the backend offline:
Log an informational message upon JEB finalization. |
32ae71dc042a0705476818a67d5abcebf52689b9 3496 |
|
26-Nov-2007 |
lfrost |
Fix for Issue #1961 (reviewed by Josu)
* Remove instances of "Specifies the..."
* Remove instances of "Indicates that..."
* Reword instances of "Specifies to..." (which doesn't really make
sense anyway)
* Change instances of "This utility may be used..." to "This utility
can be used..." as discussed in a previous issue
* Change some erroneous instances of "may" to "might" or "can". This
might sound like a pointless change but it has implications for
localization - "may" is generally ambiguous. |
6442e5c6b528c4687713f9d453dc5ee08785fb51 3287 |
|
10-Oct-2007 |
david_page |
issue 466 (partial)
remove redundant server property BACKUP_PROPERTY_CIPHER_ALGORITHM
The cipher algorithm used is encoded in the backup data prologue. |
09b733040119bc8ee3bccec14c115f3f486d3ac4 3206 |
|
26-Sep-2007 |
neil_a_wilson |
Update the backend API to include new isIndexed methods that can be used to
determine whether a given attribute is indexed in a specified manner, or that
can be used to determine whether a specified filter is indexed. At present,
all backends except the JE backend and the replication backend are considered
always indexed for all operations. The JE backend is only considered indexed
based on its index configuration. The replication backend is never considered
indexed.
Update the following components to make use of this new isIndexed capability:
- The DSEE-compatible access control handler will now log a warning message at
startup if it detects that there is no presence index for the aci attribute,
which can make startup take a long time on a big database.
- The group manager will now log a warning message at startup if any of the
group implementation filters are unindexed, which can make startup take a
long time on a big database.
- The referential integrity plugin now requires that all of the attributes for
which referential integrity is to be maintained must be configured with
equality indexes.
- The unique attribute plugin now requires that all of the attributes for which
uniqueness is to be enforced must be configured with equality indexes.
This commit also updates the LDIF backend so that it is possible to
indicate via configuration whether its base DNs should be registered as public
or private base DNs. The LDIF backend used as the admin root has been
updated so that it is considered a private backend. The replication backend
has also been updated so that it is considered a private backend. |
463dea1f8603b9ce977ddc146aa30c46e40c2175 3205 |
|
26-Sep-2007 |
coulbeck |
Implement Get Symmetric Key Extended Operation for crypto manager symmetric key distribution. |
df78b789855f18922262b05a664a7d737cc6f70e 3160 |
|
23-Sep-2007 |
neil_a_wilson |
Add support for an LDIF backend. Entries in this backend will be held in
memory, and all read operations will be served from memory, but the underlying
data will be stored in an LDIF file on disk and any write operation will cause
that LDIF file to be updated.
This backend supports all major operations, including moving/renaming non-leaf
entries with the modify DN operation, and also supports the subtree delete
control and LDIF import and export operations. Backup and restore operations
are not currently supported. |
efa1a18bb5c0a0062a0205286ad9360472ad86d7 2992 |
|
07-Sep-2007 |
coulbeck |
Handle the base DN of the trust store backend properly, taking it from the configuration entry instead of hard-wiring it. |
9e83055d5f0842b5ef891ae836826776b5060add 2966 |
|
05-Sep-2007 |
coulbeck |
Enable replication session authentication.
- Adds a thread to synchronize the server instance certificates from the admin data branch to the local trust store backend.
- Replaces the blind trust managers in the replication session with trust managers that use the local trust store.
Note that replication must be configured using either setup-gui or the dsreplication command. |
52867003bf09a12f814bf427e6f7e2fa34016d03 2955 |
|
05-Sep-2007 |
neil_a_wilson |
Implement support for delete and modify operations in the task backend as
follows:
- Pending tasks and completed tasks may be deleted. Running tasks may not be
deleted.
- Any attributes in pending tasks may be modified.
- Only the task state in running tasks may be modified, and only to cancel the
task.
- No attributes of a completed task may be modified.
OpenDS Issue Number: 2181 |
5fc3f6aeb6d23f3b163a677519105469cb6defee 2891 |
|
31-Aug-2007 |
kenneth_suter |
throw exceptions for backend operations when initialization fails |
801cd264752a07453c37da6f30cc5b27ae3f6f42 2829 |
|
28-Aug-2007 |
coulbeck |
Changes for replication security issues 511, 512, 608.
There is a new backend representing the certificate trust store, which allows the setup code to query and populate the trust store over protocol. However, we are using blind trust until that piece of the setup code is ready.
The encryption settings are currently global to the server instance in a new crypto manager config entry. Authentication will always be performed so the main setting is whether to use encryption or not. In the future (post 1.0) we will need to allow encryption to be configured on or off depending on which replication server we are connecting to but we need some discussion on the best way to specify that in configuration. |
8c6a14e9610d08491d2e2415c0c603441ddb4968 2677 |
|
17-Aug-2007 |
kenneth_suter |
New tests for messaging plumbing to replace old ones:
- Format string cannot end with '.' (QUICKSETUP and ADMIN_TOOLS excluded)
- Categories cannot span multiple files and files cannot define messages in multiple categories
Addional methods for MessageDescriptorRegistry to access descriptors by defining class
Corrected some offending format strings
Corrected message property file boilerplates and help comments |
8aa517a976c8407ed43dc4fd89e9dc887c9f2d9c 2648 |
|
16-Aug-2007 |
neil_a_wilson |
Correct a number of spelling errors identified in the message files. |
53247d28ba99538f841a13ea2cde01c3faa3ef36 2641 |
|
15-Aug-2007 |
kenneth_suter |
This commit is a step toward getting OpenDS internationalized. There are still issues to be resolved before we can declare that we are internationalized but this commit covers the bulk of changes needed at this time.
In general this commit converts any string values that might potentially be shown to an end user (client or administrator) to a new class called Message. This includes exception messages, error log messages, alert and email text, labels, and CLI output. Message's main interface includes methods for rendering itself as a string in the default locale using toString() or a specified locale toString(Locale). In addition to addressing localization, this would allow us to potentially support controls allowing clients to set a preferred locale for server communication or output log messages in different languages. Message extends CharSequence so it can be used in some places where strings are currently used with not code change (e.g. writing to a buffer) as well as allowing messages to be composed of one another.
In order to create localized messages, instead of adding them to the *Messages.java class, you define them in the corresponding properties files. In general the property file keys are used to derive the new messages severity, category, and ordinal. There are directives that can be used in the properties file in order to avoid doing this however. For instance all the properties files used internally include the 'global.category' directive at the top of the file that instructs the generator to make all the following message belong to a single category. So for internal messages the property value key will be as follows:
[SEVERITY]_[DESCRIPTION]_[ORDINAL]
See the properties files themselves for more information.
Once your messages are in the properties file you can use the ant target 'generatemessages' to create create MessageDescriptor objects that are referred to in the Java code. In the code you might think of these objects as replacing the int-valued message IDs. To create messages you call MessageDescriptor.get() which replaces MessageHandler.getMessage(). It might be helpful then to try to define your messages before referring to them in your code since until you run 'generatemessages' you won't have any Java-code with with to create your message objects.
In order to support non-localizable text in messages (host names, DN's, etc.) Message's can be created from String values by calling Message.raw(String). In this way it is also possible to circumvent the intention of changing the APIs to use Message objects instead of Strings which is to support writing of localizable messages. This method is currently used in the code as a crutch for areas of the code that need internationalization (tagged with a 'TODO: i18n' comment). It might also be used by 3rd party developers that don't intend to localize their products. However for internal use we should not be using this method to create Messages for text that is locale sensitive.
Additionally this code includes a MessageBuilder that can be used in much the same way that a StringBuilder can be used. It has a method toMessage() that can be used to generate a message object when needed. At this time this method just converts the buffer contents to a raw, unlocalizable message so this will need to addressed in the future.
Some other issues:
- While all of the unit tests pass after this commit, there may be issues in the code where we have no or minimal test coverage. This includes much of the setup and GUI tools packages for which I have not done any testing but will begin after this commit.
- The new message related Java sources are contained in package org.opends.messages and organized in a new module src/module modeled somewhat after the admin module:
src/messages/src (non-generated Java source files)
src/messages/generated (generated source files)
src/messages/messages (properties files for messages)
If you run the code from within your IDE you will have to mark all messages/src, messages/generated and messages as source directories.
- To generated the MessageDescriptor files you invoke the 'generatemessages' target.
- If you run the code from within your IDE you will probably ne
- This commit would change the plugin API. Here are the changes caught by DirectoryServerPluginTestCase:
doShutdown(String)->doShutdown(Message)
doPostDisconnect(PostDisconnectPluginResult,ClientConnection,DisconnectReason,int,String) -> doPostDisconnect(PostDisconnectPluginResult,ClientConnection,DisconnectReason,Message);
- This commit aligns the entire code-base behind the new Formatter class (printf style formattings like %s) as opposed to the older MessageFormat style (using curly braces for message arguments). This allows us to provide more type safety for message arguments. So for instance you can include a %c argument specifier in your format string and the MessageDescriptor will enforce specification of a Character as message creation time.
- Not all of the config framework has not been converted to use Messages. Perhaps as some point we might have a 'message' syntax for locale-sensitive textural data. I'm sure Matt will have ideas about this.
- In addition to Message, MessageDescriptor and MessageBuilder, the org.opends.server.message package includes enums for Category and Severity that replace the definitions formerly found in MessageHandler.
- The interface for the ErrorLogger has been simplified to allow logging of messages using a single Message parameter. The severity and category of the message will be derived from the Message itself instead of specified as arguments when a message is logged.
- I will provide more documentation about this plumbing on the Wiki shortly.
- I will expand on the included tests soon. |