Tim Abbott 
							
						 
					 
					
						
						
							
						
						8179a31dc7 
					 
					
						
						
							
							docs: Delete legacy presence subsystem page.  
						
						 
						
						... 
						
						
						
						Everything on this page is now better explained in the API
documentation for presence. 
						
						
					 
					
						2025-06-19 15:20:15 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Anders Kaseorg 
							
						 
					 
					
						
						
							
						
						c03839f42f 
					 
					
						
						
							
							mypy: Reenable explicit-override for models.  
						
						 
						
						... 
						
						
						
						Signed-off-by: Anders Kaseorg <anders@zulip.com > 
						
						
					 
					
						2024-08-01 17:39:04 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Anders Kaseorg 
							
						 
					 
					
						
						
							
						
						531b34cb4c 
					 
					
						
						
							
							ruff: Fix UP007 Use X | Y for type annotations.  
						
						 
						
						... 
						
						
						
						Signed-off-by: Anders Kaseorg <anders@zulip.com > 
						
						
					 
					
						2024-07-13 22:28:22 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Mateusz Mandera 
							
						 
					 
					
						
						
							
						
						512f4d1476 
					 
					
						
						
							
							presence: Backend implementation of the last_update_id API.  
						
						 
						
						... 
						
						
						
						This builds on top of 016880f54d  which
maintains correct .last_update_id for UserPresence objects; now we add
the related API changes to utilize it. 
						
						
					 
					
						2024-06-06 17:25:54 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Mateusz Mandera 
							
						 
					 
					
						
						
							
						
						0dca8f2a38 
					 
					
						
						
							
							models: New PresenceSequence model and UserPresence.last_update_id col.  
						
						 
						
						... 
						
						
						
						Migration plan:
1. Add NULLable .last_update_id column to UserPresence with default 0
   for new objects.
2. Backfill the value to 0 for old UserPresences, can be done in the
   background while server is running.
3. Make the column non-NULL.
4. Add new model PresenceSequence and create its rows for old realms. 
						
						
					 
					
						2024-06-02 22:08:28 -07:00  
					
					
						 
						
						
							
							
							 
							
							
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Anders Kaseorg 
							
						 
					 
					
						
						
							
						
						73e68050bb 
					 
					
						
						
							
							models: Extract zerver.models.presence.  
						
						 
						
						... 
						
						
						
						Signed-off-by: Anders Kaseorg <anders@zulip.com > 
						
						
					 
					
						2023-12-16 22:08:44 -08:00