Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 28 of 28 for groupby1 (0.05 seconds)

  1. chainable_api.go

    func (db *DB) Group(name string) (tx *DB) {
    	tx = db.getInstance()
    
    	fields := strings.FieldsFunc(name, utils.IsInvalidDBNameChar)
    	tx.Statement.AddClause(clause.GroupBy{
    		Columns: []clause.Column{{Name: name, Raw: len(fields) != 1}},
    	})
    	return
    }
    
    // Having specify HAVING conditions for GROUP BY
    //
    //	// Select the sum age of users with name jinzhu
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Fri Sep 19 01:49:06 GMT 2025
    - 14.8K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/entity/FessUserTest.java

    public class FessUserTest extends UnitFessTestCase {
    
        @Test
        public void test_getName() {
            // Test with normal user name
            FessUser user = new TestFessUser("testuser", new String[] { "role1" }, new String[] { "group1" }, new String[] { "perm1" });
            assertEquals("testuser", user.getName());
    
            // Test with empty name
            user = new TestFessUser("", new String[] {}, new String[] {}, new String[] {});
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 11.2K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/auth/chain/LdapChainTest.java

            User user = new User();
            user.setName(username);
            user.setPassword(password);
            user.setRoles(new String[] { "role1", "role2" });
            user.setGroups(new String[] { "group1", "group2" });
            return user;
        }
    
        // Test LdapManager implementation
        private static class TestLdapManager extends LdapManager {
            boolean insertCalled = false;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 9.5K bytes
    - Click Count (0)
  4. docs/ftp/README.md

    curve25519-sha256
    ******@****.***
    ecdh-sha2-nistp256
    ecdh-sha2-nistp384
    ecdh-sha2-nistp521
    diffie-hellman-group14-sha256
    diffie-hellman-group16-sha512
    diffie-hellman-group14-sha1
    diffie-hellman-group1-sha1
    ```
    
    `--sftp=cipher-algos=...` specifies the allowed cipher algorithms. 
    If unspecified then a sensible default is used.
    
    Valid values: 
    ```
    aes128-ctr
    aes192-ctr
    aes256-ctr
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue May 07 06:41:25 GMT 2024
    - 7.8K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/sso/oic/OpenIdConnectAuthenticatorTest.java

            assertNull(attributes.get("optional_claim"));
        }
    
        @Test
        public void test_parseJwtClaim_arrayValues() throws IOException {
            final String jwtClaim = "{\"roles\":[\"admin\",\"user\"],\"groups\":[\"group1\",\"group2\"]}";
            final Map<String, Object> attributes = new HashMap<>();
    
            authenticator.parseJwtClaim(jwtClaim, attributes);
    
            assertTrue(attributes.get("roles") instanceof List);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jan 15 12:54:47 GMT 2026
    - 11K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/ldap/LdapUserTest.java

                }
            }, "activityHelper");
    
            String[] groupNames = ldapUser.getGroupNames();
            assertNotNull(groupNames);
            assertEquals(2, groupNames.length);
            assertEquals("group1", groupNames[0]);
            assertEquals("group2", groupNames[1]);
        }
    
        @Test
        public void test_getGroupNames_empty() {
            // Test when no groups match the prefix
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 16.9K bytes
    - Click Count (0)
  7. cmd/sftp-server.go

    	xldap "github.com/minio/pkg/v3/ldap"
    	xsftp "github.com/minio/pkg/v3/sftp"
    	"github.com/pkg/sftp"
    	"golang.org/x/crypto/ssh"
    )
    
    const (
    	kexAlgoDH1SHA1                = "diffie-hellman-group1-sha1"
    	kexAlgoDH14SHA1               = "diffie-hellman-group14-sha1"
    	kexAlgoDH14SHA256             = "diffie-hellman-group14-sha256"
    	kexAlgoDH16SHA512             = "diffie-hellman-group16-sha512"
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 16.5K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/sso/entraid/EntraIdAuthenticatorTest.java

            EntraIdAuthenticator authenticator = new EntraIdAuthenticator();
            // Don't call init() to avoid SsoManager dependency
    
            List<String> initialGroups = new ArrayList<>();
            initialGroups.add("group1");
            List<String> initialRoles = new ArrayList<>();
            initialRoles.add("role1");
            List<String> groupIds = new ArrayList<>();
            groupIds.add("test-group-id");
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 19.3K bytes
    - Click Count (0)
Back to Top