Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ActivityWatch/aw-server-rust
/ functions
Functions
516 in github.com/ActivityWatch/aw-server-rust
⨍
Functions
516
◇
Types & classes
79
Method
from
(re: Regex)
aw-transform/src/classify.rs:86
Method
from_json
Parse rules from a JSON string (as stored in settings).
aw-datastore/src/privacy_filter.rs:141
Method
get_buckets
(&self)
aw-datastore/src/datastore.rs:459
Method
get_event
( &mut self, conn: &Connection, bucket_id: &str, event_id: i64, )
aw-datastore/src/datastore.rs:698
Method
get_event_count
( &self, conn: &Connection, bucket_id: &str, starttime_opt: Option<DateTime<Ut
aw-datastore/src/datastore.rs:885
Method
get_events_unclipped
( &mut self, conn: &Connection, bucket_id: &str, starttime_opt: Option<DateTim
aw-datastore/src/datastore.rs:867
Method
get_key_value
(&self, conn: &Connection, key: &str)
aw-datastore/src/datastore.rs:972
Method
get_key_values
( &self, conn: &Connection, pattern: &str, )
aw-datastore/src/datastore.rs:998
Function
get_nanos
(duration: &chrono::Duration)
aw-models/src/duration.rs:6
Method
get_settings
(&self)
aw-client-rust/src/lib.rs:259
Method
handle
( &self, request: &'r Request<'_>, _: rocket::Data<'r>, )
aw-server/src/endpoints/hostcheck.rs:38
Method
handle
( &self, request: &'r Request<'_>, _: rocket::Data<'r>, )
aw-server/src/endpoints/apikey.rs:60
Method
heartbeat
( &mut self, conn: &Connection, bucket_id: &str, heartbeat: Event, pul
aw-datastore/src/datastore.rs:645
Method
info
(&self)
aw-server/src/endpoints/hostcheck.rs:62
Method
json_schema
(gen: &mut SchemaGenerator)
aw-models/src/tryvec.rs:22
Function
limit_events
( args: Vec<DataType>, _env: &VarEnv, _ds: &Datastore, )
aw-query/src/functions.rs:338
Function
main
()
aw-server/build.rs:3
Function
main
()
aw-server/src/main.rs:75
Function
main
()
aw-models/examples/schema.rs:5
Function
main
()
aw-sync/src/main.rs:140
Function
merge_events_by_keys
( args: Vec<DataType>, _env: &VarEnv, _ds: &Datastore, )
aw-query/src/functions.rs:397
Function
merge_if_vecs
(lhs: Expr_, rhs: Expr_)
aw-query/src/parser.rs:11
Method
migrate_hostname
Migrates all buckets whose hostname is "unknown" or "Unknown" to `new_hostname`. Events are left untouched; only the bucket metadata is updated. Retur
aw-datastore/src/datastore.rs:1082
Method
migrate_test_bucket_names
Migrates all buckets whose name starts with `aw-watcher-android-test` to use `aw-watcher-android` instead. This covers the old debug-build bucket nam
aw-datastore/src/datastore.rs:1122
Method
new
(s: &'a str)
aw-query/src/lexer.rs:95
Method
new
(name: &str)
aw-server/src/config.rs:190
Method
new
(config: &AWConfig)
aw-server/src/endpoints/hostcheck.rs:25
Method
new
(config: &AWConfig)
aw-server/src/endpoints/apikey.rs:42
Method
new
(asset_path: Option<PathBuf>)
aw-server/src/endpoints/mod.rs:25
Method
new
(status: Status, err: String)
aw-server/src/endpoints/util.rs:20
Method
new
( conn: &Connection, migrate_enabled: bool, )
aw-datastore/src/datastore.rs:217
Method
new
( responder: mpsc_requests::RequestReceiver<Command, Result<Response, DatastoreError>>, legacy
aw-datastore/src/worker.rs:105
Method
new
(rules: Vec<PrivacyFilterRule>)
aw-datastore/src/privacy_filter.rs:110
Method
new
(timestamp: DateTime<Utc>, duration: Duration, data: Map<String, Value>)
aw-models/src/event.rs:34
Method
new
(mut vec: Vec<T>)
aw-models/src/tryvec.rs:46
Method
new
(start: DateTime<Utc>, end: DateTime<Utc>)
aw-models/src/timeinterval.rs:26
Method
new
(host: &str, port: u16, name: &str)
aw-client-rust/src/lib.rs:64
Method
new
(host: &str, port: u16, name: &str)
aw-client-rust/src/blocking.rs:40
Method
new
(client_name: &str)
aw-client-rust/src/single_instance.rs:26
Method
new
( regex_str: &str, ignore_case: bool, select_keys: Option<Vec<String>>, )
aw-transform/src/classify.rs:31
Method
new_empty
()
aw-models/src/tryvec.rs:54
Method
new_encrypted
(dbpath: String, key: String, legacy_import: bool)
aw-datastore/src/worker.rs:461
Method
new_from_string
(period: &str)
aw-models/src/timeinterval.rs:30
Method
new_in_memory
(legacy_import: bool)
aw-datastore/src/worker.rs:451
Method
new_with_api_key
( host: &str, port: u16, name: &str, api_key: Option<String>, )
aw-client-rust/src/lib.rs:68
Method
new_with_api_key
( host: &str, port: u16, name: &str, api_key: Option<String>, )
aw-client-rust/src/blocking.rs:44
Method
on_ignite
(&self, rocket: Rocket<rocket::Build>)
aw-server/src/endpoints/hostcheck.rs:69
Method
on_ignite
(&self, rocket: Rocket<rocket::Build>)
aw-server/src/endpoints/apikey.rs:93
Method
on_request
(&self, request: &mut Request<'_>, _: &mut Data<'_>)
aw-server/src/endpoints/hostcheck.rs:79
Method
on_request
(&self, request: &mut Request<'_>, _: &mut Data<'_>)
aw-server/src/endpoints/apikey.rs:103
Function
parse_list
(arg: &str)
aw-sync/src/main.rs:125
Function
parse_start_date
(arg: &str)
aw-sync/src/main.rs:120
Function
period_union
( args: Vec<DataType>, _env: &VarEnv, _ds: &Datastore, )
aw-query/src/functions.rs:556
Function
print
( args: Vec<DataType>, _env: &VarEnv, _ds: &Datastore, )
aw-query/src/functions.rs:128
Function
query_bucket
( args: Vec<DataType>, env: &VarEnv, ds: &Datastore, )
aw-query/src/functions.rs:139
Function
query_bucket_names
( args: Vec<DataType>, _env: &VarEnv, ds: &Datastore, )
aw-query/src/functions.rs:170
Method
refresh_privacy_filter
(&self)
aw-datastore/src/worker.rs:649
Method
rename_bucket
Renames a bucket from `old_id` to `new_id`. Events are left untouched because they reference the integer row ID, not the name. Returns `NoSuchBucket`
aw-datastore/src/datastore.rs:1045
Method
respond_to
(self, _: &Request)
aw-server/src/endpoints/util.rs:29
Function
root_css
(file: PathBuf, state: &State<ServerState>)
aw-server/src/endpoints/mod.rs:69
Function
root_dark
(state: &State<ServerState>)
aw-server/src/endpoints/mod.rs:94
Function
root_favicon
(state: &State<ServerState>)
aw-server/src/endpoints/mod.rs:89
Function
root_fonts
(file: PathBuf, state: &State<ServerState>)
aw-server/src/endpoints/mod.rs:74
Function
root_index
(state: &State<ServerState>)
aw-server/src/endpoints/mod.rs:64
Function
root_js
(file: PathBuf, state: &State<ServerState>)
aw-server/src/endpoints/mod.rs:79
Function
root_logo
(state: &State<ServerState>)
aw-server/src/endpoints/mod.rs:99
Function
root_manifest
(state: &State<ServerState>)
aw-server/src/endpoints/mod.rs:104
Function
root_static
(file: PathBuf, state: &State<ServerState>)
aw-server/src/endpoints/mod.rs:84
Method
schema_name
()
aw-models/src/tryvec.rs:18
Method
send_success
( request: reqwest::RequestBuilder, )
aw-client-rust/src/lib.rs:58
Method
serialize
(&self, serializer: S)
aw-models/src/tryvec.rs:74
Function
serialize_function
( _element: &str, _fun: &functions::QueryFn, _serializer: S, )
aw-query/src/datatype.rs:30
Function
server_info
(config: &State<AWConfig>, state: &State<ServerState>)
aw-server/src/endpoints/mod.rs:109
Function
setting_delete
(state: &State<ServerState>, key: String)
aw-server/src/endpoints/settings.rs:91
Function
setting_get
( state: &State<ServerState>, key: String, )
aw-server/src/endpoints/settings.rs:50
Function
setting_set
( state: &State<ServerState>, key: String, value: Json<serde_json::Value>, )
aw-server/src/endpoints/settings.rs:65
Function
settings_get
( state: &State<ServerState>, )
aw-server/src/endpoints/settings.rs:24
Function
setup_test
TODO: Find a way to reuse this (previously used in an integration test)
aw-sync/tests/sync.rs:213
Function
sort_by_duration
( args: Vec<DataType>, _env: &VarEnv, _ds: &Datastore, )
aw-query/src/functions.rs:319
Function
sort_by_timestamp
( args: Vec<DataType>, _env: &VarEnv, _ds: &Datastore, )
aw-query/src/functions.rs:359
Function
split_url_events
( args: Vec<DataType>, _env: &VarEnv, _ds: &Datastore, )
aw-query/src/functions.rs:524
Function
sum_durations
( args: Vec<DataType>, _env: &VarEnv, _ds: &Datastore, )
aw-query/src/functions.rs:378
Function
tag
( args: Vec<DataType>, _env: &VarEnv, _ds: &Datastore, )
aw-query/src/functions.rs:299
Function
test_all_functions
()
aw-query/tests/query.rs:337
Function
test_allow_normal_window
()
aw-datastore/src/privacy_filter.rs:266
Function
test_api_key_invalid
()
aw-server/src/endpoints/apikey.rs:237
Function
test_api_key_required
()
aw-server/src/endpoints/apikey.rs:192
Function
test_api_key_valid
()
aw-server/src/endpoints/apikey.rs:223
Function
test_api_key_wrong_scheme
()
aw-server/src/endpoints/apikey.rs:251
Function
test_bool
()
aw-query/tests/query.rs:99
Function
test_bucket
()
aw-server/tests/api.rs:32
Function
test_bucket
()
aw-models/src/bucket.rs:46
Function
test_bucket_create_delete
()
aw-datastore/tests/datastore.rs:64
Function
test_bucket_metadata_start_end
()
aw-datastore/tests/datastore.rs:304
Function
test_bucket_scoping
()
aw-datastore/src/privacy_filter.rs:288
Function
test_buckets_created
()
aw-sync/tests/sync.rs:100
Function
test_canonical_events_with_empty_classes
()
aw-client-rust/src/queries.rs:431
Function
test_canonical_events_with_existing_classes
()
aw-client-rust/src/queries.rs:454
Function
test_categorize
()
aw-query/tests/query.rs:374
Function
test_categorize
()
aw-transform/src/classify.rs:222
← previous
next →
301–400 of 516, ranked by callers