Liking cljdoc? Tell your friends :D

common-server.core


add-new-routesclj

(add-new-routes additional-logged-in-routing-set
                additional-logged-out-routing-set)

Adds routes particular for this project

Adds routes particular for this project
sourceraw docstring

chat-websocket-set-aclj

source

chat-wsclj

(chat-ws request)

Connect to websocket

Connect to websocket
sourceraw docstring

conj-new-routesclj

(conj-new-routes routing-set new-routes)

Adds new routes

Adds new routes
sourceraw docstring

email-addressclj

source

email-passwordclj

source

entities-mapclj

source

forgot-passwordclj

(forgot-password request)

Checks if user with sent email exists, and if it does sends reset password code to it

Checks if user with sent email exists, and if it does sends reset password code to it
sourceraw docstring

generate-reset-password-codeclj

(generate-reset-password-code email)

Generates reset password code

Generates reset password code
sourceraw docstring

get-allowed-actionsclj

(get-allowed-actions request)

Get allowed actions for logged in user

Get allowed actions for logged in user
sourceraw docstring

get-allowed-actions-memoclj

source

get-allowed-actions-responseclj

(get-allowed-actions-response request)

Get allowed actions for logged in user response

Get allowed actions for logged in user response
sourceraw docstring

get-chat-historyclj

(get-chat-history usernames)

Get chat history for particular users

Get chat history for particular users
sourceraw docstring

get-chat-usersclj

(get-chat-users request)

Get chat users

Get chat users
sourceraw docstring

get-reportclj

(get-report request)

Generates pdf report and returns it's bytes in response body

/reports?report=table&entity=user&page=-1&language=english /reports?report=table&entity=user&page=1&language=english

/reports?report=single&entity=user&id=0123456789&language=english /reports?report=single&entity=user&id=0123456789&language=english

Generates pdf report and returns it's bytes in response body

/reports?report=table&entity=user&page=-1&language=english
/reports?report=table&entity=user&page=1&language=english

/reports?report=single&entity=user&id=0123456789&language=english
/reports?report=single&entity=user&id=0123456789&language=english
sourceraw docstring

get-websocket-output-fnclj

(get-websocket-output-fn username)

Checks if there is open websocket for particular username if there is websocket and it is open return websocket-output-fn if there is websocket and it's closed or there is no websocket for particular username return nil

Checks if there is open websocket for particular username
if there is websocket and it is open return websocket-output-fn
if there is websocket and it's closed or there is no websocket
 for particular username return nil
sourceraw docstring

logged-in-routing-setclj

source

logged-out-routing-setclj

source

not-authorizedclj

(not-authorized)

If reqeust is unauthorized

If reqeust is unauthorized
sourceraw docstring

not-foundclj

(not-found)

If request is not found

If request is not found
sourceraw docstring

(print-request request)

Prints request map

Prints request map
sourceraw docstring

read-preferencesclj

(read-preferences request)

Read preferences from database and send them back to front end

Read preferences from database and send them back to front end
sourceraw docstring

read-sign-up-role-idsclj

(read-sign-up-role-ids role-names-vector)

Reads role ids for role names passed in vector parameter

Reads role ids for role names passed in vector parameter
sourceraw docstring

remove-websocket-from-setclj

(remove-websocket-from-set username)

Removes websocket for particular username from set

Removes websocket for particular username from set
sourceraw docstring

reset-password-codeclj

(reset-password-code request)

Check if reset password code exists

Check if reset password code exists
sourceraw docstring

reset-password-finalclj

(reset-password-final request)

Checks if reset password code exists and if it does changes password

Checks if reset password code exists and if it does changes password
sourceraw docstring

reset-password-mail-template-pathclj

source

response-to-optionsclj

(response-to-options request)

If request is for OPTIONS

If request is for OPTIONS
sourceraw docstring

routingclj

(routing request)

Routing function

Routing function
sourceraw docstring

routing-fnclj

(routing-fn request)

Routing function that selects right route

Routing function that selects right route
sourceraw docstring

save-chat-messageclj

(save-chat-message {usernames :usernames message :message})

Save chat message to database

Save chat message to database
sourceraw docstring

save-preferencesclj

(save-preferences request)

Saves preferences into database

Saves preferences into database
sourceraw docstring

set-specific-preferences-a-fnclj

source

sign-upclj

(sign-up request)

Sign up new user with given data

Sign up new user with given data
sourceraw docstring

sign-up-rolesclj

source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close